package com.ssm.manage.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.entity.BlackList;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import java.util.Date;


/**
 * (BlackList)Vo类
 *
 * @author makejava
 * @since 2023-12-20 11:41:45
 */
@Data
@ApiModel(value = "Vo")
@JsonIgnoreProperties(ignoreUnknown = true)
public class BlackListVo extends BlackList {
    /**
     * 离职类型
     * 0 - 自离
     * 1 - 辞退
     * 2 - 辞职
     */
    private Integer leavetype;
    /**
     * 离职原因
     */
    private String reason;
    private String remark;
    /**
     * 0未推送北森/1系统自动推送/2人工推送
     */
    @Column(name = "is_zhongkong")
    @ApiModelProperty(name = "is_zhongkong", value = "0未推送北森/1系统自动推送/2人工推送")
    private Integer isZhongkong;
    /**
     * 0未推送北森/1系统自动推送/2人工推送
     */
    @Column(name = "is_beisen")
    @ApiModelProperty(name = "isBeisen", value = "0未推送北森/1系统自动推送/2人工推送")
    private Integer isBeisen;
    /**
     * 0入职/1已离职
     */
    @Column(name = "beisen_dimission")
    @ApiModelProperty(name = "beisen_dimission", value = "0入职/1已离职")
    private Integer beisenDimission;
    /**
     * 0入职/1已离职
     */
    @Column(name = "zhongkong_dimission")
    @ApiModelProperty(name = "zhongkong_dimission", value = "0入职/1已离职")
    private Integer zhongkongDimission;

    /**
     * 推送中控部门id
     */
    @Column(name = "zhongkong_dept_id")
    @ApiModelProperty(name = "zhongkongDeptId", value = "推送中控部门id")
    private Integer zhongkongDeptId;

    /**
     * 推送中控部门编码
     */
    @Column(name = "zhongkong_dept_num")
    @ApiModelProperty(name = "zhongkongDeptNum", value = "推送中控部门编码")
    private String zhongkongDeptNum;

    /**
     * 推送中控部门名称
     */
    @Column(name = "zhongkong_dept_name")
    @ApiModelProperty(name = "zhongkongDeptName", value = "推送中控部门名称")
    private String zhongkongDeptName;

    /**
     * 推送中北森部门id
     */
    @Column(name = "beisen_dept_id")
    @ApiModelProperty(name = "beisenDeptId", value = "推送北森部门id")
    private Integer beisenDeptId;

    /**
     * 推送北森部门编码
     */
    @Column(name = "beisen_dept_num")
    @ApiModelProperty(name = "beisenDeptNum", value = "推送北森部门编码")
    private String beisenDeptNum;

    /**
     * 推送北森部门名称
     */
    @Column(name = "beisen_dept_name")
    @ApiModelProperty(name = "beisenDeptName", value = "推送北森部门名称")
    private String beisenDeptName;

    /**
     * 结束时间
     */
    @Column(name = "end_time")
    @ApiModelProperty(name = "endTime", value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    /**
     * 结束时间
     */
    @Column(name = "ruzhi_time")
    @ApiModelProperty(name = "ruzhiTime", value = "结束时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date ruzhiTime;

    /**
     * 一级部门名称
     */
    private String firstDeptName;

    /**
     * 二级部门名称
     */
    private String secondDeptName;

    /**
     * 黑名单原因
     */
    private String blacklistReasons;
}
