ic_substitute_group.cs 1.9 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", "ic_substitute_group")]
  10. [Comment("物料替代多群组")]
  11. public class ic_substitute_group : BaseEntity
  12. {
  13. /// <summary>
  14. /// 群组主键
  15. /// </summary>
  16. [Required]
  17. [Comment("群组主键")]
  18. public long substitute_group_id { get; set; }
  19. /// <summary>
  20. /// 群组代码
  21. /// </summary>
  22. [StringLength(20)]
  23. [Comment("群组代码")]
  24. public string substitute_code { get; set; }
  25. /// <summary>
  26. /// 替代关系
  27. /// </summary>
  28. [StringLength(2000)]
  29. [Comment("替代关系")]
  30. public string replace_relation { get; set; }
  31. /// <summary>
  32. /// 替代名称
  33. /// </summary>
  34. [StringLength(50)]
  35. [Comment("替代名称")]
  36. public string replace_name { get; set; }
  37. /// <summary>
  38. /// 替代方式
  39. /// </summary>
  40. [StringLength(50)]
  41. [Comment("替代方式")]
  42. public string replace_way { get; set; }
  43. /// <summary>
  44. /// 产品线
  45. /// </summary>
  46. [StringLength(50)]
  47. [Comment("产品线")]
  48. public string product_line { get; set; }
  49. /// <summary>
  50. /// 使用机型
  51. /// </summary>
  52. [StringLength(5000)]
  53. [Comment("使用机型")]
  54. public string use_model { get; set; }
  55. /// <summary>
  56. /// 群组优先级
  57. /// </summary>
  58. [Comment("群组优先级")]
  59. public int? order_num { get; set; }
  60. /// <summary>
  61. /// 主料/替代料
  62. /// </summary>
  63. [Comment("主料/替代料")]
  64. public int? main_material { get; set; }
  65. }
  66. }