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

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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


/**
 * web-client
 *
 * @Author SondonYong
 * @Date 2025-10-31 17:24:04
 */
@Data
public class PostCO extends ClientObject {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    //部门id
    @ApiModelProperty(value = "部门id")
    private Long departmentId;
    //部门名称
    @ApiModelProperty(value = "部门名称")
    private String departmentName;
    //岗位名称
    @ApiModelProperty(value = "岗位名称")
    private String postName;
    // 岗位职责
    @ApiModelProperty(value = "岗位职责")
    private String remarks;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //企业名称
    @ApiModelProperty(value = "企业名称")
    private String corpinfoName;
    //是否监管岗位 1-是, 2-不是
//    @ApiModelProperty(value = "是否监管岗位0-否, 1-是")
//    private Integer supervisionFlag;
//    @ApiModelProperty(value = "监管部门数据权限-部门列表")
//    private List<PostDepartmentCO> departmentList;

    //乐观锁
    @ApiModelProperty(value = "乐观锁")
    private Integer version;
    //创建人
    @ApiModelProperty(value = "创建人")
    private Long createId;
    //创建人姓名
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    //创建时间
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    //更新人
    @ApiModelProperty(value = "更新人")
    private Long updateId;
    //修改人名称
    @ApiModelProperty(value = "修改人名称")
    private String updateName;
    //更新时间
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
    //是否删除
    @ApiModelProperty(value = "是否删除")
    private String deleteEnum;
    //租户id
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    //机构id
    @ApiModelProperty(value = "机构id")
    private Long orgId;
    //环境
    @ApiModelProperty(value = "环境")
    private String env;
}

