yavsc/src/Yavsc.Abstract/FileSystem/MoveFileQuery.cs

19 lines
422 B
C#
Raw Normal View History

2025-11-16 15:53:13 +00:00
using System.ComponentModel.DataAnnotations;
2019-09-08 05:17:21 +01:00
using Yavsc.Attributes.Validation;
namespace Yavsc.Models.FileSystem
{
2025-07-07 07:49:18 +01:00
public class MoveFileQuery
{
[ValidRemoteUserFilePath]
2025-11-16 15:53:13 +00:00
[StringLength(512)]
2026-06-11 00:14:51 +01:00
[Required]
2025-07-07 07:49:18 +01:00
public required string Id { get; set; }
2019-09-08 05:17:21 +01:00
2025-11-16 15:53:13 +00:00
[StringLength(512)]
2025-07-07 07:49:18 +01:00
[ValidRemoteUserFilePath]
2026-06-11 00:14:51 +01:00
[Required]
2025-07-07 07:49:18 +01:00
public required string To { get; set; }
}
2019-09-08 05:17:21 +01:00
}