package org.qinan.safetyeval.infrastructure.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 机构信息数据对象
 *
 * @author safety-eval
 */
@Data
@TableName("org_info")
public class OrgInfoDO {

    private Long id;
    private String unitName;
    private String creditCode;
    private String safetyIndustryCategoryCode;
    private String safetyIndustryCategoryName;
    private String districtCode;
    private String districtName;
    private String townStreet;
    private String villageCommunity;
    private BigDecimal longitude;
    private BigDecimal latitude;
    private String registerAddress;
    private String businessAddress;
    private String ownershipTypeCode;
    private String ownershipTypeName;
    private String legalRepresentative;
    private String legalRepresentativePhone;
    private String principalName;
    private String principalPhone;
    private String safetyDeptManager;
    private String safetyDeptManagerPhone;
    private String safetyDeputyPhone;
    private LocalDate productionDate;
    private Integer businessStatusCode;
    private String businessStatusName;
    private String infoDisclosureUrl;
    private BigDecimal workplaceArea;
    private BigDecimal archiveRoomArea;
    private Integer fulltimeEvaluatorCount;
    private Integer registeredEngineerCount;
    private String economyIndustryCode;
    private String economyIndustryName;
    private Integer authStatusCode;
    private String authStatusName;
    private Integer enterpriseStatusCode;
    private String enterpriseStatusName;
    private String enterpriseScaleCode;
    private String enterpriseScaleName;
    private String filingTypeCode;
    private String filingTypeName;
    private Integer filingRecordStatusCode;
    private String filingRecordStatusName;
    private String attachmentUrls;
    private Integer state;

    // ---- GBS默认字段 ----
    private String deleteEnum;
    private String remarks;
    private String createName;
    private String updateName;
    private Long tenantId;
    private Long orgId;
    private Integer version;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createId;
    private Long updateId;
    private String env;
}
