Add Migration for Discipline Service

This commit is contained in:
Suphonchai Phoonsawat 2024-05-03 14:17:30 +07:00
parent ff711c38df
commit 5bb6cfbee8
26 changed files with 7386 additions and 170 deletions

View file

@ -7,7 +7,7 @@ namespace BMA.EHR.Domain.Models.Notifications
{
public class Notification : EntityBase
{
[Required, Column(TypeName = "text"), Comment("รายละเอียดข้อความ")]
[Required, Column(TypeName = "NCLOB"), Comment("รายละเอียดข้อความ")]
public string Body { get; set; }
[Required, Comment("รหัสผู้รับข้อความ")]
@ -16,7 +16,7 @@ namespace BMA.EHR.Domain.Models.Notifications
[Required, Comment("ประเภทการแจ้งเตือน")]
public string Type { get; set; }
[Column(TypeName = "text"), Comment("สิงที่แนบมาด้วย")]
[Column(TypeName = "NCLOB"), Comment("สิงที่แนบมาด้วย")]
public string Payload { get; set; }
[Comment("เปิดอ่านแล้วหรือยัง")]