RentInfoDTO.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package cn.fastfun.controller.dto.asset;
  2. import com.fasterxml.jackson.annotation.JsonIgnore;
  3. import com.fasterxml.jackson.annotation.JsonIgnoreType;
  4. import lombok.Getter;
  5. import lombok.NoArgsConstructor;
  6. import lombok.Setter;
  7. import java.math.BigDecimal;
  8. import java.util.ArrayList;
  9. import java.util.List;
  10. @Setter
  11. @Getter
  12. @NoArgsConstructor
  13. public class RentInfoDTO {
  14. private static final long serialVersionUID = -1821068317406106793L;
  15. @JsonIgnoreType
  16. @Setter
  17. @Getter
  18. public static class AllInfo{
  19. // 时间
  20. private String time;
  21. // 类型
  22. private String type;
  23. // 金额
  24. private BigDecimal amount;
  25. // 关联订单
  26. private String order;
  27. // 说明
  28. private String description;
  29. }
  30. private List<AllInfo> allInfoList = new ArrayList<>();
  31. // 当前租期开始
  32. private String orderStartTime;
  33. // 当前租期结束
  34. private String orderEndTime;
  35. // 当前租金
  36. private BigDecimal rental;
  37. // 当前押金
  38. private BigDecimal cash;
  39. // 租金收入
  40. private BigDecimal income;
  41. // 押金收取
  42. private BigDecimal cashIn;
  43. // 丢失保障金
  44. private BigDecimal securityCash;
  45. // 净租金
  46. private BigDecimal netRental;
  47. }