mes_workshop.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. using Business.Core.Attributes;
  2. using Microsoft.EntityFrameworkCore;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Business.Domain
  5. {
  6. /// <summary>
  7. /// 工位表(工作中心)
  8. /// </summary>
  9. [CollectionName("dopbase", "mes_workshop")]
  10. [Comment("工位表(工作中心)")]
  11. public class mes_workshop : BaseEntity
  12. {
  13. ///// <summary>
  14. ///// 工位表主键
  15. ///// </summary>
  16. //[Key]
  17. //[Comment("工位表主键")]
  18. //public long workshop_id { get; set; }
  19. /// <summary>
  20. /// 工位名称
  21. /// </summary>
  22. [StringLength(100)]
  23. [Comment("工位名称")]
  24. public string name { get; set; }
  25. /// <summary>
  26. /// 组合工位ids
  27. /// </summary>
  28. [StringLength(2000)]
  29. [Comment("组合工位ids")]
  30. public string subids { get; set; }
  31. /// <summary>
  32. /// 坐标
  33. /// </summary>
  34. [StringLength(100)]
  35. [Comment("坐标")]
  36. public string geoinfo { get; set; }
  37. /// <summary>
  38. /// 楼栋
  39. /// </summary>
  40. [StringLength(100)]
  41. [Comment("楼栋")]
  42. public string building { get; set; }
  43. /// <summary>
  44. /// 楼层
  45. /// </summary>
  46. [StringLength(100)]
  47. [Comment("楼层")]
  48. public string floor { get; set; }
  49. /// <summary>
  50. /// 区域
  51. /// </summary>
  52. [StringLength(100)]
  53. [Comment("区域")]
  54. public string zone { get; set; }
  55. /// <summary>
  56. /// 工作日历id
  57. /// </summary>
  58. [Comment("工作日历id")]
  59. public long? work_calendar_id { get; set; }
  60. }
  61. }