package com.yeejoin.amos.boot.module.tcm.flc.api.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yeejoin.amos.boot.biz.common.constants.CommonConstant;
import com.yeejoin.amos.boot.biz.common.dto.BaseDto;
import com.yeejoin.amos.boot.module.common.api.dto.AttachmentDto;
import com.yeejoin.amos.boot.module.tcm.api.dto.FormValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.List;

/**
 * 企业人员信息表
 *
 * @author system_generator
 * @date 2021-11-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="UnitPersonInfoDto", description="企业人员信息表")
public class UnitPersonInfoDto extends BaseDto {

   private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "人员名称")
    private String bizOrgName;

    @ApiModelProperty(value = "人员编码")
    private String bizOrgCode;

    @ApiModelProperty(value = "amos中公司/部门ID")
    private String amosOrgId;

    @ApiModelProperty(value = "amos中公司/部门编码")
    private String amosOrgCode;

    @ApiModelProperty(value = "机构类型（部门：DEPARTMENT，单位：COMPANY，人员：PERSON）")
    private String bizOrgType = CommonConstant.BIZ_ORG_TYPE_PERSON;

    @ApiModelProperty(value = "所在单位")
    private String parentId;

    @ApiModelProperty(value = "所在单位名称")
    private String parentName;

    @ApiModelProperty(value = "用户名")
    private String orgExpandAttr1;

    @ApiModelProperty(value = "用户密码")
    private String orgExpandAttr2;

    @ApiModelProperty(value = "所属组织id")
    private String orgExpandAttr3;

    @ApiModelProperty(value = "管理应用")
    private String orgExpandAttr4;

    @ApiModelProperty(value = "角色")
    private String orgExpandAttr5;

    private String orgExpandAttr6;

    private String orgExpandAttr7;

    private String orgExpandAttr8;



    @ApiModelProperty(value = "更新人")
   @TableField(fill= FieldFill.INSERT_UPDATE)
   private String recUserName;

   @ApiModelProperty(value = "动态表单值")
   private List<DynamicFormInstance> dynamicFormValue;

   @ApiModelProperty(value = "资质信息")
   private PersonQualityDto personQualityDto;

   @ApiModelProperty(value = "培训教育信息")
   private PersonEducationDto personEducationDto;

    @ApiModelProperty(value = "证照图片")
    private List<AttachmentDto> licencePic;

    @ApiModelProperty(value = "头像")
    private List<AttachmentDto> headshot;

    @ApiModelProperty(value = "动态表单值")
    private List<FormValue> dynamicFormAlert;

    @ApiModelProperty(value = "二维码")
    private List<AttachmentDto> qrcode;


    @ApiModelProperty(value = "所属单位 监管端使用")
    private String organization;



}
