using JNPF.Common.Contracts; using JNPF.Common.Security; using SqlSugar; namespace Tnb.WarehouseMgr.Entities; /// /// 配送申请表 /// [SugarTable("wms_delivery")] public partial class WmsDelivery : BaseEntity { public WmsDelivery() { 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; } = string.Empty; /// /// 目标库位ID /// public string endlocation_id { get; set; } = string.Empty; /// /// 目标楼层 /// public string end_floor { 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 dis_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? 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; } }