初始提交
This commit is contained in:
20
Services/Hncore.Pass.OSS/Model/UploadResult.cs
Normal file
20
Services/Hncore.Pass.OSS/Model/UploadResult.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user