using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 预任务申请主表 /// [SugarTable("wms_pretask_h")] public partial class WmsPretaskH : BaseEntity { public WmsPretaskH() { id = SnowflakeIdHelper.NextId(); } /// /// 租户ID /// public string? tenant_id { get; set; } /// /// 所属组织ID /// public string? org_id { get; set; } /// /// 起始库位ID /// public string startlocation_id { get; set; } = string.Empty; /// /// 起始楼层 /// public string? start_floor { get; set; } /// /// 目标库位ID /// public string endlocation_id { get; set; } = string.Empty; /// /// 目标楼层 /// public string? end_floor { get; set; } /// /// 起始点位ID /// public string startpoint_id { get; set; } = string.Empty; /// /// 起始点位编号 /// public string startpoint_code { get; set; } = string.Empty; /// /// 终止点位ID /// public string endpoint_id { get; set; } = string.Empty; /// /// 终止点位编号 /// public string endpoint_code { get; set; } = string.Empty; /// /// 单号 /// public string bill_code { get; set; } = string.Empty; /// /// 单据状态 /// public string status { get; set; } = string.Empty; /// /// 业务类型 /// public string biz_type { get; set; } = string.Empty; /// /// 任务类型 /// public string task_type { get; set; } = string.Empty; /// /// 载具ID /// public string carry_id { get; set; } = string.Empty; /// /// 载具编号 /// public string carry_code { get; set; } = string.Empty; /// /// 路径管理区ID /// public string area_id { get; set; } = string.Empty; /// /// 路径管理区编号 /// public string area_code { get; set; } = string.Empty; /// /// 来源单据ID /// public string? source_id { get; set; } /// /// 来源单据代码 /// public string? source_code { get; set; } /// /// 需求单据ID /// public string? require_id { get; set; } /// /// 需求单据代码 /// public string? require_code { get; set; } /// /// 创建用户 /// public string create_id { get; set; } = string.Empty; /// /// 创建时间 /// public DateTime create_time { get; set; } = DateTime.Now; /// /// 最后修改人员ID /// public string? modify_id { get; set; } /// /// 最后修改时间 /// public DateTime? modify_time { get; set; } /// /// 扩展字段 /// public string? extras { get; set; } /// /// 时间戳(用于并发控制) /// public DateTime? timestamp { get; set; } /// /// 流程任务Id /// public string? f_flowtaskid { get; set; } /// /// 流程引擎Id /// public string? f_flowid { get; set; } /// /// 起始库位编号 /// public string startlocation_code { get; set; } = string.Empty; /// /// 目标库位编号 /// public string endlocation_code { get; set; } = string.Empty; /// /// 优先级 /// public int priority { get; set; } = 0; /// /// 优先级 /// public int is_sign { get; set; } = 1; /// /// 任务属性 /// public string chain_type { get; set; } = "3"; /// /// 备注 /// public string note { get; set; } }