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_Warehouse), "仓库信息")]
public class Dt_Warehouse : BaseEntity
{
///
/// 主键
///
[SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")]
public int WarehouseId { get; set; }
///
/// 仓库编号
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "仓库编号")]
public string WarehouseCode { get; set; }
///
/// 仓库名称
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "仓库名称")]
public string WarehouseName { get; set; }
///
/// 仓库类型
///
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "仓库类型")]
public string WarehouseType { get; set; }
///
/// 仓库状态
///
[SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "仓库状态")]
public int WarehouseStatus { get; set; }
///
/// 仓库描述
///
[SugarColumn(IsNullable = true, ColumnDescription = "仓库描述")]
public string WarehouseDes { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "备注")]
public string Remark { get; set; }
}
}