YzgFileConvertVideoFirstReqVo.java 1.28 KB
Newer Older
yanzg's avatar
yanzg committed
1
package com.yanzuoguang.util.vo.file;
yanzg's avatar
yanzg committed
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

import com.yanzuoguang.util.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 转换文件首帧信息
 *
 * @author 颜佐光
 */
@ApiModel(description = "转换文件首帧信息")
public class YzgFileConvertVideoFirstReqVo extends BaseVo {

    /**
     * 转换文件的来源路径,当目标路径存在时,则认为已经移动成功
     */
    @ApiModelProperty(notes = "移动文件的来源路径,当目标路径存在时,则认为已经移动成功", position = 1000)
    private String from;

    /**
     * 转换文件的目标路径,建议扩展名为jpg
     */
    @ApiModelProperty(notes = "转换文件的目标路径,建议扩展名为jpg", position = 1010)
    private String to;

    public YzgFileConvertVideoFirstReqVo() {
    }

    public YzgFileConvertVideoFirstReqVo(String from) {
        this.from = from;
    }

    public YzgFileConvertVideoFirstReqVo(String from, String to) {
        this.from = from;
        this.to = to;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }
}