This commit is contained in:
@@ -9,7 +9,7 @@ namespace AyaNova.Models
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
public DateTime Created { get; set; }//time it was uploaded not original file creation time, we don't have that
|
||||
|
||||
[Required]
|
||||
public long OwnerId { get; set; }
|
||||
//-----------------------------------------
|
||||
@@ -25,13 +25,5 @@ namespace AyaNova.Models
|
||||
public string ContentType { get; set; }//mime type
|
||||
public string Notes { get; set; }
|
||||
|
||||
|
||||
public FileAttachment()
|
||||
{
|
||||
Created = System.DateTime.UtcNow;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
//"AttachToObjectType and / or AttachToObjectId public AuthorizationRoles Roles { get; set; }
|
||||
}
|
||||
@@ -19,15 +19,7 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
public bool? Stock { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
|
||||
public Locale()
|
||||
{
|
||||
Created = System.DateTime.UtcNow;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//Relationship
|
||||
//was this but..
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace AyaNova.Models
|
||||
public partial class Tag
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
|
||||
[Required]
|
||||
@@ -18,13 +17,5 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public string Name { get; set; }//max 35 characters ascii set
|
||||
|
||||
|
||||
public Tag()
|
||||
{
|
||||
Created = System.DateTime.UtcNow;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace AyaNova.Models
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
[Required]
|
||||
public long OwnerId { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
|
||||
[Required]
|
||||
public long TagId { get; set; }
|
||||
@@ -22,12 +21,5 @@ namespace AyaNova.Models
|
||||
[Required]
|
||||
public AyaType TagToObjectType { get; set; }
|
||||
|
||||
|
||||
public TagMap()
|
||||
{
|
||||
Created = System.DateTime.UtcNow;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ namespace AyaNova.Models
|
||||
public partial class User
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public DateTime Created { get; set; }
|
||||
public uint ConcurrencyToken { get; set; }
|
||||
[Required]
|
||||
public long OwnerId { get; set; }
|
||||
@@ -21,12 +20,5 @@ namespace AyaNova.Models
|
||||
public DateTime? DlKeyExpire { get; set; }
|
||||
public long LocaleId { get; set; }
|
||||
|
||||
|
||||
public User()
|
||||
{
|
||||
Created = System.DateTime.UtcNow;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user