Files
xModels/Dtos/XFileDto.cs
T
2024-01-25 04:37:38 +03:30

30 lines
691 B
C#

using System;
using System.ComponentModel.DataAnnotations;
using xCommons.Constants;
using xModels.Base;
namespace xModels.Dtos {
public partial class XFileDto : XBaseDto {
[Required]
public string AuthorId { get; set; }
public XFileType Type { get; set; }
[Required]
[StringLength (255)]
public string Name { get; set; }
[StringLength (255)]
public string Thumb { get; set; }
[Required]
[StringLength (255)]
public string Path { get; set; }
[StringLength (255)]
public string ThumbPath { get; set; }
[Required]
public DateTime UploadedOn { get; set; }
}
}