dengjunjie
2025-07-09 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_LocationInfo.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,59 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
namespace WIDESEA_Model.Models
{
    [SugarTable(nameof(Dt_LocationInfo), "货位信息")]
    public class Dt_LocationInfo : BaseEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "区域主键")]
        public int AreaId {  get; set; }
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "货位编号")]
        public string LocationCode {  get; set; }
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "货位名称")]
        public string LocationName { get; set; }
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "巷道编号")]
        public string RoadwayNo {  get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "货位行")]
        public int Row {  get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "货位列")]
        public int Column { get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "货位层")]
        public int Layer {  get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "货位深度")]
        public int Depth { get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "最大库存")]
        public int MaxQty {  get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "当前库存")]
        public int CurrentQty { get; set; }
        [SugarColumn(IsNullable = false, ColumnDescription = "货位类型")]
        public int LocationType {  get; set; }
        [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "货位状态")]
        public int LocationStatus {  get; set; }
        [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "禁用状态")]
        public int EnableStatus { get; set; }
        [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
        public string Remark {  get; set; }
    }
}