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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户礼物背包-限制.
 * </p>
 *
 * @author pengshigang
 * @since 2021-07-14
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class GiftBackpackLimitCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

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

  /**
   * 用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  /**
   * 背包id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long backId;

  /**
   * 礼物类型.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private String giftTab;

  /**
   * 限制内容.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private String content;

}
