KxsMachine.java 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. package com.kxs.product.api.model;
  2. import java.io.Serial;
  3. import java.io.Serializable;
  4. import java.math.BigDecimal;
  5. import java.time.LocalDateTime;
  6. import com.baomidou.mybatisplus.annotation.FieldFill;
  7. import com.baomidou.mybatisplus.annotation.IdType;
  8. import com.baomidou.mybatisplus.annotation.TableField;
  9. import com.baomidou.mybatisplus.annotation.TableId;
  10. import com.baomidou.mybatisplus.extension.activerecord.Model;
  11. import com.fasterxml.jackson.annotation.JsonFormat;
  12. import io.swagger.v3.oas.annotations.media.Schema;
  13. import lombok.Data;
  14. import lombok.EqualsAndHashCode;
  15. /**
  16. * 客小爽机具表(KxsMachine)表实体类
  17. *
  18. * @author 系统
  19. * @since 2023-12-20 10:09:35
  20. */
  21. @EqualsAndHashCode(callSuper = true)
  22. @Data
  23. public class KxsMachine extends Model<KxsMachine> implements Serializable {
  24. @Serial
  25. private static final long serialVersionUID = 1L;
  26. /**
  27. * 主键ID
  28. */
  29. @Schema(description = "主键ID")
  30. @TableId(type = IdType.AUTO)
  31. private Integer id;
  32. /**
  33. * 新增时间
  34. */
  35. @TableField(fill = FieldFill.INSERT)
  36. @Schema(description = "新增时间")
  37. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  38. private LocalDateTime createTime;
  39. /**
  40. * 更新时间
  41. */
  42. @TableField(fill = FieldFill.UPDATE)
  43. @Schema(description = "更新时间")
  44. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  45. private LocalDateTime updateTime;
  46. /**
  47. * 删除标记,0未删除,1已删除
  48. */
  49. @Schema(description = "删除标记,0未删除,1已删除")
  50. private String delFlag;
  51. /**
  52. * 版本
  53. */
  54. @Schema(description = "版本")
  55. private Integer version;
  56. /**
  57. * 机具码
  58. */
  59. @Schema(description = "机具码")
  60. private String posSn;
  61. /**
  62. * 仓库ID
  63. */
  64. @Schema(description = "仓库ID")
  65. private Integer warehouseId;
  66. /**
  67. * 仓库名称
  68. */
  69. @Schema(description = "仓库名称")
  70. private String warehouseName;
  71. /**
  72. * 所属创客ID
  73. */
  74. @Schema(description = "所属创客ID")
  75. private Integer userId;
  76. /**
  77. * 商户ID
  78. */
  79. @Schema(description = "商户ID")
  80. private Integer merchantId;
  81. /**
  82. * 品牌ID
  83. */
  84. @Schema(description = "品牌ID")
  85. private Integer brandId;
  86. /**
  87. * 循环状态 0不可循环 1可循环
  88. */
  89. @Schema(description = "循环状态 0不可循环 1可循环")
  90. private Integer recycleStatus;
  91. /**
  92. * 循环结束时间
  93. */
  94. @Schema(description = "循环结束时间")
  95. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  96. private LocalDateTime recycleEndTime;
  97. /**
  98. * 机具类型 0兑换机 1循环机
  99. */
  100. @Schema(description = "机具类型 0兑换机 1循环机")
  101. private Integer machineType;
  102. /**
  103. * 机具押金
  104. */
  105. @Schema(description = "机具押金")
  106. private BigDecimal cashPledge;
  107. /**
  108. * 厂家押金
  109. */
  110. @Schema(description = "厂家押金")
  111. private BigDecimal sourcePledge;
  112. /**
  113. * 机具轨迹路径
  114. */
  115. @Schema(description = "机具轨迹路径")
  116. private String allotPath;
  117. /**
  118. * 绑定时间
  119. */
  120. @Schema(description = "绑定时间")
  121. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  122. private LocalDateTime bindTime;
  123. /**
  124. * 激活时间
  125. */
  126. @Schema(description = "激活时间")
  127. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  128. private LocalDateTime actTime;
  129. /**
  130. * 出库时间
  131. */
  132. @Schema(description = "出库时间")
  133. @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  134. private LocalDateTime deliveryTime;
  135. /**
  136. * 箱码
  137. */
  138. @Schema(description = "箱码")
  139. private String boxSn;
  140. /**
  141. * 机具费率
  142. */
  143. @Schema(description = "机具费率")
  144. private BigDecimal machineRatio;
  145. /**
  146. * 是否激活 0未激活 1已激活
  147. */
  148. @Schema(description = "是否激活 0未激活 1已激活")
  149. private Integer isAct;
  150. /**
  151. * 绑定状态 0未绑定 1已绑定 2已解绑
  152. */
  153. @Schema(description = "绑定状态 0未绑定 1已绑定 2已解绑")
  154. private Integer bindStatus;
  155. /**
  156. * 状态 -1坏机 0在库 1出库
  157. */
  158. @Schema(description = "状态 -1坏机 0在库 1出库")
  159. private Integer status;
  160. /**
  161. * 回收状态 0正常 1可回收
  162. */
  163. @Schema(description = "回收状态 0正常 1可回收 ")
  164. private Integer returnStatus;
  165. /**
  166. * 是否首台 0否 1是
  167. */
  168. @Schema(description = "是否首台 0否 1是")
  169. private Integer isFirst;
  170. /**
  171. * 费率调升标记
  172. */
  173. @Schema(description = "费率调升标记 0未调 1已调整")
  174. private Integer upFeeFlag;
  175. /**
  176. * 费率调降标记
  177. */
  178. @Schema(description = "费率调升标记 0未调 1已调整")
  179. private Integer downFeeFlag;
  180. /**
  181. * 盟主用户ID
  182. */
  183. @Schema(description = "盟主用户ID")
  184. private Integer leaderId;
  185. /**
  186. * 合伙人用户ID
  187. */
  188. @Schema(description = "合伙人用户ID")
  189. private Integer partnerId;
  190. /**
  191. * 预发到用户的ID
  192. */
  193. @Schema(description = "预发到用户的ID")
  194. private Integer preUserId;
  195. /**
  196. * 补录标识 0未补录 1已补录
  197. */
  198. @Schema(description = "补录标识 0未补录 1已补录")
  199. private Integer isSupply;
  200. /**
  201. * 补激活奖标记 0未补录 1已补录
  202. */
  203. @Schema(description = "补录标识 0未补录 1已补录")
  204. private Integer isOpAct;
  205. /**
  206. * 业务批次号
  207. */
  208. @Schema(description = "业务批次号")
  209. private String batchNo;
  210. /**
  211. * 贷记卡交易额
  212. */
  213. @Schema(description = "贷记卡交易额")
  214. private BigDecimal creditTrade;
  215. /**
  216. * 借记卡交易额
  217. */
  218. @Schema(description = "借记卡交易额")
  219. private BigDecimal debitCardTrade;
  220. /**
  221. * 扫码交易额
  222. */
  223. @Schema(description = "扫码交易额")
  224. private BigDecimal scanQrTrade;
  225. /**
  226. * 溯源机具和兑换券
  227. */
  228. @Schema(description = "溯源机具和兑换券")
  229. private String sourcePosSn;
  230. /**
  231. * 机具地址
  232. */
  233. @Schema(description = "机具地址")
  234. private String devLocation;
  235. /**
  236. * 秒到费
  237. */
  238. @Schema(description = "秒到费")
  239. private BigDecimal secondFee;
  240. }