mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-13 06:50:27 +08:00
16 lines
403 B
C#
16 lines
403 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Foxel.Models.DataBase;
|
|
using Foxel.Services.Attributes;
|
|
|
|
namespace Foxel.Models.Request.Picture;
|
|
|
|
public class UploadPictureRequest
|
|
{
|
|
[Required] public IFormFile File { get; set; } = null!;
|
|
|
|
public int? Permission { get; set; } = 1;
|
|
|
|
public int? AlbumId { get; set; } = null;
|
|
|
|
public StorageType? StorageType { get; set; } = null;
|
|
} |