收藏内容
This commit is contained in:
parent
7c92f8dd74
commit
9e1db88f87
@ -15,6 +15,9 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
|
|||||||
@ToString(callSuper = true)
|
@ToString(callSuper = true)
|
||||||
public class Star2PageReqVO extends PageParam {
|
public class Star2PageReqVO extends PageParam {
|
||||||
|
|
||||||
|
@Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "16811")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
@Schema(description = "知识id", example = "27650")
|
@Schema(description = "知识id", example = "27650")
|
||||||
private Long kowsmId;
|
private Long kowsmId;
|
||||||
|
|
||||||
@ -28,4 +31,4 @@ public class Star2PageReqVO extends PageParam {
|
|||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -12,6 +12,10 @@ import com.alibaba.excel.annotation.*;
|
|||||||
@ExcelIgnoreUnannotated
|
@ExcelIgnoreUnannotated
|
||||||
public class Star2RespVO {
|
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")
|
@Schema(description = "知识id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27650")
|
||||||
@ExcelProperty("知识id")
|
@ExcelProperty("知识id")
|
||||||
private Long kowsmId;
|
private Long kowsmId;
|
||||||
|
@ -9,6 +9,9 @@ import javax.validation.constraints.*;
|
|||||||
@Data
|
@Data
|
||||||
public class Star2SaveReqVO {
|
public class Star2SaveReqVO {
|
||||||
|
|
||||||
|
@Schema(description = "id", example = "16811")
|
||||||
|
private Long id;
|
||||||
|
|
||||||
@Schema(description = "知识id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27650")
|
@Schema(description = "知识id", requiredMode = Schema.RequiredMode.REQUIRED, example = "27650")
|
||||||
@NotNull(message = "知识id不能为空")
|
@NotNull(message = "知识id不能为空")
|
||||||
private Long kowsmId;
|
private Long kowsmId;
|
||||||
|
Loading…
Reference in New Issue
Block a user