mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-14 03:49:40 +08:00
19 lines
444 B
C#
19 lines
444 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Foxel.Services.Attributes; // For StorageType enum
|
|
|
|
namespace Foxel.Models.Request.Storage;
|
|
|
|
public class CreateStorageModeRequest
|
|
{
|
|
[Required]
|
|
[StringLength(100)]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
public StorageType StorageType { get; set; }
|
|
|
|
public string? ConfigurationJson { get; set; }
|
|
|
|
public bool IsEnabled { get; set; } = true;
|
|
}
|