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 GrowthTopicUpdateRequest {

    /**
     * ID
     */
    @NotBlank(message = "ID不能为空")
    private String id;

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

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

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

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

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

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