package com.aucma.dms.domain.dto;

import lombok.Data;

/**
 * 附件文件DTO
 * 用于前端展示附件信息
 * @author zch
 */
@Data
public class AttachFileDTO {
    
    /**
     * 文件URL
     */
    private String url;
    
    /**
     * 文件名称
     */
    private String name;

    public AttachFileDTO() {
    }

    public AttachFileDTO(String url) {
        this.url = url;
    }

    public AttachFileDTO(String url, String name) {
        this.url = url;
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getName() {
        return name;
    }

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