package com.izouma.wenlvju.domain.performance;

import com.izouma.wenlvju.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
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;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@Where(clause = "del = 0")
@ApiModel(value = "节目评审")
public class ProgrammeScore extends BaseEntity {
    private Long programmeId;

    private Double score;

    private LocalDateTime markAt;

    private Double score2;

    private LocalDateTime mark2At;

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

    private boolean second;

    private Long expertId;

}
