mo_mes_tech_proc_accessory.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_accessory")]
  12. [Comment("治具表(工装表)")]
  13. public class mo_mes_tech_proc_accessory : MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 治具主键
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("治具主键")]
  20. //public long tech_proc_acc_id { get; set; }
  21. /// <summary>
  22. /// 工艺工序主键
  23. /// </summary>
  24. [Required]
  25. [Comment("工艺工序主键")]
  26. public long? tech_proc_id { get; set; }
  27. /// <summary>
  28. /// 工装id
  29. /// </summary>
  30. [Required]
  31. [Comment("工装id")]
  32. public long? equip_id { get; set; }
  33. /// <summary>
  34. /// 工装编号
  35. /// </summary>
  36. [Required]
  37. [StringLength(100)]
  38. [Comment("工装编号")]
  39. public string? equip_no { get; set; }
  40. /// <summary>
  41. /// 数量
  42. /// </summary>
  43. [Required]
  44. [Comment("数量")]
  45. public int? qty { get; set; }
  46. }
  47. }