using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
///
/// 点位管理主表
///
[SugarTable("wms_point_h")]
public partial class WmsPointH : BaseEntity
{
public WmsPointH()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 租户ID
///
public string? tenant_id { get; set; }
///
/// 所属组织ID
///
public string? org_id { get; set; }
///
/// 点位代码
///
public string point_code { get; set; } = string.Empty;
///
/// 点位名称
///
public string point_name { get; set; } = string.Empty;
///
/// 库位ID
///
public string? location_id { get; set; }
///
/// 库位编号
///
public string? location_code { get; set; }
///
/// 路径管理区ID
///
public string area_id { get; set; } = string.Empty;
///
/// 路径管理区编号
///
public string area_code { get; set; } = string.Empty;
///
/// 状态
///
public int status { get; set; }
///
/// 是否锁定
///
public int is_lock { get; set; }
///
/// 点位位置X
///
public decimal point_x { get; set; }
///
/// 点位位置Y
///
public decimal point_y { get; set; }
///
/// 点位位置Z
///
public decimal point_z { 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 int floor { get; set; }
}