package com.izouma.wenlvju.domain;

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


@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@ApiModel("等级评定操作记录")
@Where(clause = "del = 0")
public class RateAudit extends BaseEntity {
    private Long rateId;

    private Long userId;

//    @Enumerated(EnumType.STRING)
    private String status;

    @Column(columnDefinition = "TEXT")
    private String remark;

    @ApiModelProperty(value = "等级评定/节目报名")
    private boolean programmeAudit;
}
