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;
import java.time.LocalDate;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@Where(clause = "del = 0")
@ApiModel(value = "活动安排")
public class PerformanceSchedule extends BaseEntity {
    private Long performanceId;

    @ApiModelProperty(value = "内容")
    private String content;

    private LocalDate date;

    private String address;
}
