lrj
昨天 93eb6b470773bc49ea6e1a9d4cbd914eb95d525b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package com.rongyichuang.media.dto;
 
/**
 * 媒体保存输入类型
 */
public class MediaSaveInput {
    
    private String targetType; // 目标类型:player, activity_player
    private Long targetId; // 目标ID
    private String path; // COS文件路径
    private String thumbPath; // 缩略图路径(可选)
    private String fileName; // 文件名
    private String fileExt; // 文件扩展名
    private Long fileSize; // 文件大小(字节)
    private Integer duration; // 视频时长(秒,视频文件专用)
    private Integer mediaType; // 媒体类型:1-图片,2-视频,3-音频,4-文档
 
    
    // 构造函数
    public MediaSaveInput() {}
    
    // Getter和Setter方法
    public String getTargetType() {
        return targetType;
    }
    
    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }
    
    public Long getTargetId() {
        return targetId;
    }
    
    public void setTargetId(Long targetId) {
        this.targetId = targetId;
    }
    
    public String getPath() {
        return path;
    }
    
    public void setPath(String path) {
        this.path = path;
    }
    
    public String getThumbPath() {
        return thumbPath;
    }
    
    public void setThumbPath(String thumbPath) {
        this.thumbPath = thumbPath;
    }
    
    public String getFileName() {
        return fileName;
    }
    
    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
    
    public String getFileExt() {
        return fileExt;
    }
    
    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }
    
    public Long getFileSize() {
        return fileSize;
    }
    
    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }
    
    public Integer getDuration() {
        return duration;
    }
    
    public void setDuration(Integer duration) {
        this.duration = duration;
    }
    
    public Integer getMediaType() {
        return mediaType;
    }
    
    public void setMediaType(Integer mediaType) {
        this.mediaType = mediaType;
    }
    
    
}