LineMaster.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. using Business.Model;
  2. using Microsoft.EntityFrameworkCore;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel.DataAnnotations;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace Business.Model.Production
  10. {
  11. /// <summary>
  12. /// 生产线维护表
  13. /// </summary>
  14. [Comment("生产线维护表")]
  15. public class LineMaster
  16. {
  17. /// <summary>
  18. /// 主键
  19. /// </summary>
  20. [Comment("主键")]
  21. [Key]
  22. public int RecID { get; set; }
  23. /// <summary>
  24. /// 域名
  25. /// </summary>
  26. [Comment("域名")]
  27. public string? Domain { get; set; }
  28. /// <summary>
  29. /// 生产线
  30. /// </summary>
  31. [Comment("生产线")]
  32. public string? Line { get; set; }
  33. /// <summary>
  34. /// 库位
  35. /// </summary>
  36. [Comment("库位")]
  37. public string? Location { get; set; }
  38. /// <summary>
  39. /// 生产线类型:区分生产线和生产线组
  40. /// </summary>
  41. [Comment("生产线类型:区分生产线和生产线组")]
  42. public string? LineType { get; set; }
  43. /// <summary>
  44. /// 线边库
  45. /// </summary>
  46. [Comment("线边库")]
  47. public string? VLocation { get; set; }
  48. /// <summary>
  49. /// 是否有效:1-有效;0-无效
  50. /// </summary>
  51. [Comment("是否有效")]
  52. public Boolean IsActive { get; set; }
  53. /// <summary>
  54. /// 库位
  55. /// </summary>
  56. [Comment("库位")]
  57. public string? location2 { get; set; }
  58. /// <summary>
  59. /// 不良库位
  60. /// </summary>
  61. [Comment("不良库位")]
  62. public string? location3 { get; set; }
  63. /// <summary>
  64. /// 可领料库位
  65. /// </summary>
  66. [Comment("可领料库位")]
  67. public string? PickingLocation { get; set; }
  68. /// <summary>
  69. /// 中间库位
  70. /// </summary>
  71. [Comment("中间库位")]
  72. public string? MidLocation { get; set; }
  73. }
  74. }