using SqlSugar; using System; using System.Collections.Generic; using System.Text; #region << 版 本 注 释 >> /*-------------------------------------------------------------------- * 版权所有 (c) 2024 WenJY 保留所有权利。 * CLR版本:4.0.30319.42000 * 机器名称:LAPTOP-E0N2L34V * 命名空间:SlnMesnac.Model.domain * 唯一标识:824938ce-516b-4891-95f3-428dc0e74880 * * 创建者:WenJY * 电子邮箱:wenjy@mesnac.com * 创建时间:2024-04-08 10:32:45 * 版本:V1.0.0 * 描述: * *-------------------------------------------------------------------- * 修改人: * 时间: * 修改说明: * * 版本:V1.0.0 *--------------------------------------------------------------------*/ #endregion << 版 本 注 释 >> namespace SlnMesnac.Model.domain { /// /// 物料信息 /// [SugarTable("mes_base_material_info"), TenantAttribute("mes")] public class BaseMaterialInfo { /// /// 主键标识 /// [SugarColumn(ColumnName = "material_id", IsPrimaryKey = true, IsIdentity = true)] public long MaterialId { get; set; } /// /// ERP的主键;对应FMATERIALID /// [SugarColumn(ColumnName = "erp_id")] public long ErpId { get; set; } /// /// 物料编码;对应ERP的FNumber /// [SugarColumn(ColumnName = "material_code")] public string MaterialCode { get; set; } /// /// 旧物料编码 /// [SugarColumn(ColumnName = "old_material_code")] public string OldMaterialCode { get; set; } /// /// 物料名称;对应ERP的FName /// [SugarColumn(ColumnName = "material_name")] public string MaterialName { get; set; } /// /// 物料大类(1,原材料 2,半成品 3,成品) /// [SugarColumn(ColumnName = "material_categories")] public string MaterialCategories { get; set; } /// /// 物料小类;暂时不使用,预留 /// [SugarColumn(ColumnName = "material_subclass")] public string MaterialSubclass { get; set; } /// /// 物料类型,关联mes_base_material_type的material_type_id /// [SugarColumn(ColumnName = "material_type_id")] public int? MaterialTypeId { get; set; } /// /// 批次标识,(0否,1是) /// [SugarColumn(ColumnName = "batch_flag")] public string BatchFlag { get; set; } /// /// 计量单位ID;对应FBaseUnitId /// [SugarColumn(ColumnName = "material_unit_id")] public long? MaterialUnitId { get; set; } /// /// 计量单位名称 /// [SugarColumn(ColumnName = "material_unit")] public string MaterialUnit { get; set; } /// /// 物料组 /// [SugarColumn(ColumnName = "material_matkl")] public string MaterialMatkl { get; set; } /// /// 物料规格;对应FSpecification /// [SugarColumn(ColumnName = "material_spec")] public string MaterialSpec { get; set; } /// /// 净重;FNETWEIGHT /// [SugarColumn(ColumnName = "net_weight")] public decimal? NetWeight { get; set; } /// /// 毛重;FGROSSWEIGHT /// [SugarColumn(ColumnName = "gross_weight")] public decimal? GrossWeight { get; set; } /// /// 所属工厂,关联mes_base_factory_info的factory_id /// [SugarColumn(ColumnName = "factory_id")] public int? FactoryId { get; set; } /// /// 创建组织;对应FCreateOrgId /// [SugarColumn(ColumnName = "create_org_id")] public long? CreateOrgId { get; set; } /// /// 使用组织;对应FUseOrgId /// [SugarColumn(ColumnName = "use_org_id")] public long? UseOrgId { get; set; } /// /// 所属产线;多个用,隔开 /// [SugarColumn(ColumnName = "prodline_id")] public string ProdlineId { get; set; } /// /// 激活标识:1-是;0-否 /// 默认值: 1 /// [SugarColumn(ColumnName = "active_flag")] public string ActiveFlag { get; set; } /// /// 删除标识(0否,1是) /// [SugarColumn(ColumnName = "deleted_flag")] public string DeletedFlag { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "create_by")] public string CreateBy { get; set; } /// /// 创建时间;对应FCreateDate /// [SugarColumn(ColumnName = "create_time")] public DateTime? CreateTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "update_by")] public string UpdateBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime? UpdateTime { get; set; } /// /// 审核日期;对应FApproveDate /// [SugarColumn(ColumnName = "approve_date")] public DateTime? ApproveDate { get; set; } /// /// erp最后更新日期;对应FModifyDate /// [SugarColumn(ColumnName = "erp_modify_date")] public DateTime? ErpModifyDate { get; set; } } }