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

import com.baomidou.mybatisplus.annotation.*;
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 SondonYong
 * @Date 2025-10-31 17:24:04
 */
@Data
@TableName("post")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class PostDO extends BaseDO {
    //业务主键id
    @ApiModelProperty(value = "业务主键id")
    private String postId;
    //部门id
    @ApiModelProperty(value = "部门id")
    private Long departmentId;
    //岗位名称
    @ApiModelProperty(value = "岗位名称")
    private String postName;
    //岗位职责
    @ApiModelProperty(value = "岗位职责")
    private String remarks;
    //状态 1-启用, 2-禁用
//    @ApiModelProperty(value = "状态 1-启用, 2-禁用")
//    private Integer status;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //企业名称
    @ApiModelProperty(value = "企业名称")
    private String corpinfoName;
    //是否监管岗位 1-是, 2-不是
//    @ApiModelProperty(value = "是否监管岗位 0-否, 1-是")
//    private Integer supervisionFlag;

    public PostDO(String postId) {
        this.postId = postId;
    }

}

