PreAssetsValuationInfo.java 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. package com.simuwang.base.pojo.valuation;
  2. import java.util.Date;
  3. import java.util.List;
  4. /**
  5. * @author Rain
  6. */
  7. public class PreAssetsValuationInfo<T extends PreAssetsValuationBase> {
  8. private String userId;
  9. private String excelOriginName;
  10. private String excelNewName;
  11. private String savePath;
  12. private AssetsValuationType type;
  13. private Header header;
  14. private List<String> footer;
  15. private List<T> data;
  16. private Error error;
  17. public Error getError() {
  18. return error;
  19. }
  20. public void setError(Error error) {
  21. this.error = error;
  22. }
  23. public class Header {
  24. // 主标题
  25. private String title;
  26. // 子标题
  27. private String subTitle;
  28. private Date valuationDate;
  29. private Double unitNetValue;
  30. private List<String> headerList;
  31. public String getTitle() {
  32. return title;
  33. }
  34. public void setTitle(String title) {
  35. this.title = title;
  36. }
  37. public String getSubTitle() {
  38. return subTitle;
  39. }
  40. public void setSubTitle(String subTitle) {
  41. this.subTitle = subTitle;
  42. }
  43. public Date getValuationDate() {
  44. return valuationDate;
  45. }
  46. public void setValuationDate(Date valuationDate) {
  47. this.valuationDate = valuationDate;
  48. }
  49. public Double getUnitNetValue() {
  50. return unitNetValue;
  51. }
  52. public void setUnitNetValue(double unitNetValue) {
  53. this.unitNetValue = unitNetValue;
  54. }
  55. public List<String> getHeaderList() {
  56. return headerList;
  57. }
  58. public void setHeaderList(List<String> headerList) {
  59. this.headerList = headerList;
  60. }
  61. @Override
  62. public String toString() {
  63. return "Header{" +
  64. "title='" + title + '\'' +
  65. ", subTitle='" + subTitle + '\'' +
  66. ", valuationDate=" + valuationDate +
  67. ", unitNetValue=" + unitNetValue +
  68. ", headerList=" + headerList +
  69. '}';
  70. }
  71. }
  72. public class Error {
  73. private int rowNum = -1;
  74. private int cellNum = -1;
  75. private String excelName;
  76. private String msg;
  77. public String getExcelName() {
  78. return excelName;
  79. }
  80. public void setExcelName(String excelName) {
  81. this.excelName = excelName;
  82. }
  83. public int getRowNum() {
  84. return rowNum;
  85. }
  86. public Error setRowNum(int rowNum) {
  87. this.rowNum = rowNum;
  88. return this;
  89. }
  90. public int getCellNum() {
  91. return cellNum;
  92. }
  93. public Error setCellNum(int cellNum) {
  94. this.cellNum = cellNum;
  95. return this;
  96. }
  97. public String getMsg() {
  98. return msg;
  99. }
  100. public Error setMsg(String msg) {
  101. this.msg = msg;
  102. return this;
  103. }
  104. @Override
  105. public String toString() {
  106. return "Error [rowNum=" + rowNum + ", cellNum=" + cellNum + ", msg=" + msg + "]";
  107. }
  108. }
  109. public String getUserId() {
  110. return userId;
  111. }
  112. public void setUserId(String userId) {
  113. this.userId = userId;
  114. }
  115. public String getExcelOriginName() {
  116. return excelOriginName;
  117. }
  118. public void setExcelOriginName(String excelOriginName) {
  119. this.excelOriginName = excelOriginName;
  120. }
  121. public String getExcelNewName() {
  122. return excelNewName;
  123. }
  124. public void setExcelNewName(String excelNewName) {
  125. this.excelNewName = excelNewName;
  126. }
  127. public String getSavePath() {
  128. return savePath;
  129. }
  130. public void setSavePath(String savePath) {
  131. this.savePath = savePath;
  132. }
  133. public AssetsValuationType getType() {
  134. return type;
  135. }
  136. public void setType(AssetsValuationType type) {
  137. this.type = type;
  138. }
  139. public Header getHeader() {
  140. return header;
  141. }
  142. public void setHeader(Header header) {
  143. this.header = header;
  144. }
  145. public List<T> getData() {
  146. return data;
  147. }
  148. public void setData(List<T> data) {
  149. this.data = data;
  150. }
  151. public List<String> getFooter() {
  152. return footer;
  153. }
  154. public void setFooter(List<String> footer) {
  155. this.footer = footer;
  156. }
  157. }