using SqlSugar;
namespace MES.Service.Modes;
///
/// 仓库信息
///
[SugarTable("MES_DEPOTS")]
public class MesDepots
{
///
/// ID(SEQ_INV_ID)
///
[SugarColumn(ColumnName = "DEPOT_ID", IsPrimaryKey = true)]
public decimal DepotId { get; set; }
///
/// 仓库类别编码
///
[SugarColumn(ColumnName = "DEPOT_CODE")]
public string? DepotCode { get; set; }
///
/// 仓库类别名称
///
[SugarColumn(ColumnName = "DEPOT_NAME")]
public string? DepotName { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "DESCRIPTION")]
public string? Description { get; set; }
///
/// 仓库负责人
///
[SugarColumn(ColumnName = "CREATE_BY")]
public string? CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnName = "CREATE_DATE")]
public DateTime? CreateDate { get; set; }
///
/// 最后更新人
///
[SugarColumn(ColumnName = "LASTUPDATE_BY")]
public string? LastupdateBy { get; set; }
///
/// 最后更新时间
///
[SugarColumn(ColumnName = "LASTUPDATE_DATE")]
public DateTime? LastupdateDate { get; set; }
///
/// 仓库类型
///
[SugarColumn(ColumnName = "DEPOTTYPE")]
public string? Depottype { get; set; }
///
/// 分厂编码
///
[SugarColumn(ColumnName = "FACTORY")]
public string? Factory { get; set; }
///
/// 物料使用
///
[SugarColumn(ColumnName = "TYPE_1")]
public decimal? Type1 { get; set; }
///
/// 成品使用
///
[SugarColumn(ColumnName = "TYPE_2")]
public decimal? Type2 { get; set; }
///
/// 仓库类型编码
///
[SugarColumn(ColumnName = "DEPOTTYPECODE")]
public decimal? Depottypecode { get; set; }
///
/// 公司代码
///
[SugarColumn(ColumnName = "COMPANY")]
public string? Company { get; set; }
///
/// 看板图标样式
///
[SugarColumn(ColumnName = "ICON_TYPE")]
public decimal? IconType { get; set; }
///
/// 是否委外仓库
///
[SugarColumn(ColumnName = "IS_WY")]
public decimal? IsWy { get; set; }
///
/// 是否不良品仓
///
[SugarColumn(ColumnName = "IS_NG")]
public string? IsNg { get; set; }
///
/// 仓库地址
///
[SugarColumn(ColumnName = "CWHADDRESS")]
public string? Cwhaddress { get; set; }
///
/// 看板显示区域编号
///
[SugarColumn(ColumnName = "PI_TYPE")]
public string? PiType { get; set; }
///
/// 仓位组ID
///
[SugarColumn(ColumnName = "ZUID")]
public string? Zuid { get; set; }
///
/// 允许即时库存负库存
///
[SugarColumn(ColumnName = "IS_FKC")]
public string? IsFkc { get; set; }
///
/// 生产车间
///
[SugarColumn(ColumnName = "PRODUCTION_WORKSHOP")]
public string? ProductionWorkshop { get; set; }
///
/// 物料属性
///
[SugarColumn(ColumnName = "MATERIAL_PROPERTI")]
public string? MaterialProperti { get; set; }
///
/// 自定义字段1
///
[SugarColumn(ColumnName = "REMARK1")]
public string? Remark1 { get; set; }
///
/// 自定义字段2
///
[SugarColumn(ColumnName = "REMARK2")]
public string? Remark2 { get; set; }
///
/// 自定义字段3
///
[SugarColumn(ColumnName = "REMARK3")]
public string? Remark3 { get; set; }
///
/// 自定义字段4
///
[SugarColumn(ColumnName = "REMARK4")]
public string? Remark4 { get; set; }
///
/// 自定义字段5
///
[SugarColumn(ColumnName = "REMARK5")]
public string? Remark5 { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}