package com.izouma.wenlvju.domain;

import com.izouma.wenlvju.converter.StringArrayConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.Entity;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@Where(clause = "del = false")
public class RateExpertAudit extends BaseEntity {
//    private Long userId;

    private Long rateId;

    private String type;

    private int expertScore;

    private int score;

//    @ApiModelProperty(value = "考级组织")
//    private int examOrganization;
//    @ApiModelProperty(value = "考点设置")
//    private int examSite;
//    @ApiModelProperty(value = "考场设置")
//    private int examRoom;
//    @ApiModelProperty(value = "环境要求")
//    private int environment;
//    @ApiModelProperty(value = "安全保障")
//    private int safety;
//    @ApiModelProperty(value = "宣传报备")
//    private int promote;
//    @ApiModelProperty(value = "考级报名")
//    private int signUp;
//    @ApiModelProperty(value = "考试准备")
//    private int examPreparation;
//    @ApiModelProperty(value = "考场服务")
//    private int examService;
//    @ApiModelProperty(value = "考务考官")
//    private int examiner;
//    @ApiModelProperty(value = "考级规范")
//    private int specification;
//    @ApiModelProperty(value = "视频器材")
//    private int video;
//    @ApiModelProperty(value = "考试成绩")
//    private int score;
//    @ApiModelProperty(value = "艺术培训")
//    private int artTrain;
//    @ApiModelProperty(value = "艺术成果")
//    private int artResult;

    @Column(columnDefinition = "TEXT")
    @Convert(converter = StringArrayConverter.class)
    private List<String> img;

    private String remark;
}
