mo_mes_prdlog.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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_prdlog")]
  12. [Comment("生产操作日志")]
  13. public class mo_mes_prdlog :MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 生产操作日志id
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("生产操作日志id")]
  20. //public long prdlog_id { get; set; }
  21. /// <summary>
  22. /// 业务类型
  23. /// </summary>
  24. [Required]
  25. [StringLength(50)]
  26. [Comment("业务类型")]
  27. public string prdlog_type { get; set; }
  28. /// <summary>
  29. /// 关联单号
  30. /// </summary>
  31. [Required]
  32. [StringLength(80)]
  33. [Comment("业务类型")]
  34. public string prdlog_no { get; set; }
  35. /// <summary>
  36. /// 行号
  37. /// </summary>
  38. [Comment("行号")]
  39. public int prdlog_entryid { get; set; }
  40. /// <summary>
  41. /// 执行时间
  42. /// </summary>
  43. [Comment("执行时间")]
  44. public DateTime? prdlog_time { get; set; }
  45. /// <summary>
  46. /// 执行人id
  47. /// </summary>
  48. [Comment("执行人id")]
  49. public long? prdlog_by_id { get; set; }
  50. /// <summary>
  51. /// 执行人姓名
  52. /// </summary>
  53. [StringLength(80)]
  54. [Comment("执行人姓名")]
  55. public string? prdlog_by_name { get; set; }
  56. /// <summary>
  57. /// 内容
  58. /// </summary>
  59. [StringLength(255)]
  60. [Comment("内容")]
  61. public string? prdlog_note { get; set; }
  62. }
  63. }