| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- using Business.Core.Attributes;
- using Business.Model;
- using Microsoft.EntityFrameworkCore;
- using MongoDB.Bson.Serialization.Attributes;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Model.Tech
- {
- /// <summary>
- /// 工艺路径表
- /// </summary>
- [CollectionName("dopbase", "mes_technique")]
- [Comment("工艺路径表")]
- public class mes_technique : BaseEntity
- {
- ///// <summary>
- ///// 工艺路径主键
- ///// </summary>
- //[Key]
- //[Comment("工艺路径主键")]
- //public long tech_id { get; set; }
- /// <summary>
- /// 工艺路径名称
- /// </summary>
- [Required]
- [StringLength(100)]
- [Comment("工艺路径名称")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? tech_name { get; set; }
- /// <summary>
- /// 效率计算层级
- /// </summary>
- [Comment("效率计算层级")]
- public int? level { get; set; }
- /// <summary>
- /// 产品
- /// </summary>
- [StringLength(100)]
- [Comment("产品")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? bom { get; set; }
- /// <summary>
- /// 产品版本
- /// </summary>
- [StringLength(100)]
- [Comment("产品版本")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? bomver { get; set; }
- /// <summary>
- /// 描述
- /// </summary>
- [StringLength(100)]
- [Comment("描述")]
- [BsonRepresentation(MongoDB.Bson.BsonType.String)]
- public string? desc { get; set; }
- }
- }
|