
package com.hotent.baseInfo.resp;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hotent.base.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 被监审单位
 */
@ApiModel(value = "AuditedUnit", description = "被监审单位详情响应类")
@Data
public class AuditedUnitDetailResp {

  //  @TableId(value = "unit_id", type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键")
    @JsonProperty("unitId")
    private String unitId;

  /**
   * 法人代表
   */
  //@TableField("corporate_representative")
  @ApiModelProperty(name="corporateRepresentative",notes="法人代表")
  protected  String corporateRepresentative;

    //@TableField("unit_name")
    @ApiModelProperty("被监审单位名称")
    @JsonProperty("unitName")
    private String unitName;

    //@TableField("social_credit_code")
    @ApiModelProperty("社会信用代码")
    @JsonProperty("socialCreditCode")
    private String socialCreditCode;

    //@TableField("region_level")
    @ApiModelProperty("单位级别：省/市/县")
    @JsonProperty("areaLevel")
    private String areaLevel;

    //@TableField("region_code")
    @ApiModelProperty("所属区域代码")
    @JsonProperty("areaCode")
    private String areaCode;

    //@TableField("address")
    @ApiModelProperty("办公地址")
    @JsonProperty("address")
    private String address;

    //@TableField("entity_type")
    @ApiModelProperty("主体性质：母公司/本部/子公司/关联单位")
    @JsonProperty("entityType")
    private String entityType;

    //@TableField("related_units")
    @ApiModelProperty("关联子单位（逗号分隔ID）")
    @JsonProperty("relatedUnits")
    private String relatedUnits;

    //@TableField("related_items")
    @ApiModelProperty("关联监审项目（逗号分隔编码）")
    @JsonProperty("relatedItems")
    private String relatedItems;

    //@TableField("contact_name")
    @ApiModelProperty("联系人")
    @JsonProperty("contactName")
    private String contactName;

    //@TableField("contact_mobile")
    @ApiModelProperty("联系手机")
    @JsonProperty("contactMobile")
    private String contactMobile;

    //@TableField("email")
    @ApiModelProperty("电子邮箱")
    @JsonProperty("email")
    private String email;

    //@TableField("postal_code")
    @ApiModelProperty("邮政编码")
    @JsonProperty("postalCode")
    private String postalCode;

    //@TableField("account")
    @ApiModelProperty("账号")
    @JsonProperty("account")
    private String account;

    //@TableField("password")
    @ApiModelProperty("密码（加密存储）")
    @JsonProperty("password")
    private String password;

    //@TableField("status")
    @ApiModelProperty("状态：1启用 0停用")
    @JsonProperty("status")
    private Integer status;

    //@TableField("is_deleted")
    @ApiModelProperty("逻辑删除")
    @JsonProperty("isDeleted")
    private String isDeleted;

    @ApiModelProperty(value = "创建时间")
    //@TableField(value = "create_time", fill = FieldFill.INSERT)
    @JsonProperty("createTime")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    //@TableField(value = "create_by", fill = FieldFill.INSERT)
    @JsonProperty("createBy")
    private String createBy;

    @ApiModelProperty(value = "更新时间")
    //@TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JsonProperty("updateTime")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    //@TableField(value = "update_by", fill = FieldFill.INSERT_UPDATE)
    @JsonProperty("updateBy")
    private String updateBy;


  @ApiModelProperty(value = "所属省")
  @JsonProperty("province")
  private String province;

  @ApiModelProperty(value = "所属市")
  @JsonProperty("city")
  private String city;

  @ApiModelProperty(value = "所属区、县")
  @JsonProperty("county")
  private String county;

}


