package com.zcloud.basic.info.persistence.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import com.jjb.saas.framework.repository.basedo.BaseDO;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * web-infrastructure
 *
 * @Author SondonYong
 * @Date 2025-12-02 14:08:56
 */
@Data
@TableName("user_job_handover")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserJobHandoverDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String userJobHandoverId;
    //用户变更记录id
    @ApiModelProperty(value = "用户变更记录id")
    private String userChangeRecordId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //用户id
    @ApiModelProperty(value = "用户id")
    private Long userId;
    //变更时间
    @ApiModelProperty(value = "变更时间")
    private Date changeTime;
    //工作类型，1:隐患信息
    @ApiModelProperty(value = "工作类型，1:隐患信息")
    private Integer workType;
    //外键id
    @ApiModelProperty(value = "外键id")
    private String foreignKey;
    //工作项目
    @ApiModelProperty(value = "工作项目")
    private String workProject;
    //工作内容
    @ApiModelProperty(value = "工作内容")
    private String workContent;
    //交接状态,1:关闭任务
    @ApiModelProperty(value = "交接状态,1:关闭任务")
    private Integer handoverStatus;
    //交接人企业id
    @ApiModelProperty(value = "交接人企业id")
    private Long handoverCompanyId;
    //交接人公司名称
    @ApiModelProperty(value = "交接人公司名称")
    private String handoverCompanyName;
    //交接人部门id
    @ApiModelProperty(value = "交接人部门id")
    private Long handoverDepartmentId;
    //交接人部门名称
    @ApiModelProperty(value = "交接人部门名称")
    private String handoverDepartmentName;
    //交接人岗位id
    @ApiModelProperty(value = "交接人岗位id")
    private Long handoverPostId;
    //交接人岗位名称
    @ApiModelProperty(value = "交接人岗位名称")
    private String handoverPostName;
    //交接人id
    @ApiModelProperty(value = "交接人id")
    private Long handoverUserId;
    //交接人名称
    @ApiModelProperty(value = "交接人名称")
    private String handoverUserName;

    public UserJobHandoverDO(String userJobHandoverId) {
        this.userJobHandoverId = userJobHandoverId;
    }

}

