package org.qinan.safetyeval.client.co;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 资质备案申请CO（Client Object）
 *
 * @author safety-eval
 */
@Data
public class QualFilingCO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "备案地区编码")
    private String filingTerritoryCode;

    @ApiModelProperty(value = "备案地区名称")
    private String filingTerritoryName;

    @ApiModelProperty(value = "备案单位名称")
    private String filingUnitName;

    @ApiModelProperty(value = "备案单位类型编码")
    private String filingUnitTypeCode;

    @ApiModelProperty(value = "备案单位类型名称")
    private String filingUnitTypeName;

    @ApiModelProperty(value = "备案编号")
    private String filingNo;

    @ApiModelProperty(value = "经营范围")
    private String businessScope;

    @ApiModelProperty(value = "注册地址")
    private String registerAddress;

    @ApiModelProperty(value = "办公地址")
    private String officeAddress;

    @ApiModelProperty(value = "统一社会信用代码")
    private String creditCode;

    @ApiModelProperty(value = "资质证书编号")
    private String qualCertNo;

    @ApiModelProperty(value = "法定代表人电话")
    private String legalPersonPhone;

    @ApiModelProperty(value = "联系电话")
    private String contactPhone;

    @ApiModelProperty(value = "信息公开网址")
    private String infoDisclosureUrl;

    @ApiModelProperty(value = "固定资产总额")
    private Long fixedAssetAmount;

    @ApiModelProperty(value = "档案室面积")
    private BigDecimal archiveRoomArea;

    @ApiModelProperty(value = "专职评价人员数量")
    private Integer fulltimeEvaluatorCount;

    @ApiModelProperty(value = "注册安全工程师数量")
    private Integer registeredEngineerCount;

    @ApiModelProperty(value = "办公场所面积")
    private BigDecimal workplaceArea;

    @ApiModelProperty(value = "单位简介")
    private String unitIntro;

    @ApiModelProperty(value = "附件地址")
    private String attachmentUrl;

    @ApiModelProperty(value = "备案状态编码(1已备案2审核中3已打回4变更审核中5暂存)")
    private Integer filingStatusCode;

    @ApiModelProperty(value = "备案状态名称")
    private String filingStatusName;

    @ApiModelProperty(value = "申请类型编码(1资质备案申请2变更备案草稿3已备案资质填报)")
    private Integer applyTypeCode;

    @ApiModelProperty(value = "申请类型名称")
    private String applyTypeName;

    @ApiModelProperty(value = "变更次数（查询聚合，非表字段）")
    private Integer changeCount;

    @ApiModelProperty(value = "原始备案ID")
    private Long originFilingId;

    @ApiModelProperty(value = "打回原因")
    private String rejectReason;

    @ApiModelProperty(value = "审核id")
    private Long filingReviewId;

    @ApiModelProperty(value = "提交时间")
    private java.time.LocalDateTime submitTime;

    @ApiModelProperty(value = "审核通过时间")
    private java.time.LocalDateTime approveTime;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;
}
