30 lines
834 B
C#
30 lines
834 B
C#
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;
|
|
}
|
|
}
|
|
}
|