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

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

/**
 * web-infrastructure
 *
 * @Author zhangyue
 * @Date 2025-11-06 19:15:37
 */
@Data
@TableName("user_employment_log")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class UserEmploymentLogDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String userEmploymentLogId;
    //用户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-在职 0-离职
    @ApiModelProperty(value = "入职状态，1-在职 0-离职")
    private Integer employmentFlag;

    public UserEmploymentLogDO(String userEmploymentLogId) {
        this.userEmploymentLogId = userEmploymentLogId;
    }

}

