using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core.DB.Models;
namespace WIDESEAWCS_Model.Models
{
///
/// 货位信息
///
[SugarTable(nameof(Dt_LocationInfo), "货位信息")]
public class Dt_LocationInfo : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
public int Id { get; set; }
///
/// 仓库编号
///
[SugarColumn(IsNullable = true, ColumnDescription = "仓库编号")]
public int WarehouseId { get; set; }
///
/// 货位编号
///
[SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "货位编号")]
public string LocationCode { get; set; }
///
/// 货位名称
///
[SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "货位名称")]
public string LocationName { get; set; }
///
/// 巷道编号
///
[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "巷道编号")]
public string RoadwayNo { get; set; }
///
/// 货位行
///
[SugarColumn(IsNullable = true, ColumnDescription = "货位行")]
public int Row { get; set; }
///
/// 货位列
///
[SugarColumn(IsNullable = true, ColumnDescription = "货位列")]
public int Column { get; set; }
///
/// 货位层
///
[SugarColumn(IsNullable = true, ColumnDescription = "货位层")]
public int Layer { get; set; }
///
/// 货位工位
///
[SugarColumn(IsNullable = true, ColumnDescription = "货位深度")]
public int Depth { get; set; }
///
/// 货位类型
///
[SugarColumn(IsNullable = true, ColumnDescription = "货位类型")]
public int LocationType { get; set; }
///
/// 货位状态
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "货位状态")]
public int LocationStatus { get; set; }
///
/// 禁用状态
///
[SugarColumn(IsNullable = true, DefaultValue = "0", ColumnDescription = "禁用状态")]
public int EnableStatus { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
public string Remark { get; set; }
}
}