package com.yanzuoguang.util.vo.file;

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;
    }
}