30 lines
691 B
C#
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; }
|
|
}
|
|
} |