using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
///
/// 分拣任务主表
///
[SugarTable("wms_sortingtask")]
public partial class WmsSortingtask : BaseEntity
{
public WmsSortingtask()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 分拣任务单号
///
public string bill_code { get; set; }
///
/// 分拣数量
///
public decimal qty { get; set; }
///
/// 分拣数量
///
public string carry_id { get; set; }
///
/// 分拣指定载具
///
public string carry_code { get; set; }
///
/// 分拣指定库位id
///
public string location_id { get; set; }
///
/// 分拣指定库位
///
public string location_code { get; set; }
///
/// 状态
///
public string status { get; set; }
///
/// 分拣完成时间
///
public DateTime complete_time { get; set; }
///
/// 创建用户
///
public string create_id { get; set; } = string.Empty;
///
/// 创建时间
///
public DateTime create_time { get; set; } = DateTime.Now;
///
/// 转移托盘
///
public int? change_carry { get; set; }
///
/// 新托盘
///
public string? new_carrycode { get; set; }
///
/// 来源单据id
///
public string source_id { get; set; } = string.Empty;
[SugarColumn(IsIgnore = true)]
public string material_id { get; set; }
[SugarColumn(IsIgnore = true)]
public string material_code { get; set; }
[SugarColumn(IsIgnore = true)]
public string material_name { get; set; }
[SugarColumn(IsIgnore = true)]
public string material_specification { get; set; }
[SugarColumn(IsIgnore = true)]
public string code_batch { get; set; }
[SugarColumn(IsIgnore = true)]
public string erp_bill_code { get; set; }
[SugarColumn(IsIgnore = true)]
public string container_no { get; set; }
}