namespace DOAN.Model.BZFM { /// /// 出库记录表 /// [SugarTable("mm_record_outbound")] public class MmRecordOutbound { /// /// 主键ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 出库单号 /// [SugarColumn(ColumnName = "outbound_no")] public string OutboundNo { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "material_code")] public string MaterialCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "material_name")] public string MaterialName { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "supplier_code")] public string SupplierCode { get; set; } /// /// 物料名称 /// [SugarColumn(ColumnName = "supplier_name")] public string SupplierName { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnName = "warehouse_code")] public string WarehouseCode { get; set; } /// /// 仓库名称 /// [SugarColumn(ColumnName = "warehouse_name")] public string WarehouseName { get; set; } /// /// 库位编码 /// [SugarColumn(ColumnName = "location_code")] public string LocationCode { get; set; } /// /// 库位名称 /// [SugarColumn(ColumnName = "location_name")] public string LocationName { get; set; } /// /// 出库数量 /// public decimal Quantity { get; set; } /// /// 计量单位 /// public string Unit { get; set; } /// /// 出库类型 /// [SugarColumn(ColumnName = "transaction_type")] public string TransactionType { get; set; } /// /// 批次号 /// [SugarColumn(ColumnName = "batch_no")] public string BatchNo { get; set; } /// /// 关联订单号 /// [SugarColumn(ColumnName = "order_no")] public string OrderNo { get; set; } /// /// 操作员 /// public string Operator { get; set; } /// /// 备注 /// public string Remarks { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "created_time")] public DateTime? CreatedTime { get; set; } /// /// 工单号(一旦确定,不可更改) /// public string Workorder { get; set; } /// /// 原材料工单号 /// [SugarColumn(ColumnName = "workorder_raw")] public string WorkorderRaw { get; set; } } }