2025-03-26 17:53:13 +08:00

45 lines
1.3 KiB
C#

using SqlSugar;
namespace Seyounth.Hyosung.Data.Entities;
[SugarTable("system_agv_bin", TableDescription = "AGV库位")]
public class AgvBinEntity
{
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
[SugarColumn(ColumnDescription = "库位编码")]
public string BinCode { get; set; }
[SugarColumn(ColumnDescription = "控制编码")]
public string CtnrCode { get; set; }
[SugarColumn(ColumnDescription = "控制类型")]
public int CtnrType { get; set; }
[SugarColumn(ColumnDescription = "库位类型")]
public int RackType { get; set; }
[SugarColumn(ColumnDescription = "是否空闲")]
public bool IsFree { get; set; }
[SugarColumn(ColumnDescription = "库位高度")]
public int Height { get; set; }
[SugarColumn(ColumnDescription = "上次使用时间")]
public DateTime? LastBindTime { get; set; }
[SugarColumn(ColumnDescription = "排序")]
public int Sort { get; set; }
[SugarColumn(IsNullable = true)] public string HeightCode { get; set; }
/// <summary>
/// 是否是第二层
/// </summary>
[SugarColumn(IsNullable = true)]
public bool IsSecondLayer { get; set; } = false;
[SugarColumn(IsNullable = true)] public int BindLot { get; set; } = 0;
public bool IsDeleted { get; set; }
}