package com.red.circle.other.infra.database.rds.entity.approval;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 来源系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 用户id.
   */
  @TableField("user_id")
  private Long userId;

  /**
   * 审批类型.
   */
  @TableField("approve_type")
  private String approveType;

  /**
   * 审批状态.
   */
  @TableField("approve_status")
  private String approveStatus;

  /**
   * 机器标签.
   */
  @TableField("machine_label")
  private String machineLabel;

  /**
   * 不通过次数.
   */
  @TableField("not_pass_size")
  private Integer notPassSize;

}
