Restructure TAble

This commit is contained in:
Suphonchai Phoonsawat 2023-06-25 18:36:02 +07:00
parent 717b0f0a8e
commit 1ba2f2eec1
37 changed files with 1107 additions and 527 deletions

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