using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
///
/// 载具台账主表
///
[SugarTable("wms_carry_h")]
public partial class WmsCarryH : BaseEntity
{
public WmsCarryH()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 租户ID
///
public string? tenant_id { get; set; }
///
/// 所属组织ID
///
public string? org_id { get; set; }
///
/// 载具编号
///
public string carry_code { get; set; } = string.Empty;
///
/// 载具名称
///
public string carry_name { get; set; } = string.Empty;
///
/// 状态
///
public int status { get; set; }
///
/// 载具状态
///
///
//[SugarColumn(ColumnDataType = "varchar(32)", SqlParameterDbType = typeof(CommonPropertyConvert))]
public string carry_status { get; set; }
///
/// 载具分类ID
///
public string carrystd_id { get; set; } = string.Empty;
///
/// 载具库位ID
///
public string? location_id { get; set; }
///
/// 载具库位编号
///
public string? location_code { get; set; }
///
/// 是否锁定
///
public int is_lock { get; set; }
///
/// 出库类型
///
public string out_status { get; set; }
///
/// 检验状态 同质量结果
///
public string is_check { get; set; }
///
/// 来源单据ID
///
public string? source_id { get; set; }
///
/// 来源单据代码
///
public string? source_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; }
///
/// 打包号
///
public string? bale_num { get; set; }
///
/// 齐套搭配方案ID
///
public string? collocation_scheme_id { get; set; }
///
/// 齐套搭配方案编号
///
public string? collocation_scheme_code { get; set; }
///
/// 检验结论
///
public int check_conclusion { get; set; } = 1;
///
/// 配送工位
///
public string? work_station { get; set; }
///
/// 入库时间
///
public DateTime? instock_time { get; set; }
///
/// 转库单ID
///
public string? material_tranfer_billid { get; set; }
///
/// 业务类型(电梯)
///
public string? biz_type { get; set; }
///
/// 需求单据(电梯)
///
public string? require_id { get; set; }
}