123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316 |
- package com.miniframe.model.system;
- import com.miniframe.system.MiniserviceBaseModel;
- import java.io.Serializable;
- import java.util.Date;
- import javax.persistence.*;
- public class Pay extends MiniserviceBaseModel implements Serializable {
- /**
- * id
- */
- @Id
- private String id;
- /**
- * 用户id
- */
- private String uid;
- /**
- * 金额
- */
- private Float amount;
- /**
- * 交易下单单号(对应支付平台)
- */
- @Column(name = "platform_order_no")
- private String platformOrderNo;
- /**
- * 交易单号
- */
- private String transaction;
- /**
- * 类型,支付类型,0微信,1支付宝
- */
- private String cat;
- /**
- * 状态
- */
- private String status;
- /**
- * 新增时间
- */
- @Column(name = "create_time")
- private Date createTime;
- /**
- * 更新时间
- */
- @Column(name = "update_time")
- private Date updateTime;
- /**
- * 退款金额
- */
- private Float refund;
- /**
- * 退款单号
- */
- @Column(name = "refund_no")
- private String refundNo;
- /**
- * 订单id
- */
- @Column(name = "order_id")
- private String orderId;
- /**
- * 回调信息
- */
- @Column(name = "notify_info")
- private String notifyInfo;
- private static final long serialVersionUID = 1L;
- /**
- * 获取id
- *
- * @return id - id
- */
- public String getId() {
- return id;
- }
- /**
- * 设置id
- *
- * @param id id
- */
- public void setId(String id) {
- this.id = id == null ? null : id.trim();
- }
- /**
- * 获取用户id
- *
- * @return uid - 用户id
- */
- public String getUid() {
- return uid;
- }
- /**
- * 设置用户id
- *
- * @param uid 用户id
- */
- public void setUid(String uid) {
- this.uid = uid == null ? null : uid.trim();
- }
- /**
- * 获取金额
- *
- * @return amount - 金额
- */
- public Float getAmount() {
- return amount;
- }
- /**
- * 设置金额
- *
- * @param amount 金额
- */
- public void setAmount(Float amount) {
- this.amount = amount;
- }
- /**
- * 获取交易下单单号(对应支付平台)
- *
- * @return platform_order_no - 交易下单单号(对应支付平台)
- */
- public String getPlatformOrderNo() {
- return platformOrderNo;
- }
- /**
- * 设置交易下单单号(对应支付平台)
- *
- * @param platformOrderNo 交易下单单号(对应支付平台)
- */
- public void setPlatformOrderNo(String platformOrderNo) {
- this.platformOrderNo = platformOrderNo == null ? null : platformOrderNo.trim();
- }
- /**
- * 获取交易单号
- *
- * @return transaction - 交易单号
- */
- public String getTransaction() {
- return transaction;
- }
- /**
- * 设置交易单号
- *
- * @param transaction 交易单号
- */
- public void setTransaction(String transaction) {
- this.transaction = transaction == null ? null : transaction.trim();
- }
- /**
- * 获取类型,支付类型,0微信,1支付宝
- *
- * @return cat - 类型,支付类型,0微信,1支付宝
- */
- public String getCat() {
- return cat;
- }
- /**
- * 设置类型,支付类型,0微信,1支付宝
- *
- * @param cat 类型,支付类型,0微信,1支付宝
- */
- public void setCat(String cat) {
- this.cat = cat == null ? null : cat.trim();
- }
- /**
- * 获取状态
- *
- * @return status - 状态
- */
- public String getStatus() {
- return status;
- }
- /**
- * 设置状态
- *
- * @param status 状态
- */
- public void setStatus(String status) {
- this.status = status == null ? null : status.trim();
- }
- /**
- * 获取新增时间
- *
- * @return create_time - 新增时间
- */
- public Date getCreateTime() {
- return createTime;
- }
- /**
- * 设置新增时间
- *
- * @param createTime 新增时间
- */
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- /**
- * 获取更新时间
- *
- * @return update_time - 更新时间
- */
- public Date getUpdateTime() {
- return updateTime;
- }
- /**
- * 设置更新时间
- *
- * @param updateTime 更新时间
- */
- public void setUpdateTime(Date updateTime) {
- this.updateTime = updateTime;
- }
- /**
- * 获取退款金额
- *
- * @return refund - 退款金额
- */
- public Float getRefund() {
- return refund;
- }
- /**
- * 设置退款金额
- *
- * @param refund 退款金额
- */
- public void setRefund(Float refund) {
- this.refund = refund;
- }
- /**
- * 获取退款单号
- *
- * @return refund_no - 退款单号
- */
- public String getRefundNo() {
- return refundNo;
- }
- /**
- * 设置退款单号
- *
- * @param refundNo 退款单号
- */
- public void setRefundNo(String refundNo) {
- this.refundNo = refundNo == null ? null : refundNo.trim();
- }
- /**
- * 获取订单id
- *
- * @return order_id - 订单id
- */
- public String getOrderId() {
- return orderId;
- }
- /**
- * 设置订单id
- *
- * @param orderId 订单id
- */
- public void setOrderId(String orderId) {
- this.orderId = orderId == null ? null : orderId.trim();
- }
- /**
- * 获取回调信息
- *
- * @return notify_info - 回调信息
- */
- public String getNotifyInfo() {
- return notifyInfo;
- }
- /**
- * 设置回调信息
- *
- * @param notifyInfo 回调信息
- */
- public void setNotifyInfo(String notifyInfo) {
- this.notifyInfo = notifyInfo == null ? null : notifyInfo.trim();
- }
- }
|