package com.red.circle.console.infra.database.rds.entity.app.register;

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 lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 常驻注册奖励配置.
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("resident_register_reward_config")
public class ResidentRegisterRewardConfig extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.INPUT)
  private Long id;

  @TableField("sys_origin")
  private String sysOrigin;

  @TableField("enabled")
  private Boolean enabled;

  @TableField("gold_amount")
  private Long goldAmount;

  @TableField("reward_group_id")
  private Long rewardGroupId;

  @TableField("daily_limit")
  private Long dailyLimit;
}
