package com.zcloud.basic.info.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.*;

/**
 * web-client
 *
 * @Author SondonYong
 * @Date 2025-12-06 11:26:35
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProblemFeedbackUpdateCmd extends Command {
    @ApiModelProperty(value = "主键id", name = "id", required = true)
    @NotNull(message = "主键id不能为空")
    private Long id;
    @ApiModelProperty(value = "业务主键id", name = "problemId", required = true)
    @NotEmpty(message = "业务主键id不能为空")
    private String problemId;
    @ApiModelProperty(value = "标题", name = "title", required = true)
    @NotEmpty(message = "标题不能为空")
    private String title;
    @ApiModelProperty(value = "问题类型", name = "type", required = true)
    @NotEmpty(message = "问题类型不能为空")
    private String type;
    @ApiModelProperty(value = "问题类型名称", name = "typeName", required = true)
    @NotEmpty(message = "问题类型名称不能为空")
    private String typeName;
    @ApiModelProperty(value = "反馈", name = "feedback", required = true)
    @NotEmpty(message = "反馈不能为空")
    private String feedback;
}

