package com.izouma.wenlvju.domain;

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")
public class Award extends BaseEntity {
    @ApiModelProperty(value = "奖项名称")
    private String name;

    @ApiModelProperty(value = "奖项描述")
    private String description;

    @ApiModelProperty(value = "级别")
    private int level;
}
