RentInfoDTO.java 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 time;
  33. // 当前租金
  34. private BigDecimal rental;
  35. // 当前押金
  36. private BigDecimal cash;
  37. // 租金收入
  38. private BigDecimal income;
  39. // 押金收取
  40. private BigDecimal cashIn;
  41. // 丢失保障金
  42. private BigDecimal securityCash;
  43. // 净租金
  44. private BigDecimal netRental;
  45. }