mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-07 08:03:00 +08:00
24 lines
482 B
C#
24 lines
482 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Foxel.Services.Storage;
|
|
|
|
// For StorageType enum
|
|
|
|
namespace Foxel.Models.Request.Storage;
|
|
|
|
public class UpdateStorageModeRequest
|
|
{
|
|
[Required]
|
|
public int Id { get; set; }
|
|
|
|
[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; }
|
|
}
|