package com.red.circle.other.inner.model.dto.material;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 徽章配置.
 * </p>
 *
 * @author pengliang
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BadgeConfigDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 徽章类型.
   */
  private String type;

  /**
   * 徽章等级.
   */
  private Integer badgeLevel;

  /**
   * 徽章可领取里程碑.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long milestone;

  /**
   * 徽章名称.
   */
  private String badgeName;

  /**
   * 徽章key.
   */
  private String badgeKey;

  /**
   * 0.未删除 1.已删除.
   */
  private Boolean del;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  private Long updateUser;
  private Long createUser;
}
