猫妈狗爸伴宠师小程序后端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
2.2 KiB

1 year ago
  1. package com.ruoyi.catdog.domain;
  2. import java.math.BigDecimal;
  3. import org.apache.commons.lang3.builder.ToStringBuilder;
  4. import org.apache.commons.lang3.builder.ToStringStyle;
  5. import com.ruoyi.common.annotation.Excel;
  6. import com.ruoyi.common.core.domain.BaseEntity;
  7. /**
  8. * 保证金记录对象 deposit
  9. *
  10. * @author ruoyi
  11. * @date 2025-03-02
  12. */
  13. public class Deposit extends BaseEntity
  14. {
  15. private static final long serialVersionUID = 1L;
  16. /** 保证金编号 */
  17. private Long id;
  18. /** 明细名称 */
  19. @Excel(name = "明细名称")
  20. private String detailsName;
  21. /** 金额 */
  22. @Excel(name = "金额")
  23. private BigDecimal detailsPrice;
  24. /** 交易类型: 1为收入明细,2为支出明细 */
  25. @Excel(name = "交易类型: 1为收入明细,2为支出明细")
  26. private Long transactionType;
  27. /** 伴宠师ID */
  28. @Excel(name = "伴宠师ID")
  29. private Long usersId;
  30. public void setId(Long id)
  31. {
  32. this.id = id;
  33. }
  34. public Long getId()
  35. {
  36. return id;
  37. }
  38. public void setDetailsName(String detailsName)
  39. {
  40. this.detailsName = detailsName;
  41. }
  42. public String getDetailsName()
  43. {
  44. return detailsName;
  45. }
  46. public void setDetailsPrice(BigDecimal detailsPrice)
  47. {
  48. this.detailsPrice = detailsPrice;
  49. }
  50. public BigDecimal getDetailsPrice()
  51. {
  52. return detailsPrice;
  53. }
  54. public void setTransactionType(Long transactionType)
  55. {
  56. this.transactionType = transactionType;
  57. }
  58. public Long getTransactionType()
  59. {
  60. return transactionType;
  61. }
  62. public void setUsersId(Long usersId)
  63. {
  64. this.usersId = usersId;
  65. }
  66. public Long getUsersId()
  67. {
  68. return usersId;
  69. }
  70. @Override
  71. public String toString() {
  72. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  73. .append("id", getId())
  74. .append("createTime", getCreateTime())
  75. .append("detailsName", getDetailsName())
  76. .append("detailsPrice", getDetailsPrice())
  77. .append("transactionType", getTransactionType())
  78. .append("usersId", getUsersId())
  79. .toString();
  80. }
  81. }