Files
juipnet/Services/Hncore.Pass.OSS/Model/UploadResult.cs

21 lines
482 B
C#
Raw Normal View History

2023-07-29 10:19:42 +08:00
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; }
}
}