Initial Commit ...
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user