llm-survey/backend/src/main/java/ltd/qubit/survey/model/Option.java

40 lines
562 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package ltd.qubit.survey.model;
import java.time.Instant;
import lombok.Data;
/**
* 问题选项实体类
*/
@Data
public class Option {
/**
* 选项ID
*/
private Long id;
/**
* 关联的问题ID
*/
private Long questionId;
/**
* 选项代码如A、B、C
*/
private String code;
/**
* 选项内容
*/
private String content;
/**
* 是否需要填写文本
*/
private Boolean requiresText;
/**
* 创建时间
*/
private Instant createdAt;
}