mes_workshop.cs 1.7 KB

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