using SqlSugar;
namespace WCS.Entity
{
///
/// 码垛位信息表
///
[SugarTable(nameof(WCS_PalletizingLoc), "码垛位信息表")]
public class WCS_PalletizingLoc
{
///
/// Id
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "Id")]
public int Id { get; set; }
///
/// 码垛行信息表Id
///
[SugarColumn(IsNullable = false, ColumnDescription = "码垛位信息表Id")]
public int PalletizingRowId { get; set; }
///
/// 码垛信息表Id
///
[SugarColumn(IsNullable = false, ColumnDescription = "码垛位信息表Id")]
public int PalletizingId { get; set; }
///
/// 任务Id
///
[SugarColumn(IsNullable = false, ColumnDescription = "任务Id")]
public int TaskId { get; set; }
///
/// 任务
///
[Navigate(NavigateType.OneToOne, nameof(TaskId))]
public WCS_TaskInfo TasLInfo { get; set; }
///
/// 是否空置
///
[SugarColumn(IsNullable = false, ColumnDescription = "是否空置")]
public bool IsEmpty { get; set; }
///
/// 坐标号
///
[SugarColumn(IsNullable = false, ColumnDescription = "坐标号")]
public string XYNo { get; set; }
///
/// 所属设备号
///
[SugarColumn(IsNullable = true, ColumnDescription = "所属设备号")]
public string DevCode { get; set; }
///
/// 物料编码
///
[SugarColumn(IsNullable = false, ColumnDescription = "物料编码")]
public string MatCode { get; set; }
///
/// 正反面
///
[SugarColumn(IsNullable = false, ColumnDescription = "正反面")]
public int SideNum { get; set; }
///
/// 工字轮类型
///
[SugarColumn(IsNullable = false, ColumnDescription = "工字轮类型")]
public string SpoolType { get; set; }
///
/// 是否结束
///
[SugarColumn(IsNullable = false, ColumnDescription = "是否结束")]
public bool Finish { get; set; }
///
/// 仓库编号
///
[SugarColumn(ColumnDescription = "仓库编号", IsNullable = true)]
public string WarehouseCode { get; set; }
}
}