package com.zcloud.basic.info.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-12-03 10:21:58
 */
@Data
public class UserCorpRecordCO extends ClientObject {
    //主键id
    @ApiModelProperty(value = "主键id")
    private Long id;
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String userCorpRecordId;
    //用户id
    @ApiModelProperty(value = "用户id")
    private Long userId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //企业名称
    @ApiModelProperty(value = "企业名称")
    private String corpinfoName;
    //部门id
    @ApiModelProperty(value = "部门id")
    private Long departmentId;
    //部门名称
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
    //岗位id
    @ApiModelProperty(value = "岗位id")
    private Long postId;
    //岗位名称
    @ApiModelProperty(value = "岗位名称")
    private String postName;
    //审批状态，1-待审批, 2-通过,3-驳回
    @ApiModelProperty(value = "审批状态，1-待审批, 2-通过,3-驳回")
    private Integer status;
    //入职状态，1-在职 0-离职
    @ApiModelProperty(value = "入职状态，1-在职 0-离职,")
    private Integer employmentFlag;
    //开始时间
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;
    //结束时间
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty(value = "离职原因")
    private String resignationReason;
    @ApiModelProperty(value = "用户id")
    private String userName;

    @ApiModelProperty(value = "工作交接记录信息")
    private List<UserJobHandoverCO> userJobHandoverCOList;


}

