namespace DOAN.Model.BZFM { /// /// 入库记录表 /// [SugarTable("mm_record_inbound")] public class MmRecordInbound { /// /// 计量单位 /// public string Unit { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 备注 /// public string Remarks { get; set; } /// /// 操作员 /// public string Operator { get; set; } /// /// 炉号 /// [SugarColumn(ColumnName = "stove_code")] public string StoveCode { get; set; } /// /// 供应商名称 /// [SugarColumn(ColumnName = "supplier_name")] public string SupplierName { get; set; } /// /// 供应商编码 /// [SugarColumn(ColumnName = "supplier_code")] public string SupplierCode { get; set; } /// /// 有效期至 /// [SugarColumn(ColumnName = "expiry_date")] public DateTime? ExpiryDate { get; set; } /// /// 生产日期 /// [SugarColumn(ColumnName = "production_date")] public DateTime? ProductionDate { get; set; } /// /// 批次号 /// [SugarColumn(ColumnName = "batch_no")] public string BatchNo { get; set; } /// /// 入库类型 /// [SugarColumn(ColumnName = "transaction_type")] public string TransactionType { get; set; } /// /// 主键ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 入库数量 /// public decimal Quantity { get; set; } /// /// 库位名称 /// [SugarColumn(ColumnName = "location_name")] public string LocationName { get; set; } /// /// 库位编码 /// [SugarColumn(ColumnName = "location_code")] public string LocationCode { get; set; } /// /// 仓库名称 /// [SugarColumn(ColumnName = "warehouse_name")] public string WarehouseName { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnName = "warehouse_code")] public string WarehouseCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "material_name")] public string MaterialName { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "material_code")] public string MaterialCode { get; set; } /// /// 入库单号 /// [SugarColumn(ColumnName = "inbound_no")] public string InboundNo { get; set; } /// /// 工单号(一旦确定,不可更改) /// public string Workorder { get; set; } } }