提交知识新增
parent
74d89f37d1
commit
99531ba68f
@ -0,0 +1,14 @@
|
||||
package com.supervision.knowsub.entity.vo.knowledge;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class KnowLedgeLinkVO {
|
||||
|
||||
@Schema(description = "链接名称")
|
||||
private String linkName;
|
||||
|
||||
@Schema(description = "链接地址")
|
||||
private String linkUrl;
|
||||
}
|
@ -1,8 +1,56 @@
|
||||
package com.supervision.knowsub.entity.vo.knowledge;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class SaveKnowLedgeReqVO {
|
||||
|
||||
@Schema(description = "报送人ID")
|
||||
private String userId;
|
||||
|
||||
@Schema(description = "报送部门ID")
|
||||
private String submittedDeptId;
|
||||
|
||||
@Schema(description = "标题")
|
||||
private String title;
|
||||
|
||||
@Schema(description = "HTML富文本的内容")
|
||||
private String content;
|
||||
|
||||
@Schema(description = "摘要")
|
||||
private String excerpt;
|
||||
|
||||
@Schema(description = "相关附件列表")
|
||||
private List<String> fileIdList;
|
||||
|
||||
@Schema(description = "链接列表")
|
||||
private List<KnowLedgeLinkVO> linkList;
|
||||
|
||||
@Schema(description = "发布部门")
|
||||
private String publishDept;
|
||||
|
||||
@Schema(description = "发文时间")
|
||||
private String publishTime;
|
||||
|
||||
@Schema(description = "时效性 1长期有效 2临时有效")
|
||||
private Integer timeliness;
|
||||
|
||||
@Schema(description = "到期自动失效 1到期自动失效")
|
||||
private Integer autoLoseEffect;
|
||||
|
||||
@Schema(description = "所属地域")
|
||||
private String territory;
|
||||
|
||||
@Schema(description = "政策类型")
|
||||
private String policyType;
|
||||
|
||||
@Schema(description = "知识标签")
|
||||
private String knowLedgeTag;
|
||||
|
||||
@Schema(description = "公开范围 1公开 2不公开")
|
||||
private String publishScope;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue