WCSCachelineloc.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. using System;
  2. using System.Collections.Generic;
  3. using SqlSugar;
  4. using WMS.BZModels;
  5. namespace wms.sqlsugar.model.fj
  6. {
  7. [Tenant("fj")]
  8. [SugarTable("WCS_CacheLineLoc")]
  9. public class WCSCachelineloc : BaseEntityModel
  10. {
  11. /// <summary>
  12. /// ID
  13. /// </summary>
  14. [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "ID")]
  15. public int Id { get; set; }
  16. /// <summary>
  17. /// 对应的设备号
  18. /// </summary>
  19. [SugarColumn(ColumnDataType ="smallint" , IsNullable = false , ColumnDescription ="对应的设备号")]
  20. public int LocationNo { get; set; }
  21. /// <summary>
  22. /// 坐标号
  23. /// </summary>
  24. [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = false , ColumnDescription ="坐标号")]
  25. public string XYNo { get; set; }
  26. /// <summary>
  27. /// 物料号
  28. /// </summary>
  29. [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = false , ColumnDescription ="物料号")]
  30. public string MatCode { get; set; }
  31. /// <summary>
  32. /// 任务号
  33. /// </summary>
  34. [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="任务号")]
  35. public int? TaskId { get; set; }
  36. /// <summary>
  37. /// 码垛缓存线主表ID
  38. /// </summary>
  39. [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="码垛缓存线主表ID")]
  40. public int CacheLineId { get; set; }
  41. /// <summary>
  42. /// 是否有货
  43. /// </summary>
  44. [SugarColumn(ColumnDataType ="bit" , IsNullable = false , ColumnDescription ="是否有货")]
  45. public bool InStock { get; set; }
  46. /// <summary>
  47. /// 是否有货
  48. /// </summary>
  49. [SugarColumn(ColumnDataType ="bit" , IsNullable = false , ColumnDescription ="是否有货")]
  50. public bool IsEmpty { get; set; }
  51. /// <summary>
  52. /// 创建时间
  53. /// </summary>
  54. [SugarColumn(IsNullable = true, ColumnDescription = "创建时间")]
  55. public DateTime AddTime { get; set; }
  56. /// <summary>
  57. /// 编辑时间
  58. /// </summary>
  59. [SugarColumn(IsNullable = true, ColumnDescription = "编辑时间")]
  60. public DateTime EditTime { get; set; }
  61. }
  62. }