WCSCachelineloc.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using SqlSugar;
  4. using WMS.BZModels;
  5. namespace wms.sqlsugar.model.sx
  6. {
  7. [Tenant("sx")]
  8. [SugarTable("WCS_CacheLineLoc")]
  9. public class WCSCachelineloc : BaseModel
  10. {
  11. /// <summary>
  12. /// 对应的设备号
  13. /// </summary>
  14. [SugarColumn(ColumnDataType ="smallint" , IsNullable = false , ColumnDescription ="对应的设备号")]
  15. public int LocationNo { get; set; }
  16. /// <summary>
  17. /// 坐标号
  18. /// </summary>
  19. [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = false , ColumnDescription ="坐标号")]
  20. public string XYNo { get; set; }
  21. /// <summary>
  22. /// 物料号
  23. /// </summary>
  24. [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = false , ColumnDescription ="物料号")]
  25. public string MatCode { get; set; }
  26. /// <summary>
  27. /// 任务号
  28. /// </summary>
  29. [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="任务号")]
  30. public int? TaskId { get; set; }
  31. /// <summary>
  32. /// 码垛缓存线主表ID
  33. /// </summary>
  34. [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="码垛缓存线主表ID")]
  35. public int CacheLineId { get; set; }
  36. /// <summary>
  37. /// 是否有货
  38. /// </summary>
  39. [SugarColumn(ColumnDataType ="bit" , IsNullable = false , ColumnDescription ="是否有货")]
  40. public bool InStock { get; set; }
  41. /// <summary>
  42. /// 是否有货
  43. /// </summary>
  44. [SugarColumn(ColumnDataType ="bit" , IsNullable = false , ColumnDescription ="是否有货")]
  45. public bool IsEmpty { get; set; }
  46. }
  47. }