package com.izouma.wenlvju.domain;

import com.izouma.wenlvju.enums.ApplyStatus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@ApiModel(value = "展演报名")
public class PerformanceApply extends BaseEntity {
    private Long          performanceId;
    @ApiModelProperty(value = "作品名称")
    private String        composition;
    @ApiModelProperty(value = "专业")
    private String        professional;
    @ApiModelProperty(value = "指导老师")
    private String        teacher;
    @ApiModelProperty(value = "选送机构")
    private String        agency;
    @ApiModelProperty(value = "联系人")
    private String        contact;
    @ApiModelProperty(value = "联系电话")
    private String        phone;
    @Enumerated(EnumType.STRING)
    @ApiModelProperty(value = "状态")
    private ApplyStatus   status;
    @ApiModelProperty(value = "表演时间")
    private LocalDateTime showTime;
    @ApiModelProperty(value = "奖项")
    private String        awards;
    private Integer       score;

}
