package com.izouma.wenlvju.domain.performance;

import com.izouma.wenlvju.domain.BaseEntity;
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.Entity;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@Where(clause = "del = 0")
@ApiModel(value = "节目奖项设置")
public class ProgrammeAward extends BaseEntity {

    private Long performanceId;

    private Long specialtyId;

    private Long awardId;

    @ApiModelProperty(value = "占比")
    private Double percentage;

    private long num;

    private String remark;
}
