mo_mes_tech_proc_document.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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_document")]
  12. [Comment("工序作业指导书表")]
  13. public class mo_mes_tech_proc_document : MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 工序作业指导书主键
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("工序作业指导书主键")]
  20. //public long tech_proc_doc_id { get; set; }
  21. /// <summary>
  22. /// 工艺工序主键
  23. /// </summary>
  24. [Required]
  25. [Comment("工艺工序主键")]
  26. public long? tech_proc_id { get; set; }
  27. /// <summary>
  28. /// 作业指导书主键
  29. /// </summary>
  30. [Required]
  31. [Comment("作业指导书主键")]
  32. public long? upload_id { get; set; }
  33. /// <summary>
  34. /// 作业指导书名称
  35. /// </summary>
  36. [StringLength(100)]
  37. [Comment("作业指导书名称")]
  38. public string? name { get; set; }
  39. }
  40. }