FileAttachmentBind.java 1.56 KB
package com.xiniunet.task.domain;

import com.xiniunet.framework.base.BaseBO;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * Created by 范智凝 on 2014-08-1 16:10:30.
 * @author 范智凝
 */
public class FileAttachmentBind extends BaseBO {

    /**
     * 文件名称,
     */
    private  String   name;

    /**
     * 文件后缀,
     */
    private  String   extension;

    /**
     * 文件大小(字节),
     */
    private  Long   size;

    /**
     * 存放路径,
     */
    private  String   storagePath;

    /**
     * 来源类型
     */
    private String sourceType;

    /**
     * 文件类型
     */
    private String type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getStoragePath() {
        return storagePath;
    }

    public void setStoragePath(String storagePath) {
        this.storagePath = storagePath;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}