using SqlSugar;
using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Text;
namespace SlnMesnac.Model.domain
{
[SugarTable("wms_raw_outstock_detail"), TenantAttribute("mes")]
public class WmsRawOutstockDetail
{
///
/// 原材料出库记录明细ID
///
[SugarColumn(ColumnName = "raw_outstock_detail_id", IsPrimaryKey = true, IsIdentity = true)]
public long RawOutstockDetailId { get; set; }
///
/// 原材料出库ID
///
[SugarColumn(ColumnName = "raw_outstock_id")]
public long RawOutstockId { get; set; }
///
/// 原材料出库任务编号
///
[SugarColumn(ColumnName = "task_code")]
public string TaskCode { get; set; }
///
/// 仓库ID,关联仓库主键
///
[SugarColumn(ColumnName = "warehouse_id")]
public long? WarehouseId { get; set; }
///
/// 库位编码
///
[SugarColumn(ColumnName = "location_code")]
public string LocationCode { get; set; }
///
/// 物料条码;最终出库时保存
///
[SugarColumn(ColumnName = "material_barcode")]
public string MaterialBarcode { get; set; }
///
/// 物料ID
///
[SugarColumn(ColumnName = "material_id")]
public long MaterialId { get; set; }
///
/// 批次;扫描条码时,从打印条码记录表中获取
///
[SugarColumn(ColumnName = "instock_batch")]
public string InstockBatch { get; set; }
///
/// 生产日期;扫描条码时,从打印条码记录表中获取
///
[SugarColumn(ColumnName = "material_production_date")]
public DateTime? MaterialProductionDate { get; set; }
///
/// 计划数量
///
[SugarColumn(ColumnName = "plan_amount")]
public decimal PlanAmount { get; set; }
///
/// 出库数量
///
[SugarColumn(ColumnName = "outstock_amount")]
public decimal? OutstockAmount { get; set; }
///
/// 执行状态(0待执行,1执行中,2执行完成)
///
[SugarColumn(ColumnName = "execute_status")]
public string ExecuteStatus { get; set; }
///
/// 同步ERP状态(0:失败,1成功);此字段不用
///
[SugarColumn(ColumnName = "erp_status")]
public string ErpStatus { get; set; }
///
/// 同步给ERP的数量;此字段不用
///
[SugarColumn(ColumnName = "erp_amount")]
public decimal? ErpAmount { get; set; }
///
/// 出库人
///
[SugarColumn(ColumnName = "outstock_person")]
public string OutstockPerson { get; set; }
///
/// 出库时间
///
[SugarColumn(ColumnName = "outstock_time")]
public DateTime? OutstockTime { get; set; }
///
/// 出库方式(1:人工出库 2:AGV出库 )
///
[SugarColumn(ColumnName = "outstock_way")]
public string OutstockWay { get; set; }
///
/// 使用机台名称;出库扫描条码时,从打印条码记录表中获取
///
[SugarColumn(ColumnName = "machine_name")]
public string MachineName { get; set; }
///
/// 质检状态(0:待质检,1:合格,2:NG)
///
[SugarColumn(ColumnName = "quality_status")]
public string QualityStatus { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "create_by")]
public string CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "create_date")]
public DateTime? CreateDate { get; set; }
///
/// 最后更新人
///
[SugarColumn(ColumnName = "update_by")]
public string UpdateBy { get; set; }
///
/// 最后更新时间
///
[SugarColumn(ColumnName = "update_date")]
public DateTime? UpdateDate { get; set; }
///
/// 每托数量
///
[SugarColumn(ColumnName = "stack_amount")]
public decimal? StackAmount { get; set; }
}
}