using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace SlnMesnac.Model.domain { [SugarTable("mes_base_barcode_info"), TenantAttribute("mes")] public partial class MesBaseBarcodeInfo { /// /// Desc:id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "barcode_id")] public long barcodeId { get; set; } /// /// 打印时间 /// [SugarColumn(ColumnName = "print_time")] public DateTime? printTime { get; set; } /// ///打印人 /// [SugarColumn(ColumnName = "print_person")] public string? printPerson { get; set; } /// /// 打印标识(0否1是) /// [SugarColumn(ColumnName = "print_flag")] public string printFlag { get; set; } /// /// 批次标识(0否,1是);在打印时,如果物料已设置,则根据物料的批次信息,如果没有设置则在此需要选择,选择物料等信息保存后同步设置物料信息。 /// [SugarColumn(ColumnName = "batch_flag")] public string batchFlag { get; set; } /// ///条码类型(1原材料,2半成品,3成品,4背板) /// [SugarColumn(ColumnName = "barcode_type")] public string barcodeType { get; set; } /// /// 条码内容;如果是按单个物料贴,则一个物料一个条码,如果是按批次贴,则条码跟批次代码相同 /// [SugarColumn(ColumnName = "barcode_info")] public string barcodeInfo { get; set; } /// /// 批次代码 /// [SugarColumn(ColumnName = "batch_code")] public string batchCode { get; set; } /// ///托盘RFID代码 /// [SugarColumn(ColumnName = "pallet_info_code")] public string palletInfoCode { get; set; } /// /// 绑定的物料条码(用来拆分绑定使用) /// [SugarColumn(ColumnName = "bind_barcode")] public string? bindBarcode { get; set; } /// /// 物料ID,关联mes_base_material_info的material_id /// [SugarColumn(ColumnName = "material_id")] public long? materialId { get; set; } /// ///供应商ID /// [SugarColumn(ColumnName = "manufacturer_id")] public long? manufacturerId { get; set; } /// /// 数量;如果是批次需要输入此字段 /// [SugarColumn(ColumnName = "amount")] public decimal? amount { get; set; } /// /// 成品条码,在四楼成品到五楼作为原材料时需要绑定之前的成品条码 /// [SugarColumn(ColumnName = "product_barcode")] public string? productBarcode { get; set; } /// /// 打印数量 /// [SugarColumn(ColumnName = "print_number")] public int? printNumber { get; set; } /// /// 打印机台名称,打印时获取 /// [SugarColumn(ColumnName = "machine_name")] public string? machineName { get; set; } /// /// 采购订单ID /// [SugarColumn(ColumnName = "purchase_order_id")] public long? purchaseOrderId { get; set; } /// /// 采购订单号;适合原材料入库时 /// [SugarColumn(ColumnName = "po_no")] public string? poNo { get; set; } /// ///生产日期;打印时根据领料单选择输入 /// [SugarColumn(ColumnName = "production_date")] public DateTime? productionDate { get; set; } /// ///接受日期;打印时的系统日期 /// [SugarColumn(ColumnName = "accepted_date")] public DateTime? acceptedDate { get; set; } /// /// 最晚出库日期;可以直接输入,也可以根据日限计算 /// [SugarColumn(ColumnName = "last_outstock_date")] public DateTime? lastOutstockDate { get; set; } /// /// 生产计划编号,关联mes_pd_product_plan的plan_code;适合生产出入库等 /// [SugarColumn(ColumnName = "plan_code")] public string planCode { get; set; } /// /// 生产计划明细编号,关联mes_product_plan_detail的plan_detail_code;适合生产出入库等 /// [SugarColumn(ColumnName = "plan_detail_code")] public string? planDetailCode { get; set; } /// /// 安全库存标识(1是,0否),如果销售订单是0,则此字段是安全库存 /// [SugarColumn(ColumnName = "safe_flag")] public string safeFlag { get; set; } /// /// 销售订单ID /// [SugarColumn(ColumnName = "sale_order_id")] public long? saleOrderId { get; set; } /// /// 销售订单编号;适合生产出入库等 /// [SugarColumn(ColumnName = "saleorder_code")] public string saleorderCode { get; set; } /// /// 项目号 /// [SugarColumn(ColumnName = "project_no")] public string? projectNo { get; set; } /// /// 流水号 /// [SugarColumn(ColumnName = "serial_number")] public string? serialNumber { get; set; } /// /// Desc: /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "remark")] public string? remark { get; set; } /// /// 绑定状态(1绑定,0解绑) /// [SugarColumn(ColumnName = "bind_status")] public string? bindStatus { get; set; } /// /// Desc: /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "bind_by")] public string? bindBy { get; set; } /// /// 绑定托盘时间 /// [SugarColumn(ColumnName = "bind_time")] public DateTime? bindTime { get; set; } /// /// Desc: /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "update_by")] public string? updateBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "update_time")] public DateTime? updateTime { get; set; } /// /// Desc: /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "transferred_plan_detail_code")] public string? transferredPlanDetailCode { get; set; } /// /// 完整表示 /// [SugarColumn(ColumnName = "complete_flag")] public string? completeFlag { get; set; } /// /// Desc: /// Default:0 /// Nullable:False /// [SugarColumn(ColumnName = "single_flag")] public string singleFlag { get; set; } /// /// 物料规格 /// [SugarColumn(ColumnName = "barcode_spec")] public string barcodeSpec { get; set; } } }