using JNPF.Common.Contracts;
using JNPF.Common.Security;
using SqlSugar;
namespace Tnb.WarehouseMgr.Entities;
///
/// WMS电梯设定主表
///
[SugarTable("wms_elevator_h")]
public partial class WmsElevatorH : BaseEntity
{
public WmsElevatorH()
{
id = SnowflakeIdHelper.NextId();
}
///
/// 所属组织
///
public string? org_id { get; set; }
///
/// 电梯ID
///
public string elevator_id { get; set; } = string.Empty;
///
/// 电梯编号
///
public string elevator_code { get; set; } = string.Empty;
///
/// 管理区ID
///
public string area_id { get; set; } = string.Empty;
///
/// 管理区编号
///
public string area_code { get; set; } = string.Empty;
///
/// 电梯组
///
public string elevator_group { get; set; } = string.Empty;
///
/// 任务数量
///
public int task_nums { get; set; }
///
/// 备注
///
public string? remark { get; set; }
///
/// 创建用户
///
public string create_id { get; set; } = string.Empty;
///
/// 创建时间
///
public DateTime create_time { get; set; } = DateTime.Now;
///
/// 最后修改人员
///
public string? modify_id { get; set; }
///
/// 最后修改时间
///
public DateTime? modify_time { get; set; }
///
/// 扩展字段
///
public string? extras { get; set; }
///
/// 时间戳(用于并发控制)
///
public DateTime? timestamp { get; set; }
///
/// 门状态
///
public int door_status { get; set; }
///
/// 当前电梯所在楼层
///
public int current_floor { get; set; }
///
/// 电梯占用状态
///
public int is_use { get; set; }
}