content: package io.github.xxyopen.novel.user.dao.entity;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  
  import java.io.Serializable;
  import java.time.LocalDateTime;
  
  /**
   * <p>
   * 用户充值记录
   * </p>
   *
   * @author xiongxiaoyang
   * @date 2022/05/11
   */
  @TableName("user_pay_log")
  public class UserPayLog implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 充值用户ID
       */
      private Long userId;
  
      /**
       * 充值方式;0-支付宝 1-微信
       */
      private Integer payChannel;
  
      /**
       * 商户订单号
       */
      private String outTradeNo;
  
      /**
       * 充值金额;单位：分
       */
      private Integer amount;
  
      /**
       * 充值商品类型;0-屋币 1-包年VIP
       */
      private Integer productType;
  
      /**
       * 充值商品ID
       */
      private Long productId;
  
      /**
       * 充值商品名;示例值：屋币
       */
      private String productName;
  
      /**
       * 充值商品值;示例值：255
       */
      private Integer productValue;
  
      /**
       * 充值时间
       */
      private LocalDateTime payTime;
  
      /**
       * 创建时间
       */
      private LocalDateTime createTime;
  
      /**
       * 更新时间
       */
      private LocalDateTime updateTime;
  
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public Long getUserId() {
          return userId;
      }
  
      public void setUserId(Long userId) {
          this.userId = userId;
      }
  
      public Integer getPayChannel() {
          return payChannel;
      }
  
      public void setPayChannel(Integer payChannel) {
          this.payChannel = payChannel;
      }
  
      public String getOutTradeNo() {
          return outTradeNo;
      }
  
      public void setOutTradeNo(String outTradeNo) {
          this.outTradeNo = outTradeNo;
      }
  
      public Integer getAmount() {
          return amount;
      }
  
      public void setAmount(Integer amount) {
          this.amount = amount;
      }
  
      public Integer getProductType() {
          return productType;
      }
  
      public void setProductType(Integer productType) {
          this.productType = productType;
      }
  
      public Long getProductId() {
          return productId;
      }
  
      public void setProductId(Long productId) {
          this.productId = productId;
      }
  
      public String getProductName() {
          return productName;
      }
  
      public void setProductName(String productName) {
          this.productName = productName;
      }
  
      public Integer getProductValue() {
          return productValue;
      }
  
      public void setProductValue(Integer productValue) {
          this.productValue = productValue;
      }
  
      public LocalDateTime getPayTime() {
          return payTime;
      }
  
      public void setPayTime(LocalDateTime payTime) {
          this.payTime = payTime;
      }
  
      public LocalDateTime getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
  
      public LocalDateTime getUpdateTime() {
          return updateTime;
      }
  
      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
  
      @Override
      public String toString() {
          return "UserPayLog{" +
          "id=" + id +
          ", userId=" + userId +
          ", payChannel=" + payChannel +
          ", outTradeNo=" + outTradeNo +
          ", amount=" + amount +
          ", productType=" + productType +
          ", productId=" + productId +
          ", productName=" + productName +
          ", productValue=" + productValue +
          ", payTime=" + payTime +
          ", createTime=" + createTime +
          ", updateTime=" + updateTime +
          "}";
      }
  }
  