using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
///
/// 载具绑定记录主表
///
[SugarTable("wms_carrybind_h")]
public partial class WmsCarrybindH : BaseEntity
{
public WmsCarrybindH()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 租户ID
///
public string? tenant_id { get; set; }
///
/// 所属组织ID
///
public string? org_id { get; set; }
///
/// 载具ID
///
public string? carry_id { get; set; }
///
/// 载具编号
///
public string carry_code { get; set; } = string.Empty;
///
/// 载具名称
///
//public string carry_name { get; set; } = string.Empty;
///
/// dataType
///
public int type { get; set; }
///
/// 载具分类ID
///
public string carrystd_id { get; set; } = string.Empty;
///
/// 载具库位ID
///
public string? location_id { get; set; }
///
/// 载具库位编号
///
public string? location_code { get; set; }
///
/// 子载具ID
///
public string membercarry_id { get; set; } = string.Empty;
///
/// 子载具编号
///
public string membercarry_code { get; set; } = string.Empty;
///
/// 位置
///
public int loc { get; set; }
///
/// 来源单据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; }
///
/// 设备ID
///
public string? ept_id { 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; }
}