13 lines
473 B
C#
13 lines
473 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 class BaseDraftEntity<T> : BaseDataEntity<T>, IPublishableEntity
|
|
{
|
|
[Required, Column(Order = 899), Comment("สถานะการเผยแพร่ข้อมูล")]
|
|
public bool IsPublished { get; set; } = false;
|
|
}
|
|
}
|