package com.red.circle.order.infra.database.rds.entity.count;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户货运代理充值记录.
 * </p>
 *
 * @author zongpubin on 2023-11-23 12:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_recharge_record")
public class UserFreightRechargeRecord extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键id.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 系统平台.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 用户id.
   */
  @TableField("user_id")
  private Long userId;

  /**
   * 充值金额.
   */
  @TableField("amount")
  private BigDecimal amount;

  /**
   * 充值年月(yyyyMM).
   */
  @TableField("recharge_date")
  private Integer rechargeDate;

  /**
   * 区域.
   */
  @TableField("region_code")
  private String regionCode;


}
