package com.emotion.dto.request.growth;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.time.LocalDateTime;

/**
 * 成长话题创建请求
 * 
 * @author huazhongmin
 * @date 2025-09-08
 */
@Data
public class GrowthTopicCreateRequest {

    /**
     * 课题标题
     */
    @NotBlank(message = "标题不能为空")
    @Size(max = 100, message = "标题长度不能超过100个字符")
    private String title;

    /**
     * 描述
     */
    @Size(max = 500, message = "描述长度不能超过500个字符")
    private String description;

    /**
     * 分类
     */
    @NotBlank(message = "分类不能为空")
    @Size(max = 50, message = "分类长度不能超过50个字符")
    private String category;

    /**
     * 难度等级
     */
    @NotBlank(message = "难度等级不能为空")
    @Size(max = 20, message = "难度等级长度不能超过20个字符")
    private String difficultyLevel;

    /**
     * 标签
     */
    @Size(max = 200, message = "标签长度不能超过200个字符")
    private String tags;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;
}