package com.red.circle.other.inner.model.dto.agency.logs;

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.experimental.Accessors;

/**
 * 团队关键日志.
 *
 * @author pengshigang on 2023/4/12
 */
@Data
@Accessors(chain = true)
public class TeamImportanceLogDTO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 团队系统.
   */
  private String sysOrigin;

  /**
   * 原因.
   */
  private String remarks;

  /**
   * 关联id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long associateId;

  /**
   * 被处理用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long beProcessUserId;

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

  /**
   * 创建用户.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long createUser;

  /**
   * 创建用户来源：0 app、1 后台.
   */
  private Integer createUserOrigin;

  /**
   * 过期时间.
   */
  private Timestamp expiredTime;

}
