mes_mebycard.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using Business.Core.Attributes;
  2. using Business.Model;
  3. using Microsoft.EntityFrameworkCore;
  4. using System.ComponentModel;
  5. using System.ComponentModel.DataAnnotations;
  6. namespace Bussiness.Model.ProductionProcess
  7. {
  8. /// <summary>
  9. /// 产线刷卡记录
  10. /// </summary>
  11. [CollectionName("dopbase", "mes_mebycard")]
  12. [Comment("产线刷卡记录")]
  13. public class mes_mebycard : BaseEntity
  14. {
  15. ///// <summary>
  16. ///// 刷卡id
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("刷卡id")]
  20. //public long mebycard_id { get; set; }
  21. /// <summary>
  22. /// 生产工单号id
  23. /// </summary>
  24. [Comment("生产工单号id")]
  25. public long mebycard_moid { get; set; }
  26. /// <summary>
  27. /// 生产工单号
  28. /// </summary>
  29. [Required]
  30. [StringLength(50)]
  31. [Comment("生产工单号")]
  32. public string? mebycard_mono { get; set; }
  33. /// <summary>
  34. /// 工序id
  35. /// </summary>
  36. [Comment("工序id")]
  37. public long mebycard_pid { get; set; }
  38. /// <summary>
  39. /// 工序编码
  40. /// </summary>
  41. [Required]
  42. [StringLength(100)]
  43. [Comment("工序编码")]
  44. public string? mebycard_pno { get; set; }
  45. /// <summary>
  46. /// 工序名称
  47. /// </summary>
  48. [Required]
  49. [StringLength(100)]
  50. [Comment("工序名称")]
  51. public string? mebycard_pname { get; set; }
  52. /// <summary>
  53. /// 刷卡人员卡号
  54. /// </summary>
  55. [Required]
  56. [StringLength(100)]
  57. [Comment("刷卡人员卡号")]
  58. public string? mebycard_byno { get; set; }
  59. /// <summary>
  60. /// 刷卡时间
  61. /// </summary>
  62. [Comment("刷卡时间")]
  63. public DateTime mebycard_time { get; set; }
  64. }
  65. }