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; }
///
/// 物料编码 = 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; }
///
/// 生产单位
///
[SugarColumn(ColumnName = "PRODUCTUNIT")]
public string? Productunit { 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 decimal? 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 decimal 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; }
///
/// 物料属性
///
[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(IsIgnore = true)] public string? Type { get; set; }
}