收藏内容

This commit is contained in:
XaoLi717 2024-08-02 09:11:11 +08:00
parent 7c92f8dd74
commit 9e1db88f87
3 changed files with 11 additions and 1 deletions

View File

@ -15,6 +15,9 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
@ToString(callSuper = true)
public class Star2PageReqVO extends PageParam {
@Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16811")
private Long id;
@Schema(description = "知识id", example = "27650")
private Long kowsmId;

View File

@ -12,6 +12,10 @@ import com.alibaba.excel.annotation.*;
@ExcelIgnoreUnannotated
public class Star2RespVO {
@Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16811")
@ExcelProperty("id")
private Long id;
@Schema(description = "知识id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27650")
@ExcelProperty("知识id")
private Long kowsmId;

View File

@ -9,6 +9,9 @@ import javax.validation.constraints.*;
@Data
public class Star2SaveReqVO {
@Schema(description = "id", example = "16811")
private Long id;
@Schema(description = "知识id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27650")
@NotNull(message = "知识id不能为空")
private Long kowsmId;