Files
IM_NEW/FileService.Domain/ValueObjects/StorageLocation.cs
T
2026-04-30 21:08:28 +08:00

25 lines
720 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; }
public string Bucket { get; private set; }
public string ObjectKey { get; private set; }
public string? Region { get; private set; }
public StorageLocation(string storageProvider, string bucket, string objectKey, string? region = null)
{
this.StorageProvider = storageProvider;
this.Bucket = bucket;
this.ObjectKey = objectKey;
this.Region = region;
}
}
}