13 lines
431 B
C#
13 lines
431 B
C#
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;
|
|
}
|
|
}
|