This commit is contained in:
2020-04-22 14:41:57 +00:00
parent c9ec48fa8a
commit 2cbb977d38
5 changed files with 15 additions and 14 deletions

View File

@@ -1,3 +1,4 @@
using System;
using AyaNova.Biz;
using System.ComponentModel.DataAnnotations;
@@ -8,8 +9,8 @@ namespace AyaNova.Models
{
public long Id { get; set; }
public uint ConcurrencyToken { get; set; }
//-----------------------------------------
[Required]
public long AttachToObjectId { get; set; }
@@ -21,7 +22,8 @@ namespace AyaNova.Models
public string DisplayFileName { get; set; }
[Required]
public string ContentType { get; set; }//mime type
[Required]
public DateTime LastModified { get; set; }
public string Notes { get; set; }
}
}

View File

@@ -1,3 +1,4 @@
using System;
namespace AyaNova.Models
{
@@ -9,6 +10,7 @@ namespace AyaNova.Models
public string InitialUploadedPathName { get; set; }
public string OriginalFileName { get; set; }
public string MimeType { get; set; }
public DateTime LastModified {get;set;}
}
}