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

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("invite_campaign_config")
public class InviteCampaignConfig 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("download_url")
  private String downloadUrl;

  @TableField("share_title")
  private String shareTitle;

  @TableField("share_desc")
  private String shareDesc;

  @TableField("service_contact")
  private String serviceContact;

  @TableField("timezone")
  private String timezone;

  @TableField("anti_cheat_same_ip_once")
  private Boolean antiCheatSameIpOnce;

  @TableField("anti_cheat_same_device_once")
  private Boolean antiCheatSameDeviceOnce;
}
