package com.zcloud.domain.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:30:46
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProjectTaskSetScoreCmd implements Serializable {
    @ApiModelProperty(value = "主键", name = "id", required = true)
    @NotNull(message = "主键不能为空")
    private Long id;

    @ApiModelProperty(value = "评分", name = "score", required = true)
    @NotNull(message = "评分不能为空")
    private BigDecimal score;
}

