9 changed files with 207 additions and 2 deletions
			
			
		@ -0,0 +1,25 @@ | 
				
			|||||
 | 
					package com.epmet.dto.form; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import javax.validation.constraints.NotBlank; | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 编辑草稿-获取草稿内容、属性统一入参DTO | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author yinzuomei@elink-cn.com | 
				
			||||
 | 
					 * @date 2020/6/3 12:58 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class DraftDetailFormDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = 4492335656284426299L; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    public interface AddUserInternalGroup {} | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 草稿ID | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    @NotBlank(message = "草稿id不能为空", groups = {DraftDetailFormDTO.AddUserInternalGroup.class}) | 
				
			||||
 | 
					    private String draftId; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,45 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 描述一下 | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author yinzuomei@elink-cn.com | 
				
			||||
 | 
					 * @date 2020/6/3 13:14 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class DraftContentDetailDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = -415892498226389295L; | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     *内容Id | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String id; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 具体内容 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String content; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 内容类型 图片:img;文字:text | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String contentType; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 内容序号 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private Integer orderNum; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 审核状态 通过:pass;失败:fail | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String auditStatus; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 审核理由 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String auditReason; | 
				
			||||
 | 
					} | 
				
			||||
@ -0,0 +1,30 @@ | 
				
			|||||
 | 
					package com.epmet.dto.result; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import lombok.Data; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					import java.io.Serializable; | 
				
			||||
 | 
					import java.util.List; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					/** | 
				
			||||
 | 
					 * 描述一下 | 
				
			||||
 | 
					 * | 
				
			||||
 | 
					 * @author yinzuomei@elink-cn.com | 
				
			||||
 | 
					 * @date 2020/6/3 13:01 | 
				
			||||
 | 
					 */ | 
				
			||||
 | 
					@Data | 
				
			||||
 | 
					public class DraftContentResultDTO implements Serializable { | 
				
			||||
 | 
					    private static final long serialVersionUID = -1310987373261903935L; | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     *  | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String draftId; | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 标题 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private String title; | 
				
			||||
 | 
					    /** | 
				
			||||
 | 
					     * 内容 | 
				
			||||
 | 
					     */ | 
				
			||||
 | 
					    private List<DraftContentDetailDTO> contentList; | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue