ViewOrderItems.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.Text;
  7. using System.Threading.Tasks;
  8. using Abp.Domain.Entities;
  9. namespace ShwasherSys.Order
  10. {
  11. [Table("N_ViewOrderItems")]
  12. public class ViewOrderItems:Entity<int>
  13. {
  14. public string OrderNo { get; set; }
  15. public string ProductNo { get; set; }
  16. [Column(TypeName = "money")]
  17. public decimal Price { get; set; }
  18. [Column(TypeName = "money")]
  19. public decimal AfterTaxPrice { get; set; }
  20. public string CurrencyId { get; set; }
  21. [Column(TypeName = "numeric")]
  22. public decimal Quantity { get; set; }
  23. public int OrderUnitId { get; set; }
  24. [Column(TypeName = "smalldatetime")]
  25. public DateTime SendDate { get; set; }
  26. public string IsReport { get; set; }
  27. public string IsPartSend { get; set; }
  28. public int? OrderItemStatusId { get; set; }
  29. public string WareHouse { get; set; }
  30. public string OrderItemDesc { get; set; }
  31. public string PartNo { get; set; }
  32. public decimal TotalPrice { get; set; }
  33. public string CustomerId { get; set; }
  34. public string LinkName { get; set; }
  35. [Column(TypeName = "smalldatetime")]
  36. public DateTime? OrderDate { get; set; }
  37. public string Fax { get; set; }
  38. public string Telephone { get; set; }
  39. public string ProductName { get; set; }
  40. public string Model { get; set; }
  41. public int? StandardId { get; set; }
  42. public string Material { get; set; }
  43. public string SurfaceColor { get; set; }
  44. public string Rigidity { get; set; }
  45. public string IsStandard { get; set; }
  46. public decimal? IsSendQuantity { get; set; }
  47. public string OrderUnitName { get; set; }
  48. public decimal? RemainingQuantity => Quantity - (IsSendQuantity??0);
  49. //{
  50. // get
  51. // {
  52. // return Quantity - IsSendQuantity??0;
  53. // }
  54. //}
  55. public string StockNo { get; set; }
  56. public string CustomerName { get; set; }
  57. public decimal AfterTaxTotalPrice { get; set; }
  58. public int? SaleType { get; set; }
  59. public string SaleMan { get; set; }
  60. //public decimal? CurrencyPrice { get; set; }
  61. public int EmergencyLevel { get; set; }
  62. public string IsLock { get; set; }
  63. public string StandardName { get; set; }
  64. /// <summary>
  65. /// 仓库配货完成状态
  66. /// </summary>
  67. public int StoreCompleteState { get; set; } = 0;
  68. /// <summary>
  69. /// 运费
  70. /// </summary>
  71. public decimal LogisticsFee { get; set; } = 0;
  72. /// <summary>
  73. /// 模具费
  74. /// </summary>
  75. public decimal MoldFee { get; set; } = 0;
  76. /// <summary>
  77. /// 运费
  78. /// </summary>
  79. public decimal LogisticsFeeAfterTax { get; set; } = 0;
  80. /// <summary>
  81. /// 模具费
  82. /// </summary>
  83. public decimal MoldFeeAfterTax { get; set; } = 0;
  84. }
  85. }