using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tnb.WarehouseMgr.Entities.Enums; namespace Tnb.WarehouseMgr.Entities.Dto { /// /// 出入库申请修改输入参数 /// public class InOutStockApplyforUpInput { // bill_line,location_id,delivery_date,carry_id,carry_code /// /// 出入库明细Id /// public string? id { get; set; } /// /// 出入库申请类型 1、入库 2、出库 /// public EnumInOutStockType inoutStockType { get; set; } /// /// 所属组织ID /// public string? org_id { get; set; } /// /// 入库单ID /// public string bill_id { get; set; } = string.Empty; /// /// 执行状态 /// public string line_status { get; set; } = string.Empty; /// /// 物品ID /// public string material_id { get; set; } = string.Empty; /// /// 物品代码 /// public string material_code { get; set; } = string.Empty; /// /// 单位ID /// public string unit_id { get; set; } = string.Empty; /// /// 单位代码 /// public string? unit_code { get; set; } /// /// 入库需求数量 /// public int pr_qty { get; set; } /// /// 实际入库数量 /// public int qty { get; set; } /// /// 原因 /// public string? reason { get; set; } /// /// 入库仓库ID /// public string? warehouse_id { get; set; } /// /// 不含税单价 /// public decimal? price { get; set; } /// /// 含税单价 /// public decimal? tax_price { get; set; } /// /// 不含税金额 /// public decimal? amount { get; set; } /// /// 含税金额 /// public decimal? all_amount { get; set; } /// /// 来源单据ID /// public string? source_id { get; set; } /// /// 来源单据代码 /// public string? source_code { get; set; } /// /// 源单单据类型 /// public int? source_type { get; set; } /// /// 来源单据行号 /// public int? source_line { get; set; } /// /// 来源单据明细ID /// public string? source_detail_id { get; set; } /// /// 生产工单号 /// public string? mo_code { get; set; } /// /// 生产工单行号 /// public int? mo_line { get; set; } /// /// 生产工单BOM明细Id /// public string? mo_bom_detail_id { get; set; } /// /// 已打印数量 /// public int print_qty { get; set; } /// /// 扫描数量 /// public decimal scan_qty { get; set; } /// /// 备注 /// public string? remark { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳 /// public DateTime? time_stamp { get; set; } /// /// 创建用户 /// public string? create_id { get; set; } /// /// 创建时间 /// public DateTime? create_time { get; set; } /// /// 修改用户 /// public string? modify_id { get; set; } /// /// 修改时间 /// public DateTime? modify_time { get; set; } /// /// 批次 /// public string? code_batch { get; set; } /// /// 打印模板ID /// public string? print_id { get; set; } /// /// 行号 /// public int bill_line { get; set; } /// /// 库位ID /// public string location_id { get; set; } = string.Empty; /// /// 要求出库日期(销售出库为交期) /// public DateTime delivery_date { get; set; } = DateTime.Now; /// /// 载具ID /// public string? carry_id { get; set; } /// /// 载具编号 /// public string? carry_code { get; set; } public List? InstockCodes { get; set; } public List? OutstockCodes { get; set; } } }