mo_mes_tech_proc_equipment.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using Business.Core.Attributes;
  2. using Bussiness.MongoModel;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.MongoModel.Tech
  7. {
  8. /// <summary>
  9. /// 工序关联设备表
  10. /// </summary>
  11. [CollectionName("dopbase", "mo_mes_tech_proc_equipment")]
  12. [Comment("工序关联设备表")]
  13. public class mo_mes_tech_proc_equipment : MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 主键
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("主键")]
  20. //public long tech_proc_equip_id { get; set; }
  21. /// <summary>
  22. /// 设备id
  23. /// </summary>
  24. [Required]
  25. [Comment("设备id")]
  26. public long? equip_id { get; set; }
  27. /// <summary>
  28. /// 设备名称
  29. /// </summary>
  30. [StringLength(100)]
  31. [Comment("设备名称")]
  32. public string? equip_name { get; set; }
  33. /// <summary>
  34. /// 工艺工序id
  35. /// </summary>
  36. [Required]
  37. [Comment("工艺工序id")]
  38. public long? tech_proc_id { get; set; }
  39. /// <summary>
  40. /// 工作日历id
  41. /// </summary>
  42. [Comment("工作日历id")]
  43. public long? work_calendar_id { get; set; }
  44. }
  45. }