package com.red.circle.other.inner.model.dto.approval;

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

/**
 * <p>
 * 审批用户设置资料信息.
 * </p>
 *
 * @author houyong
 * @since 2020-12-09
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ApprovalUserSettingDataDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 用户id.
   */
  private Long userId;

  /**
   * 审批类型.
   */
  private String approveType;

  /**
   * 审批状态.
   */
  private String approveStatus;

  /**
   * 机器标签.
   */
  private String machineLabel;

  /**
   * 不通过次数.
   */
  private Integer notPassSize;

  private Timestamp createTime;

  private Timestamp updateTime;

  private Long createUser;

  private Long updateUser;
}
