yavsc/src/Abstract/FileSystem/MoveFileQuery.cs

17 lines
384 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)]
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]
public required string To { get; set; }
}
2019-09-08 05:17:21 +01:00
}