ProfitExcel.java 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 fCorpName;
  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. public String getAnnual() {
  34. return annual;
  35. }
  36. public void setAnnual(String annual) {
  37. this.annual = annual;
  38. }
  39. public String getAbbreviated() {
  40. return abbreviated;
  41. }
  42. public void setAbbreviated(String abbreviated) {
  43. this.abbreviated = abbreviated;
  44. }
  45. public String getfCorpName() {
  46. return fCorpName;
  47. }
  48. public void setfCorpName(String fCorpName) {
  49. this.fCorpName = fCorpName;
  50. }
  51. public BigDecimal getMarket() {
  52. return market;
  53. }
  54. public void setMarket(BigDecimal market) {
  55. this.market = market;
  56. }
  57. public BigDecimal getPurchase() {
  58. return purchase;
  59. }
  60. public void setPurchase(BigDecimal purchase) {
  61. this.purchase = purchase;
  62. }
  63. public BigDecimal getProfit() {
  64. return profit;
  65. }
  66. public void setProfit(BigDecimal profit) {
  67. this.profit = profit;
  68. }
  69. @Override
  70. public String toString() {
  71. return "ProfitExcel{" +
  72. "years='" + annual + '\'' +
  73. ", months='" + abbreviated + '\'' +
  74. ", fCorpName='" + fCorpName + '\'' +
  75. ", market=" + market +
  76. ", purchase=" + purchase +
  77. ", profit=" + profit +
  78. '}';
  79. }
  80. }