Restructure TAble
This commit is contained in:
parent
717b0f0a8e
commit
1ba2f2eec1
37 changed files with 1107 additions and 527 deletions
13
BMA.EHR.Domain/Common/BaseDataEntity.cs
Normal file
13
BMA.EHR.Domain/Common/BaseDataEntity.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
using BMA.EHR.Domain.Common.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Common
|
||||
{
|
||||
public abstract class BaseDataEntity<T> : BaseEntity<T>, IActivableEntity
|
||||
{
|
||||
[Required, Column(Order = 990), Comment("สถานะการใช้งาน")]
|
||||
public bool IsActive { get; set; } = true;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue