package com.red.circle.other.app.dto.clientobject.material;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.math.BigDecimal;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户表情背包.
 *
 * @author pengliang on 2021/10/25
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserEmojiBagCO extends ClientObject {

  private static final long serialVersionUID = 1L;

  /**
   * 分组id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 来源系统.
   */
  private String sysOrigin;

  /**
   * 分组code.
   */
  private String groupCode;

  /**
   * 分组名称.
   */
  private String groupName;

  /**
   * 封面图.
   */
  private String cover;

  /**
   * true 拥有，false 不拥有.
   */
  private Boolean have;

  /**
   * 售价.
   */
  private BigDecimal amount;

  /**
   * 表情包.
   */
  private List<EmojiConfigCO> emojis;

}
