package com.panzhihua.service_community.entity; import java.math.BigDecimal; import java.util.Date; import java.io.Serializable; import lombok.Data; /** * 电动车商城-微信交易流水表(ComBatteryTradeOrder)实体类 * * @author lyq * @since 2022-04-01 13:18:49 */ @Data public class ComBatteryTradeOrder implements Serializable { private static final long serialVersionUID = -14656645981087019L; /** * 主键id */ private Long id; /** * 用户id */ private Long userId; /** * 用户openid */ private String openId; /** * 订单号 */ private String orderNo; /** * 订单状态(1.待支付 2.已支付 3.申请退款 4.已退款 5.已关闭) */ private Integer status; /** * 支付类型(1.微信 ) */ private Integer payType; /** * 订单支付状态(1.待支付 2.已支付) */ private Integer payStatus; /** * 订单金额 */ private BigDecimal orderAmount; /** * 实际支付金额 */ private BigDecimal payAmount; /** * 支付单号 */ private String payNo; /** * 支付时间 */ private Date payTime; /** * 交易类型(1.电动车商城购买商品) */ private Integer tradeType; /** * 交易业务订单id */ private Long tradeOrderId; /** * 交易业务订单号 */ private String tradeOrderNo; /** * 创建时间 */ private Date createAt; /** * 创建人 */ private Long createBy; /** * 修改时间 */ private Date updateAt; /** * 订单状态(1.待支付 2.已支付 3.申请退款 4.已退款 5.已关闭) */ public interface Status{ int DFZ = 1; int YZF = 2; int SQTK = 3; int YTK = 4; int YGB = 5; } /** * 支付类型(1.微信 ) */ public interface PayType{ int WX = 1; } /** * 订单支付状态(1.待支付 2.已支付) */ public interface PayStatus{ int DZF = 1; int YZF = 2; } /** * 交易类型(1.电动车商城购买商品) */ public interface TradeType{ int DDC_SHOP = 1; } }