ic_substitute_group.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.ComponentModel;
  7. using System.ComponentModel.DataAnnotations;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. namespace Business.Model.MES.IC
  12. {
  13. /// <summary>
  14. /// 物料替代多群组
  15. /// </summary>
  16. [CollectionName("dopbase", "ic_substitute_group")]
  17. [Comment("物料替代多群组")]
  18. public class ic_substitute_group : BaseEntity
  19. {
  20. /// <summary>
  21. /// 群组主键
  22. /// </summary>
  23. [Required]
  24. [Comment("群组主键")]
  25. public long substitute_group_id { get; set; }
  26. /// <summary>
  27. /// 群组代码
  28. /// </summary>
  29. [StringLength(20)]
  30. [Comment("群组代码")]
  31. public string? substitute_code { get; set; }
  32. /// <summary>
  33. /// 替代关系
  34. /// </summary>
  35. [StringLength(2000)]
  36. [Comment("替代关系")]
  37. public string? replace_relation { get; set; }
  38. /// <summary>
  39. /// 替代名称
  40. /// </summary>
  41. [StringLength(50)]
  42. [Comment("替代名称")]
  43. public string? replace_name { get; set; }
  44. /// <summary>
  45. /// 替代方式
  46. /// </summary>
  47. [StringLength(50)]
  48. [Comment("替代方式")]
  49. public string? replace_way { get; set; }
  50. /// <summary>
  51. /// 产品线
  52. /// </summary>
  53. [StringLength(50)]
  54. [Comment("产品线")]
  55. public string? product_line { get; set; }
  56. /// <summary>
  57. /// 使用机型
  58. /// </summary>
  59. [StringLength(5000)]
  60. [Comment("使用机型")]
  61. public string? use_model { get; set; }
  62. /// <summary>
  63. /// 群组优先级
  64. /// </summary>
  65. [Comment("群组优先级")]
  66. public int? order_num { get; set; }
  67. /// <summary>
  68. /// 主料/替代料
  69. /// </summary>
  70. [Comment("主料/替代料")]
  71. public int? main_material { get; set; }
  72. }
  73. }