package com.red.circle.other.infra.database.cache.entity.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
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.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统用户友谊卡配置 - 缓存.
 * </p>
 *
 * @author pengshigang
 * @since 2022-6-9
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserFriendshipCardConfigCache implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 归属平台.
   */
  private String sysOrigin;

  /**
   * 卡片图片.
   */
  private String cardBack;

  /**
   * 卡片类型.
   */
  private String cardType;

  /**
   * 0.下架 1.上架.
   */
  private Boolean showcase;

  /**
   * 卡片金额.
   */
  private BigDecimal cardMoney;

}
