BaseWarehouse.cs 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using SqlSugar;
  2. namespace WCS.WorkEngineering.Model.WMS
  3. {
  4. /// <summary>
  5. /// 仓库表
  6. /// </summary>
  7. [Tenant("fj")]
  8. [SugarTable("Base_Warehouse")]
  9. public class BaseWarehouse : BaseModel
  10. {
  11. //
  12. // 摘要:
  13. // 是否停用
  14. [SugarColumn(ColumnDataType = "int", IsNullable = false)]
  15. public int IsStop { get; set; }
  16. //
  17. // 摘要:
  18. // 编号
  19. [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = false)]
  20. public string Code { get; set; }
  21. //
  22. // 摘要:
  23. // 名称
  24. [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false)]
  25. public string Name { get; set; }
  26. ////
  27. //// 摘要:
  28. //// 类型
  29. //[SugarColumn(IsNullable = false)]
  30. //public FjLocationType TypeNum { get; set; }
  31. //
  32. // 摘要:
  33. // ConfigId
  34. [SugarColumn(ColumnName = "ConfigId", ColumnDescription = "ConfigId")]
  35. public long ConfigId { get; set; }
  36. }
  37. }