package com.izouma.awesomeAdmin.domain;

import io.swagger.annotations.ApiModel;
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 name;

    private String uscc;

    private String certificateNo;

    private LocalDate  firstIssueAt;

    private String district;

    private String address;

    private String nature;

    private String legalRepresentative;

    private boolean sex;

    private String documentType;

    private String documentNo;

    private String phone;

    private String telephone;

    private String nameOfPermanentInstitution;

    private String communicationAddress;

    private String head;
}
