forked from rongchao/epmet-cloud-rizhao
				
			
				 11 changed files with 266 additions and 3 deletions
			
			
		@ -0,0 +1,21 @@ | 
				
			|||
package com.epmet.dto.form; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import javax.validation.constraints.NotBlank; | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/21 下午3:24 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class ProcessListV2FormDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -7922290706507984148L; | 
				
			|||
 | 
				
			|||
    public interface ProcessListV2Form{} | 
				
			|||
 | 
				
			|||
    @NotBlank(message = "项目ID不能为空",groups = {ProcessListV2Form.class}) | 
				
			|||
    private String projectId; | 
				
			|||
} | 
				
			|||
@ -0,0 +1,72 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
import java.util.ArrayList; | 
				
			|||
import java.util.List; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/21 下午3:31 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class ProcessListV2ResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 项目ID | 
				
			|||
     */ | 
				
			|||
    private String projectId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 进展Id | 
				
			|||
     */ | 
				
			|||
    private String processId; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 处理进展名称 | 
				
			|||
     */ | 
				
			|||
    private String processName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 处理进展时间 | 
				
			|||
     */ | 
				
			|||
    private Long processTime; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 处理部门 | 
				
			|||
     */ | 
				
			|||
    private String departmentName; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 公开答复 | 
				
			|||
     */ | 
				
			|||
    private String publicReply; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 内部备注 | 
				
			|||
     */ | 
				
			|||
    private String internalRemark; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * | 
				
			|||
     */ | 
				
			|||
    private List<PublicAndInternalFileResultDTO> publicFile; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * | 
				
			|||
     */ | 
				
			|||
    private List<PublicAndInternalFileResultDTO> internalFile; | 
				
			|||
 | 
				
			|||
    public ProcessListV2ResultDTO() { | 
				
			|||
        this.projectId = ""; | 
				
			|||
        this.processId = ""; | 
				
			|||
        this.processName = ""; | 
				
			|||
        this.processTime = 0L; | 
				
			|||
        this.departmentName = ""; | 
				
			|||
        this.publicReply = ""; | 
				
			|||
        this.internalRemark = ""; | 
				
			|||
        this.publicFile = new ArrayList<>(); | 
				
			|||
        this.internalFile = new ArrayList<>(); | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
@ -0,0 +1,61 @@ | 
				
			|||
package com.epmet.dto.result; | 
				
			|||
 | 
				
			|||
import com.fasterxml.jackson.annotation.JsonIgnore; | 
				
			|||
import lombok.Data; | 
				
			|||
 | 
				
			|||
import java.io.Serializable; | 
				
			|||
 | 
				
			|||
/** | 
				
			|||
 * @Author zxc | 
				
			|||
 * @DateTime 2020/12/21 下午3:44 | 
				
			|||
 */ | 
				
			|||
@Data | 
				
			|||
public class PublicAndInternalFileResultDTO implements Serializable { | 
				
			|||
 | 
				
			|||
    private static final long serialVersionUID = -4258868880494403603L; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     *  文件名 | 
				
			|||
     */ | 
				
			|||
    private String name; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     *  url地址 | 
				
			|||
     */ | 
				
			|||
    private String url; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     *  文件类型(图片 - image、 视频 - video、 语音 - voice、 文档 - doc) | 
				
			|||
     */ | 
				
			|||
    private String type; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     *  后缀名 | 
				
			|||
     */ | 
				
			|||
    private String format; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     *  文件大小 kb | 
				
			|||
     */ | 
				
			|||
    private Integer size; | 
				
			|||
 | 
				
			|||
    /** | 
				
			|||
     * 语音或视频文件时长,单位秒 | 
				
			|||
     */ | 
				
			|||
    private Long duration; | 
				
			|||
 | 
				
			|||
    @JsonIgnore | 
				
			|||
    private String processId; | 
				
			|||
 | 
				
			|||
    @JsonIgnore | 
				
			|||
    private String filePlace; | 
				
			|||
 | 
				
			|||
    public PublicAndInternalFileResultDTO() { | 
				
			|||
        this.name = ""; | 
				
			|||
        this.url = ""; | 
				
			|||
        this.type = ""; | 
				
			|||
        this.format = ""; | 
				
			|||
        this.size = 0; | 
				
			|||
        this.duration = 0L; | 
				
			|||
    } | 
				
			|||
} | 
				
			|||
					Loading…
					
					
				
		Reference in new issue