no message

This commit is contained in:
Kittapath 2024-05-21 14:31:29 +07:00
parent 2a17eff17d
commit fb6a83b36a
11 changed files with 17862 additions and 70 deletions

View file

@ -13,9 +13,11 @@ namespace BMA.EHR.Domain.Models.Notifications
[Required, Column(TypeName = "text"), Comment("รายละเอียดข้อความ")]
public string Body { get; set; }
[Required, Comment("รหัสผู้รับข้อความ")]
[Comment("รหัสผู้รับข้อความ")]
public Guid ReceiverUserId { get; set; }
public string KeycloakUserId { get; set; }
[Column(TypeName = "text"), Comment("สิงที่แนบมาด้วย")]
public string Payload { get; set; }

View file

@ -10,9 +10,11 @@ namespace BMA.EHR.Domain.Models.Notifications
[Required, Column(TypeName = "text"), Comment("รายละเอียดข้อความ")]
public string Body { get; set; }
[Required, Comment("รหัสผู้รับข้อความ")]
[Comment("รหัสผู้รับข้อความ")]
public Guid ReceiverUserId { get; set; }
public string KeycloakUserId { get; set; }
[Required, Comment("ประเภทการแจ้งเตือน")]
public string Type { get; set; }

View file

@ -10,8 +10,8 @@ namespace BMA.EHR.Domain.Models.Retirement
{
public class RetirementDeceasedNoti : EntityBase
{
// [Comment("รหัสอ้างอิงผู้ใช้งานระบบ")]
// public Profile ReceiveUser { get; set; }
[Comment("profile Id")]
public string? profileId { get; set; }
[Comment("Fk Table RetirementDeceased")]
public RetirementDeceased RetirementDeceased { get; set; }