mo_wms_shipnotice.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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.Sale
  7. {
  8. /// <summary>
  9. /// 发运通知单
  10. /// </summary>
  11. [Comment("发运通知单")]
  12. [CollectionName("dopbase", "mo_wms_shipnotice")]
  13. public class mo_wms_shipnotice : MoBaseEntity
  14. {
  15. ///// <summary>
  16. ///// 发运通知单主键id
  17. ///// </summary>
  18. //[Key]
  19. //[Comment("发运通知单主键id")]
  20. //public long shipnotice_id { get; set; }
  21. /// <summary>
  22. /// 发运通知单号
  23. /// </summary>
  24. [StringLength(80)]
  25. [Required]
  26. [Comment("发运通知单号")]
  27. public string? shipnotice_no { get; set; }
  28. /// <summary>
  29. /// 发货计划id
  30. /// </summary>
  31. [Required]
  32. [Comment("发货计划id")]
  33. public long? shipplan_id { get; set; }
  34. /// <summary>
  35. /// 发货计划号
  36. /// </summary>
  37. [StringLength(80)]
  38. [Comment("发货计划号")]
  39. public string? shipplan_no { get; set; }
  40. /// <summary>
  41. /// 发运时间
  42. /// </summary>
  43. [Required]
  44. [Comment("发运时间")]
  45. public DateTime shipnotice_date { get; set; }
  46. /// <summary>
  47. /// 状态
  48. /// </summary>
  49. [Required]
  50. [StringLength(80)]
  51. [Comment("状态")]
  52. public string? state { get; set; }
  53. /// <summary>
  54. /// 发运地址
  55. /// </summary>
  56. [StringLength(255)]
  57. [Comment("发运地址")]
  58. public string? address { get; set; }
  59. }
  60. }