123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- package com.zanxiang.mybatis.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- import lombok.NoArgsConstructor;
- import org.springframework.transaction.annotation.Transactional;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * @author : lingfeng
- * @time : 2022-06-06
- * @description : 支付表
- */
- @Data
- @NoArgsConstructor
- @AllArgsConstructor
- @TableName("h_order")
- public class Order {
- /**
- * 自增ID
- */
- @TableId(value = "id", type = IdType.ASSIGN_ID)
- private String id;
- /**
- * cpId
- */
- private String cpId;
- /**
- * CP订单号
- */
- private String cpOrderId;
- /**
- * 充值用户
- */
- // @NonNull
- private String userId;
- /**
- * 游戏玩家ID
- */
- private String mgUserId;
- /**
- * 游戏ID
- */
- // @NonNull
- private String gameId;
- /**
- * 货物总价
- */
- // @NonNull
- private BigDecimal amount;
- /**
- * 实际支付金额
- */
- private BigDecimal realAmount;
- /**
- * 游戏商品ID
- */
- private String productId;
- /**
- * 游戏商品数量
- */
- // @NonNull
- private Integer productCnt;
- /**
- * 游戏商品名称
- */
- // @NonNull
- private String productName;
- /**
- * 优惠券抵扣
- */
- private BigDecimal couponAmount;
- /**
- * 平台币使用金额
- */
- private BigDecimal ptbAmount;
- /**
- * 游戏币使用余额
- */
- private BigDecimal gmAmount;
- /**
- * 使用积分
- */
- private Integer integral;
- /**
- * 使用积分抵多少钱
- */
- private BigDecimal integralMoney;
- /**
- * 返利数量 默认为0
- */
- private BigDecimal rebateAmount;
- /**
- * 支付平台返回交易订单号
- */
- private String merchantOrderNo;
- /**
- * 支付状态,1待支付,2 支付成功,-1 已取消
- */
- private Integer status;
- /**
- * 支付方式
- */
- private String gamePaywayId;
- /**
- * 支付时间
- */
- private Date payTime;
- /**
- * 通知次数
- */
- private Integer cpNotifyCnt;
- /**
- * 最近通知时间
- */
- private Long lastCpNotifyTime;
- /**
- * 客服处理: 2正常; 1纠纷
- */
- private Integer isHandle;
- /**
- * 是否已分成 1未分成 2 已分成
- */
- private Integer isDistribute;
- /**
- * CP通知状态,1为待处理,2为成功,-1为失败
- */
- private Integer cpStatus;
- /**
- * CP附加参数
- */
- private String ext;
- /**
- * 用户备注
- */
- private String memNote;
- /**
- * 管理员备注
- */
- private String adminNote;
- /**
- * 订单成功备注信息
- */
- private String remark;
- /**
- * 渠道
- */
- private String channel;
- }
|