|
|
@@ -0,0 +1,75 @@
|
|
|
+package com.izouma.artExamination.domain;
|
|
|
+
|
|
|
+import cn.hutool.core.bean.BeanUtil;
|
|
|
+import com.izouma.artExamination.dto.GradingOrganizationDTO;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import lombok.AllArgsConstructor;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+import org.hibernate.annotations.Where;
|
|
|
+
|
|
|
+import javax.persistence.Entity;
|
|
|
+import java.time.LocalDate;
|
|
|
+
|
|
|
+@Data
|
|
|
+@AllArgsConstructor
|
|
|
+@NoArgsConstructor
|
|
|
+@Entity
|
|
|
+@Where(clause = "del = 0")
|
|
|
+@ApiModel("考级机构")
|
|
|
+public class GradingOrganization extends BaseEntity {
|
|
|
+ private String uniqueCode;
|
|
|
+ @ApiModelProperty(value = "考级单位名称")
|
|
|
+ private String name;
|
|
|
+ @ApiModelProperty(value = "统一社会信用代码")
|
|
|
+ private String uscc;
|
|
|
+ @ApiModelProperty(value = "许可/备案证号")
|
|
|
+ private String certificateNo;
|
|
|
+ @ApiModelProperty(value = "首发日期")
|
|
|
+ private LocalDate firstIssueAt;
|
|
|
+ @ApiModelProperty(value = "住所区划")
|
|
|
+ private String district;
|
|
|
+ @ApiModelProperty(value = "详细地址")
|
|
|
+ private String address;
|
|
|
+ @ApiModelProperty(value = "单位性质")
|
|
|
+ private String nature;
|
|
|
+ @ApiModelProperty(value = "法定代表人")
|
|
|
+ private String legalRepresentative;
|
|
|
+ @ApiModelProperty(value = "性别")
|
|
|
+ private boolean sex;
|
|
|
+ @ApiModelProperty(value = "证件类型")
|
|
|
+ private String documentType;
|
|
|
+ @ApiModelProperty(value = "证件号")
|
|
|
+ private String documentNo;
|
|
|
+ @ApiModelProperty(value = "移动电话")
|
|
|
+ private String phone;
|
|
|
+ @ApiModelProperty(value = "固定电话")
|
|
|
+ private String telephone;
|
|
|
+ @ApiModelProperty(value = "常设机构名称")
|
|
|
+ private String nameOfPermanentInstitution;
|
|
|
+ @ApiModelProperty(value = "通信详细地址")
|
|
|
+ private String communicationAddress;
|
|
|
+ @ApiModelProperty(value = "机构负责人")
|
|
|
+ private String head;
|
|
|
+ @ApiModelProperty(value = "负责人性别")
|
|
|
+ private String headSex;
|
|
|
+ @ApiModelProperty(value = "负责人职务")
|
|
|
+ private String headPosition;
|
|
|
+ @ApiModelProperty(value = "负责人政治面貌")
|
|
|
+ private String politicalAffiliation;
|
|
|
+ @ApiModelProperty(value = "负责人证件类型")
|
|
|
+ private String headDocumentType;
|
|
|
+ @ApiModelProperty(value = "负责人证件号码")
|
|
|
+ private String headDocumentNo;
|
|
|
+ @ApiModelProperty(value = "负责人移动电话")
|
|
|
+ private String headPhone;
|
|
|
+ @ApiModelProperty(value = "负责人固定电话")
|
|
|
+ private String headTelephone;
|
|
|
+ @ApiModelProperty(value = "单位传真")
|
|
|
+ private String fax;
|
|
|
+
|
|
|
+ public GradingOrganization(GradingOrganizationDTO dto) {
|
|
|
+ BeanUtil.copyProperties(this, dto);
|
|
|
+ }
|
|
|
+}
|