using SqlSugar; namespace MES.Service.Modes; /// /// 物料信息 /// [SugarTable("MES_ITEMS")] public class MesItems { /// /// 物料ID /// [SugarColumn(ColumnName = "ID", IsPrimaryKey = true)] public decimal Id { get; set; } /// /// 工厂 /// [SugarColumn(ColumnName = "FACTORY")] public string? Factory { get; set; } /// /// 公司编号 /// [SugarColumn(ColumnName = "COMPANY")] public string? Company { get; set; } /// /// 物料编码 /// [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 = "Safe_Stock")] public double? SafeStock { 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 decimal? 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 string? Fisbatchmanage { get; set; } /// /// 采购单位 /// [SugarColumn(ColumnName = "FPURCHASEUNITID")] public string? Fpurchaseunitid { get; set; } /// /// 创建组织 /// [SugarColumn(ColumnName = "CREATE_ORG")] public decimal? CreateOrg { get; set; } /// /// 使用组织 /// [SugarColumn(ColumnName = "USE_ORG")] public string? UseOrg { 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; } /// /// 物料属性 0=模型,1=按订单拣货,2=按订单装配,3=可选类,4=委外加工件, /// 5=工序委外件,6=虚拟,7=计划,8=系列,9=采购件,10=制造件, /// 11=最终装配件,12=套件,13=工艺,14=低值易耗品,15=商品, /// 16=杂项料品,17=服务,18=资产,19=备件,20=配方, /// 21=重复,22=费用性料品 /// [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 decimal? ItemId { get; set; } /// /// 颜色 /// [SugarColumn(ColumnName = "COLOR_NAME")] public string? ColorName { get; set; } /// /// 设备 /// [SugarColumn(ColumnName = "F_WWC_TEXT8")] public string? FWwcText8 { get; set; } /// /// 功率 /// [SugarColumn(ColumnName = "F_WWC_DECIMAL")] public string? FWwcDecimal { get; set; } /// /// 单小时产能 /// [SugarColumn(ColumnName = "F_WWC_DECIMAL1")] public string? FWwcDecimal1 { get; set; } /// /// 人数 /// [SugarColumn(ColumnName = "F_WWC_DECIMAL2")] public string? FWwcDecimal2 { get; set; } /// /// 人工小时工资 /// [SugarColumn(ColumnName = "F_WWC_DECIMAL3")] public string? FWwcDecimal3 { get; set; } /// /// 人工定额 /// [SugarColumn(ColumnName = "F_WWC_DECIMAL4")] public string? FWwcDecimal4 { get; set; } /// /// 标准产能 /// [SugarColumn(ColumnName = "FBCN")] public string? Fbcn { get; set; } /// /// 钢网 /// [SugarColumn(ColumnName = "FGW")] public string? Fgw { get; set; } /// /// 治具 /// [SugarColumn(ColumnName = "FYJ")] public string? Fyj { get; set; } /// /// 设备 /// [SugarColumn(ColumnName = "FSB")] public string? Fsb { get; set; } /// /// 图号 /// [SugarColumn(ColumnName = "F_WWC_TEXT1")] public string? FWwcText1 { get; set; } /// /// 模具编号 /// [SugarColumn(ColumnName = "F_WWC_TEXT2")] public string? FWwcText2 { get; set; } /// /// 模具出数 /// [SugarColumn(ColumnName = "F_WWC_TEXT3")] public string? FWwcText3 { get; set; } /// /// 注塑周期 /// [SugarColumn(ColumnName = "F_WWC_TEXT4")] public string? FWwcText4 { get; set; } /// /// 单双色 /// [SugarColumn(ColumnName = "F_WWC_TEXT5")] public string? FWwcText5 { get; set; } /// /// 注塑件吨位 /// [SugarColumn(ColumnName = "F_WWC_TEXT6")] public string? FWwcText6 { get; set; } /// /// 外部料号 /// [SugarColumn(ColumnName = "CATALOG_NO")] public string? CatalogNo { get; set; } /// /// 领料单位 /// [SugarColumn(ColumnName = "MATERIAL_OUT_UOMID")] public string? MaterialOutUomid { get; set; } /// /// 生产部门 /// [SugarColumn(ColumnName = "PUB_DESC_SEG38")] public string? PubDescSeg38 { get; set; } /// /// 项目(研发) /// [SugarColumn(ColumnName = "DESCRIPTION")] public string? Description { get; set; } /// /// 项目(报表) /// [SugarColumn(ColumnName = "PRIVATE_DESC_SEG4")] public string? PrivateDescSeg4 { get; set; } /// /// 报表项目(汇总) /// [SugarColumn(ColumnName = "PRIVATE_DESC_SEG9")] public string? PrivateDescSeg9 { get; set; } /// /// 双数量 /// [SugarColumn(ColumnName = "IS_DUAL_QUANTITY")] public string? IsDualQuantity { get; set; } /// /// 双单位 /// [SugarColumn(ColumnName = "IS_DUAL_UOM")] public string? IsDualUom { get; set; } /// /// 多单位 /// [SugarColumn(ColumnName = "IS_MULTY_UOM")] public string? IsMultyUom { get; set; } /// /// 固定转换率 /// [SugarColumn(ColumnName = "IS_VAR_RATIO")] public string? IsVarRatio { get; set; } /// /// 转换率策略 /// [SugarColumn(ColumnName = "CONVER_RATIO_RULE")] public string? ConverRatioRule { get; set; } /// /// 标准库周 /// [SugarColumn(ColumnName = "PRIVATE_DESC_SEG11")] public string? PrivateDescSeg11 { get; set; } /// /// 品牌分类 /// [SugarColumn(ColumnName = "PRIVATE_DESC_SEG7")] public string? PrivateDescSeg7 { get; set; } /// /// BU(业务单元) /// [SugarColumn(ColumnName = "PRIVATE_DESC_SEG2")] public string? PrivateDescSeg2 { get; set; } /// /// BU(业务单元) /// [SugarColumn(ColumnName = "DOCUMENT_STATUS")] public string? DocumentStatus { get; set; } /// /// 是否生效 /// [SugarColumn(ColumnName = "FORBID_STATUS")] public string? ForbidStatus { get; set; } /// /// 旧物料编码 /// [SugarColumn(ColumnName = "Old_ITEM_NO")] public string? OldItemNo { get; set; } /// /// 采购业务员 /// [SugarColumn(ColumnName = "MERCHANDISER")] public string? Merchandiser { get; set; } /// /// 仓管员 /// [SugarColumn(ColumnName = "WAREHOUSEKEEPER")] public string? WarehouseKeeper { get; set; } }