package com.emotion.dto.request.reward;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 奖励更新请求
 * 
 * @author huazhongmin
 * @date 2025-09-08
 */
@Data
public class RewardUpdateRequest {

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

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

    /**
     * 奖励值
     */
    @Size(max = 100, message = "奖励值长度不能超过100个字符")
    private String value;

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

    /**
     * 课题ID
     */
    private String topicId;

    /**
     * 成就ID
     */
    private String achievementId;

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

    /**
     * 稀有度
     */
    @Size(max = 20, message = "稀有度长度不能超过20个字符")
    private String rarity;

    /**
     * 是否新获得
     */
    private Integer isNew;
}