package org.qinan.safetyeval.client.co;

import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 人员离职申请CO（Client Object）
 *
 * @author safety-eval
 */
@Data
public class OrgResignApplyCO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "人员ID")
    private Long personnelId;

    @ApiModelProperty(value = "申请人姓名")
    private String applicantName;

    @ApiModelProperty(value = "申请时间")
    private LocalDateTime applyTime;

    @ApiModelProperty(value = "离职原因")
    private String resignReason;

    @ApiModelProperty(value = "预计离职日期")
    private LocalDate expectedResignDate;

    @ApiModelProperty(value = "报告文件地址")
    private String reportFileUrl;

    @ApiModelProperty(value = "离职申请审核状态编码(0未审核1已审核)")
    private Integer auditStatusCode;

    @ApiModelProperty(value = "审核状态名称")
    private String auditStatusName;

    @ApiModelProperty(value = "打回原因")
    private String rejectReason;

    @ApiModelProperty(value = "申请备注")
    private String remark;

    @ApiModelProperty(value = "人员账号（列表展示，非持久化）")
    private String account;

    @ApiModelProperty(value = "部门名称（列表展示，非持久化）")
    private String deptName;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;
}
