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

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.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_badge_picture_config")
public class BadgePictureConfig extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;


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

  /**
   * 徽章配置表ID.
   */
  @TableField(value = "badge_config_id")
  @JsonSerialize(using = ToStringSerializer.class)
  private Long badgeConfigId;

  /**
   * 来源系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 选中url.
   */
  @TableField("select_url")
  private String selectUrl;

  /**
   * 没有选中的url.
   */
  @TableField("not_select_url")
  private String notSelectUrl;

  /**
   * 动画链接.
   */
  @TableField("animation_url")
  private String animationUrl;


}
