feat(image): add permission setting to EditImageDialog

This commit is contained in:
ShiYu
2025-06-12 00:10:07 +08:00
parent 853efaa2fe
commit d4bf9493c1
6 changed files with 50 additions and 23 deletions

View File

@@ -1,6 +1,13 @@
namespace Foxel.Models.Request.Picture;
using System.Collections.Generic; // Required for List<string>
public record UpdatePictureRequestWithId : UpdatePictureRequest
namespace Foxel.Models.Request.Picture
{
public int Id { get; set; }
public class UpdatePictureRequestWithId
{
public int Id { get; set; }
public string? Name { get; set; }
public string? Description { get; set; }
public List<string>? Tags { get; set; }
public int? Permission { get; set; } // Added Permission property
}
}