| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Business.Core.Attributes;
- using Microsoft.EntityFrameworkCore;
- using MongoDB.Bson.Serialization.Attributes;
- using System.ComponentModel.DataAnnotations;
- namespace Business.Domain
- {
- /// <summary>
- /// 工艺路径表
- /// </summary>
- [CollectionName("dopbase", "mo_mes_technique")]
- [Comment("工艺路径表")]
- public class mo_mes_technique : MoBaseEntity
- {
- ///// <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>
- [Required]
- [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; }
- }
- }
|