using Hncore.Infrastructure.Extension;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Hncore.Pass.OSS.Model
{
    public class UploadResult
    {
        public int AssetType { get; set; } = 0;
        public string OriginName { get; set; }

        public string BaseUrl { get; set; }

        public string Path { get; set; }

        public string Url { get => BaseUrl.Has() ? $"{BaseUrl}/{Path}" : Path; }
    }
}
