package com.cyksj.model.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/*
 *项目名: netflix
 *文件名: QuestionnairePromotion
 *创建者: JavaZou
 *创建时间:2023/6/12 17:17
 */
@Getter
@Setter
public class QuestionnairePromotion extends BaseEntity{
	@NotNull(message = "模板id为空")
	private Long templateId;

	@NotEmpty(message = "问卷活动名称为空")
	@Length(max = 100)
	private String name;

	private String remark;

	private Boolean deleted;

	private Boolean status;

	/**
	 * 是否上架过
	 */
	private Boolean isUp;
}
