ProfitExcel.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. package com.ruoyi.anpin;
  2. import com.ruoyi.common.annotation.Excel;
  3. import java.math.BigDecimal;
  4. import java.util.List;
  5. /**
  6. * @Author ZhaoQian La
  7. * @Date 2021/6/4 11:50
  8. * @Version 1.0
  9. */
  10. /**
  11. * 利润总账
  12. */
  13. public class ProfitExcel {
  14. private static final long serialVersionUID = 1L;
  15. //年
  16. @Excel(name = "年")
  17. private String annual;
  18. //月
  19. @Excel(name = "月")
  20. private String abbreviated;
  21. //客户中文名
  22. @Excel(name = "项目名称")
  23. private String projectName;
  24. //收入
  25. @Excel(name = "收入")
  26. private BigDecimal market;
  27. //支出
  28. @Excel(name = "支出")
  29. private BigDecimal purchase;
  30. //利润
  31. @Excel(name = "利润")
  32. private BigDecimal profit;
  33. //利润率
  34. @Excel(name = "利润率")
  35. private BigDecimal profitMargin;
  36. public BigDecimal getProfitMargin() {
  37. return profitMargin;
  38. }
  39. public void setProfitMargin(BigDecimal profitMargin) {
  40. this.profitMargin = profitMargin;
  41. }
  42. public String getAnnual() {
  43. return annual;
  44. }
  45. public void setAnnual(String annual) {
  46. this.annual = annual;
  47. }
  48. public String getAbbreviated() {
  49. return abbreviated;
  50. }
  51. public void setAbbreviated(String abbreviated) {
  52. this.abbreviated = abbreviated;
  53. }
  54. public String getProjectName() {
  55. return projectName;
  56. }
  57. public void setProjectName(String projectName) {
  58. this.projectName = projectName;
  59. }
  60. public BigDecimal getMarket() {
  61. return market;
  62. }
  63. public void setMarket(BigDecimal market) {
  64. this.market = market;
  65. }
  66. public BigDecimal getPurchase() {
  67. return purchase;
  68. }
  69. public void setPurchase(BigDecimal purchase) {
  70. this.purchase = purchase;
  71. }
  72. public BigDecimal getProfit() {
  73. return profit;
  74. }
  75. public void setProfit(BigDecimal profit) {
  76. this.profit = profit;
  77. }
  78. @Override
  79. public String toString() {
  80. return "ProfitExcel{" +
  81. "years='" + annual + '\'' +
  82. ", months='" + abbreviated + '\'' +
  83. ", projectName='" + projectName + '\'' +
  84. ", market=" + market +
  85. ", purchase=" + purchase +
  86. ", profit=" + profit +
  87. ", profitMargin=" + profitMargin +
  88. '}';
  89. }
  90. }