refacts
This commit is contained in:
parent
1bd9c00cd8
commit
bcadc733bb
6 changed files with 15 additions and 18 deletions
17
src/Yavsc.Abstract/FileSystem/MoveFileQuery.cs
Normal file
17
src/Yavsc.Abstract/FileSystem/MoveFileQuery.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using Yavsc.Attributes.Validation;
|
||||
namespace Yavsc.Models.FileSystem
|
||||
{
|
||||
|
||||
public class MoveFileQuery
|
||||
{
|
||||
[ValidRemoteUserFilePath]
|
||||
[StringLength(512)]
|
||||
public required string Id { get; set; }
|
||||
|
||||
[StringLength(512)]
|
||||
[ValidRemoteUserFilePath]
|
||||
public required string To { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue