using SqlSugar; namespace MES.Service.Modes; /// /// 物料信息 /// [SugarTable("MES_ITEMS")] public class MesItems { /// /// [SugarColumn(ColumnName = "guid", IsPrimaryKey = true)] public Guid Guid { get; set; } /// /// 物料ID /// [SugarColumn(ColumnName = "id")] public decimal Id { get; set; } /// /// 工厂 /// [SugarColumn(ColumnName = "factory")] public string? Factory { get; set; } /// /// 公司编号 /// [SugarColumn(ColumnName = "company")] public string? Company { get; set; } /// /// 物料编码 = ERP物料编号||颜色编号 /// [SugarColumn(ColumnName = "item_no")] public string? ItemNo { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "item_name")] public string? ItemName { get; set; } /// /// 物料简称 /// [SugarColumn(ColumnName = "item_sname")] public string? ItemSname { get; set; } /// /// 规格型号 /// [SugarColumn(ColumnName = "item_model")] public string? ItemModel { get; set; } /// /// 物料描述 /// [SugarColumn(ColumnName = "item_description")] public string? ItemDescription { get; set; } /// /// 物料单位 /// [SugarColumn(ColumnName = "item_unit")] public string? ItemUnit { get; set; } /// /// 物料类型 /// [SugarColumn(ColumnName = "item_type")] public string? ItemType { get; set; } /// /// 产品版本 /// [SugarColumn(ColumnName = "item_version")] public string? ItemVersion { get; set; } /// /// 客户编号 /// [SugarColumn(ColumnName = "cust_no")] public string? CustNo { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "create_by")] public string? CreateBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "create_date")] public DateTime? CreateDate { get; set; } /// /// 最后更新人 /// [SugarColumn(ColumnName = "lastupdate_by")] public string? LastupdateBy { get; set; } /// /// 最后更新时间 /// [SugarColumn(ColumnName = "lastupdate_date")] public DateTime? LastupdateDate { get; set; } /// /// 最低库存 /// [SugarColumn(ColumnName = "lowlimit")] public double? Lowlimit { get; set; } /// /// 最大库存 /// [SugarColumn(ColumnName = "highlimit")] public double? Highlimit { get; set; } /// /// 最小包装数 /// [SugarColumn(ColumnName = "prd_pack")] public double? PrdPack { get; set; } /// /// 订单单位 /// [SugarColumn(ColumnName = "orderunit")] public string? Orderunit { get; set; } /// /// 销售单位 /// [SugarColumn(ColumnName = "saleunit")] public string? Saleunit { get; set; } /// /// 库房单位 /// [SugarColumn(ColumnName = "storeunit")] public string? Storeunit { get; set; } /// /// 物料ID /// [SugarColumn(ColumnName = "e_item_id")] public long? EItemId { get; set; } /// /// ERP料号 /// [SugarColumn(ColumnName = "erp_item_no")] public string? ErpItemNo { get; set; } /// /// 默认仓库 /// [SugarColumn(ColumnName = "depot_code")] public string? DepotCode { get; set; } /// /// 物料分类编号 /// [SugarColumn(ColumnName = "ppbom00019124")] public string? Ppbom00019124 { get; set; } /// /// 物料分组 /// [SugarColumn(ColumnName = "remarks")] public string? Remarks { get; set; } /// /// 采购员 /// [SugarColumn(ColumnName = "fpurchaserid")] public string? Fpurchaserid { get; set; } /// /// 禁用状态 /// [SugarColumn(ColumnName = "fforbidstatus")] public string? Fforbidstatus { get; set; } /// /// 物料分组 /// [SugarColumn(ColumnName = "fmaterialgroup")] public string? Fmaterialgroup { get; set; } /// /// 完工超收比例 /// [SugarColumn(ColumnName = "ffinishreceiptoverrate")] public decimal? Ffinishreceiptoverrate { get; set; } /// /// 发料方式 /// [SugarColumn(ColumnName = "fissuetype")] public string? Fissuetype { get; set; } /// /// 启用批号管理 /// [SugarColumn(ColumnName = "fisbatchmanage")] public int? Fisbatchmanage { get; set; } /// /// 采购单位 /// [SugarColumn(ColumnName = "fpurchaseunitid")] public decimal Fpurchaseunitid { get; set; } /// /// 损耗率 /// [SugarColumn(ColumnName = "loss_percent")] public string? LossPercent { get; set; } /// /// 助记码 /// [SugarColumn(ColumnName = "mnemonic_code")] public string? MnemonicCode { get; set; } /// /// 保质期 /// [SugarColumn(ColumnName = "exp_period")] public string? ExpPeriod { get; set; } /// /// 生产车间 /// [SugarColumn(ColumnName = "production_workshop")] public string? ProductionWorkshop { get; set; } /// /// 物料属性 /// [SugarColumn(ColumnName = "material_properti")] public string? MaterialProperti { get; set; } /// /// 生产单位 /// [SugarColumn(ColumnName = "produce_unit")] public string? ProduceUnit { get; set; } /// /// 委外单位 /// [SugarColumn(ColumnName = "subcon_unit")] public string? SubconUnit { get; set; } /// /// 图片1 /// [SugarColumn(ColumnName = "bz06")] public string? Bz06 { get; set; } /// /// 图片2 /// [SugarColumn(ColumnName = "bz07")] public string? Bz07 { get; set; } /// /// 图片3 /// [SugarColumn(ColumnName = "bz08")] public string? Bz08 { get; set; } /// /// 图片4 /// [SugarColumn(ColumnName = "bz09")] public string? Bz09 { get; set; } /// /// 图片5 /// [SugarColumn(ColumnName = "bz10")] public string? Bz10 { get; set; } /// /// QC分组ID /// [SugarColumn(ColumnName = "qc_teamid")] public string? QcTeamid { get; set; } /// /// 物料ID /// [SugarColumn(ColumnName = "item_id")] public long? ItemId { get; set; } /// /// 颜色 /// [SugarColumn(ColumnName = "color_name")] public string? ColorName { get; set; } /// /// 使用組織 /// [SugarColumn(ColumnName = "FSubsidiary")] public string? FSubsidiary { get; set; } /// /// 創建組織 /// [SugarColumn(ColumnName = "Fumbrella")] public string? Fumbrella { get; set; } [SugarColumn(IsIgnore = true)] public string? Type { get; set; } }