猫妈狗爸伴宠师小程序后端代码
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.

214 lines
5.4 KiB

4 months ago
  1. package com.ruoyi.model.domain;
  2. import java.util.Date;
  3. import com.fasterxml.jackson.annotation.JsonFormat;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.ruoyi.common.annotation.Excel;
  7. import com.ruoyi.common.core.domain.BaseEntity;
  8. /**
  9. * 订单对象 order
  10. *
  11. * @author ruoyi
  12. * @date 2025-03-08
  13. */
  14. public class AppOrder extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 订单编号 */
  18. private Long orderId;
  19. /** 伴宠师编号 */
  20. @Excel(name = "伴宠师编号")
  21. private Long certificationId;
  22. /** 删除标记 */
  23. @Excel(name = "删除标记")
  24. private Integer deiFlag;
  25. /** 订单金额 */
  26. @Excel(name = "订单金额")
  27. private Long orderAmount;
  28. /** 下单时间 */
  29. @JsonFormat(pattern = "yyyy-MM-dd")
  30. @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
  31. private Date orderPlaceTime;
  32. /** 订单数量 */
  33. @Excel(name = "订单数量")
  34. private Long orderQuantity;
  35. /** 服务内容 */
  36. @Excel(name = "服务内容")
  37. private String orderServiceContent;
  38. /** 服务日期 */
  39. @JsonFormat(pattern = "yyyy-MM-dd")
  40. @Excel(name = "服务日期", width = 30, dateFormat = "yyyy-MM-dd")
  41. private Date orderServiceDate;
  42. /** 服务时间,1==早上,2==午后,3==晚间 */
  43. @Excel(name = "服务时间,1==早上,2==午后,3==晚间")
  44. private Integer orderServiceTime;
  45. /** 订单状态,0=待接单,1=待上门,2=已完成 */
  46. @Excel(name = "订单状态,0=待接单,1=待上门,2=已完成")
  47. private Integer orderState;
  48. /** 订单总金额 */
  49. @Excel(name = "订单总金额")
  50. private Long orderTotalAmount;
  51. /** 上门地址 */
  52. @Excel(name = "上门地址")
  53. private String orderVisitAddress;
  54. /** 宠物编号 */
  55. @Excel(name = "宠物编号")
  56. private Long petId;
  57. public void setOrderId(Long orderId)
  58. {
  59. this.orderId = orderId;
  60. }
  61. public Long getOrderId()
  62. {
  63. return orderId;
  64. }
  65. public void setCertificationId(Long certificationId)
  66. {
  67. this.certificationId = certificationId;
  68. }
  69. public Long getCertificationId()
  70. {
  71. return certificationId;
  72. }
  73. public void setDeiFlag(Integer deiFlag)
  74. {
  75. this.deiFlag = deiFlag;
  76. }
  77. public Integer getDeiFlag()
  78. {
  79. return deiFlag;
  80. }
  81. public void setOrderAmount(Long orderAmount)
  82. {
  83. this.orderAmount = orderAmount;
  84. }
  85. public Long getOrderAmount()
  86. {
  87. return orderAmount;
  88. }
  89. public void setOrderPlaceTime(Date orderPlaceTime)
  90. {
  91. this.orderPlaceTime = orderPlaceTime;
  92. }
  93. public Date getOrderPlaceTime()
  94. {
  95. return orderPlaceTime;
  96. }
  97. public void setOrderQuantity(Long orderQuantity)
  98. {
  99. this.orderQuantity = orderQuantity;
  100. }
  101. public Long getOrderQuantity()
  102. {
  103. return orderQuantity;
  104. }
  105. public void setOrderServiceContent(String orderServiceContent)
  106. {
  107. this.orderServiceContent = orderServiceContent;
  108. }
  109. public String getOrderServiceContent()
  110. {
  111. return orderServiceContent;
  112. }
  113. public void setOrderServiceDate(Date orderServiceDate)
  114. {
  115. this.orderServiceDate = orderServiceDate;
  116. }
  117. public Date getOrderServiceDate()
  118. {
  119. return orderServiceDate;
  120. }
  121. public void setOrderServiceTime(Integer orderServiceTime)
  122. {
  123. this.orderServiceTime = orderServiceTime;
  124. }
  125. public Integer getOrderServiceTime()
  126. {
  127. return orderServiceTime;
  128. }
  129. public void setOrderState(Integer orderState)
  130. {
  131. this.orderState = orderState;
  132. }
  133. public Integer getOrderState()
  134. {
  135. return orderState;
  136. }
  137. public void setOrderTotalAmount(Long orderTotalAmount)
  138. {
  139. this.orderTotalAmount = orderTotalAmount;
  140. }
  141. public Long getOrderTotalAmount()
  142. {
  143. return orderTotalAmount;
  144. }
  145. public void setOrderVisitAddress(String orderVisitAddress)
  146. {
  147. this.orderVisitAddress = orderVisitAddress;
  148. }
  149. public String getOrderVisitAddress()
  150. {
  151. return orderVisitAddress;
  152. }
  153. public void setPetId(Long petId)
  154. {
  155. this.petId = petId;
  156. }
  157. public Long getPetId()
  158. {
  159. return petId;
  160. }
  161. @Override
  162. public String toString() {
  163. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  164. .append("orderId", getOrderId())
  165. .append("certificationId", getCertificationId())
  166. .append("createBy", getCreateBy())
  167. .append("createTime", getCreateTime())
  168. .append("deiFlag", getDeiFlag())
  169. .append("orderAmount", getOrderAmount())
  170. .append("orderPlaceTime", getOrderPlaceTime())
  171. .append("orderQuantity", getOrderQuantity())
  172. .append("orderServiceContent", getOrderServiceContent())
  173. .append("orderServiceDate", getOrderServiceDate())
  174. .append("orderServiceTime", getOrderServiceTime())
  175. .append("orderState", getOrderState())
  176. .append("orderTotalAmount", getOrderTotalAmount())
  177. .append("orderVisitAddress", getOrderVisitAddress())
  178. .append("petId", getPetId())
  179. .append("remark", getRemark())
  180. .append("updateBy", getUpdateBy())
  181. .append("updateTime", getUpdateTime())
  182. .toString();
  183. }
  184. }