package com.cyksj.model.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;

/*
 *项目名: netflix
 *文件名: QuestionResponseRecord
 *创建者: JavaZou
 *创建时间:2023/5/31 18:04
 */
@Getter
@Setter
public class QuestionResponseRecord extends BaseEntity{
	private Long userId;

	private String nickname;

	private String topic;

	@NotEmpty(message = "问题为空")
	private String question;

	@NotEmpty(message = "选项为空")
	@JsonProperty("uOption")
	private String uOption;
}
