package com.njzscloud.supervisory.hsoa.pojo.result;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class UploadResult {
    private String msg;
    private String flag;
    private String id;
    private String url;

    public boolean isSuccess() {
        return "success".equals(flag);
    }
}
