This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using AyaNova.Biz;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
@@ -13,7 +12,7 @@ namespace AyaNova.Models
|
||||
//NOTE: following pattern outlined here:
|
||||
//https://dba.stackexchange.com/a/19368
|
||||
|
||||
public class ServiceBank
|
||||
public class ServiceBank : ICoreBizObjectModel
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
@@ -58,6 +57,9 @@ namespace AyaNova.Models
|
||||
EntryDate = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
public AyaType AyaType { get => AyaType.ServiceBank; }
|
||||
|
||||
}//eoc
|
||||
|
||||
}//eons
|
||||
|
||||
Reference in New Issue
Block a user