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
|
|
|
|
|
|
|
|
}
|