mo_mes_meaction.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.ProductionProcess
  7. {
  8. /// <summary>
  9. /// 生产动作表
  10. /// </summary>
  11. [CollectionName("dopbase", "mo_mes_meaction")]
  12. [Comment("生产动作表")]
  13. public class mo_mes_meaction : MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 主键Id
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("生产动作Id")]
  20. //public long meaction_id { get; set; }
  21. /// <summary>
  22. /// 生产工单id
  23. /// </summary>
  24. [Comment("生产工单id")]
  25. public long morder_id { get; set; }
  26. /// <summary>
  27. /// 生产工单号
  28. /// </summary>
  29. [Required]
  30. [StringLength(50)]
  31. [Comment("生产工单号")]
  32. public string? morder_no { get; set; }
  33. /// <summary>
  34. /// 操作时间
  35. /// </summary>
  36. [Comment("操作时间")]
  37. public DateTime? oprtime { get; set; }
  38. /// <summary>
  39. /// 操作类型
  40. /// </summary>
  41. [StringLength(50)]
  42. [Comment("操作类型")]
  43. public string? oprtype { get; set; }
  44. /// <summary>
  45. /// 操作人id
  46. /// </summary>
  47. [Comment("操作人id")]
  48. public long? oprby { get; set; }
  49. /// <summary>
  50. /// 操作人名称
  51. /// </summary>
  52. [StringLength(50)]
  53. [Comment("操作人名称")]
  54. public string? oprbyname { get; set; }
  55. /// <summary>
  56. /// 操作人工号
  57. /// </summary>
  58. [StringLength(100)]
  59. [Comment("操作人工号")]
  60. public string? oprbyno { get; set; }
  61. }
  62. }