This commit is contained in:
@@ -2,6 +2,7 @@ using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Newtonsoft.Json;
|
||||
using AyaNova.Biz;
|
||||
|
||||
|
||||
namespace AyaNova.Models
|
||||
@@ -32,13 +33,8 @@ namespace AyaNova.Models
|
||||
PMItems = new List<PMItem>();
|
||||
}
|
||||
|
||||
|
||||
//Not persisted business properties
|
||||
//NOTE: this could be a common class applied to everything for common biz rule stuff
|
||||
//i.e. specific rights in situations based on rules, like candelete, canedit etc
|
||||
[NotMapped]
|
||||
public bool NonDataBaseExampleColumn { get; set; }//example of how to add a property that is not persisted but is used by both ends dynamically, should come up with a naming scheme so can see them at a glance
|
||||
|
||||
public AyaType AyaType { get => AyaType.PM; }
|
||||
|
||||
}//eoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user