package com.red.circle.other.infra.database.rds.entity.activity;

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

/**
 * <p>
 * 活动道具规则配置.
 * </p>
 *
 * @author pengshigang
 * @since 2021-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("props_activity_rule_config")
public class PropsActivityRuleConfig extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 活动类型.
   */
  @TableField("activity_type")
  private String activityType;

  /**
   * 资源组ID.
   */
  @TableField("resource_group_id")
  private Long resourceGroupId;

  /**
   * 数据.
   */
  @TableField("json_data")
  private String jsonData;

  /**
   * 排序.
   */
  @TableField("sort")
  private Integer sort;

  /**
   * 规则描述.
   */
  @TableField("rule_description")
  private String ruleDescription;

  /**
   * 0.未删除 1.已删除.
   */
  @TableField("is_del")
  private Boolean del;

}
