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.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 道具发送日志.
 * </p>
 *
 * @author pengshigang
 * @since 2021-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class PropsSendLogDTO implements Serializable {

  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 groupId;

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

  /**
   * 明细类型.
   */
  private String detailType;

  /**
   * 内容.
   */
  private String content;

  /**
   * 数量.
   */
  private Integer quantity;

  /**
   * 来源.
   */
  private String origin;

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

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

}
