This commit is contained in:
2020-12-29 20:11:46 +00:00
parent 4e249d5c9b
commit d80f8aaa53
6 changed files with 302 additions and 7 deletions

View File

@@ -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