using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Business.Model.Production { /// /// 标准物料规格型号设置表 /// [Comment("标准物料规格型号设置表")] [Index(nameof(Model), nameof(tenant_id), nameof(factory_id), IsUnique = true)] public class StandardItemModelSet { /// /// 主键 /// [Comment("主键")] [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public long Id { get; set; } /// /// 规格型号 /// [Comment("规格型号")] public string Model { get; set; } /// /// 物料编码 /// [Comment("物料编码")] public string ItemNumber { get; set; } /// /// 集团id /// [Comment("集团id")] public long tenant_id { get; set; } /// /// 工厂id /// [Comment("工厂id")] public long factory_id { get; set; } /// /// 创建时间 /// [Comment("创建时间")] public DateTime CreateTime { get; set; } } }