using Business.Core.Attributes; using Business.Model; using Microsoft.EntityFrameworkCore; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.Tech { /// /// 发料到工序表 /// [CollectionName("dopbase", "mes_tech_proc_icitem")] [Comment("发料到工序表")] public class mes_tech_proc_icitem : BaseEntity { ///// ///// 主键 ///// ////[Key] ////[Comment("主键")] ////public long tech_proc_icitem_id { get; set; } /// /// 工艺工序id /// [Required] [Comment("工艺工序id")] public long? tech_proc_id { get; set; } /// /// 物料id /// [Required] [Comment("物料id")] public long? icitem_id { get; set; } /// /// 数量 /// [Required] [Comment("数量")] public int? qty { get; set; } } }