添加项目文件。
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FileService.Domain.ValueObjects
|
||||
{
|
||||
public class StorageLocation
|
||||
{
|
||||
public string StorageProvider { get; private set; } = "Local";
|
||||
public string Bucket { get; private set; } = string.Empty;
|
||||
public string ObjectKey { get; private set; } = string.Empty;
|
||||
public string? Region { get; private set; } = string.Empty;
|
||||
|
||||
public StorageLocation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public StorageLocation(string storageProvider, string bucket, string objectKey, string? region = null)
|
||||
{
|
||||
this.StorageProvider = storageProvider;
|
||||
this.Bucket = bucket;
|
||||
this.ObjectKey = objectKey;
|
||||
this.Region = region;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user