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_accessory")] [Comment("治具表(工装表)")] public class mes_tech_proc_accessory : BaseEntity { ///// ///// 治具主键 ///// //[Key] //[Comment("治具主键")] //public long tech_proc_acc_id { get; set; } /// /// 工艺工序主键 /// [Required] [Comment("工艺工序主键")] public long? tech_proc_id { get; set; } /// /// 工装id /// [Required] [Comment("工装id")] public long? equip_id { get; set; } /// /// 工装编号 /// [Required] [StringLength(100)] [Comment("工装编号")] public string? equip_no { get; set; } /// /// 数量 /// [Required] [Comment("数量")] public int? qty { get; set; } } }