OrderSend.cs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Runtime.CompilerServices;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using Abp.Domain.Entities;
  10. namespace ShwasherSys.OrderSendInfo
  11. {
  12. [Table("OrderSend")]
  13. public class OrderSend:Entity<int>
  14. {
  15. public const int RemarkMaxLength = 250;
  16. public const int OrderSendBillNoMaxLength = 20;
  17. public const int OrderStickBillNoMaxLength = 40;
  18. public const int UserIDLastModMaxLength = 20;
  19. public const int StoreLocationNoMaxLength = 32;
  20. public const int StatementBillNoMaxLength = 32;
  21. public const int CreatorUserIdMaxLength = 20;
  22. public int OrderItemId { get; set; }
  23. [Column(TypeName = "smalldatetime")]
  24. public DateTime? SendDate { get; set; }
  25. [DecimalPrecision]
  26. public decimal SendQuantity { get; set; }
  27. public int? OrderUnitId { get; set; }
  28. [StringLength(RemarkMaxLength)]
  29. public string Remark { get; set; }
  30. [StringLength(OrderSendBillNoMaxLength)]
  31. public string OrderSendBillNo { get; set; }
  32. [StringLength(OrderStickBillNoMaxLength)]
  33. public string OrderStickBillNo { get; set; }
  34. [Column(TypeName = "smalldatetime")]
  35. public DateTime? TimeCreated { get; set; }
  36. [Column(TypeName = "smalldatetime")]
  37. public DateTime? TimeLastMod { get; set; }
  38. [StringLength(UserIDLastModMaxLength)]
  39. public string UserIDLastMod { get; set; }
  40. [StringLength(CreatorUserIdMaxLength)]
  41. public string CreatorUserId { get; set; }
  42. [DecimalPrecision]
  43. public Decimal? QuantityPerPack { get; set; }
  44. [DecimalPrecision]
  45. public Decimal? PackageCount { get; set; }
  46. public string ProductBatchNum { get; set; }
  47. [StringLength(StoreLocationNoMaxLength)]
  48. public string StoreLocationNo { get; set; }
  49. public string CurrentProductStoreHouseNo { get; set; }
  50. [StringLength(StatementBillNoMaxLength)]
  51. public string StatementBillNo { get; set; }
  52. /// <summary>
  53. /// 运费
  54. /// </summary>
  55. public decimal LogisticsFee { get; set; } = 0;
  56. /// <summary>
  57. /// 模具费
  58. /// </summary>
  59. public decimal MoldFee { get; set; } = 0;
  60. /// <summary>
  61. /// 运费
  62. /// </summary>
  63. public decimal LogisticsFeeAfterTax { get; set; } = 0;
  64. /// <summary>
  65. /// 模具费
  66. /// </summary>
  67. public decimal MoldFeeAfterTax { get; set; } = 0;
  68. /// <summary>
  69. /// 发货单明细排序
  70. /// </summary>
  71. public int SendBillSort { get; set; }=0;
  72. /// <summary>
  73. /// 对账单明细排序
  74. /// </summary>
  75. public int StatementBillSort { get; set; } = 0;
  76. }
  77. }