| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- using Business.Core.Attributes;
- using Microsoft.EntityFrameworkCore;
- using MongoDB.Bson.Serialization.Attributes;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Domain
- {
- /// <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; }
- }
- }
|