ICoreBizObjectModel for all

This commit is contained in:
2020-05-17 16:54:15 +00:00
parent d85497aab6
commit cc828894a5
31 changed files with 69 additions and 36 deletions

View File

@@ -7,10 +7,14 @@ namespace AyaNova.Models
/// </summary>
internal interface ICoreBizObjectModel
{
public long Id {get;set;}
//Note: almost all biz objects support all these propertys, the exceptions are extremely few so auto-implementing them here
//this is not a public api so I don't care about the "contract" aspect, just practicality
//didn't want to end up with a zillion interfaces for all manner of stuff
public long Id { get; set; }
public uint Concurrency { get; set; }
public string Wiki { get; set; }
public string Name { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
public bool? Active { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
public string Wiki { get => throw new System.NotImplementedException(); set => throw new System.NotImplementedException(); }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }