noti probation
This commit is contained in:
parent
ffac27ef76
commit
3a334387bd
20 changed files with 33093 additions and 91 deletions
38
BMA.EHR.Domain/Models/Probation/CronjobNotiProbation.cs
Normal file
38
BMA.EHR.Domain/Models/Probation/CronjobNotiProbation.cs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using BMA.EHR.Domain.Models.Base;
|
||||
using BMA.EHR.Domain.Models.MetaData;
|
||||
using BMA.EHR.Domain.Models.Organizations;
|
||||
using BMA.EHR.Domain.Models.Documents;
|
||||
using BMA.EHR.Domain.Models.HR;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace BMA.EHR.Domain.Models.Probation
|
||||
{
|
||||
public class CronjobNotiProbation : EntityBase
|
||||
{
|
||||
[Required, MaxLength(200), Comment("หัวเรื่อง")]
|
||||
public string Subject { get; set; }
|
||||
|
||||
[Required, Column(TypeName = "text"), Comment("รายละเอียดข้อความ")]
|
||||
public string Body { get; set; }
|
||||
|
||||
[Required, Comment("รหัสผู้รับข้อความ")]
|
||||
public Guid ReceiverUserId { get; set; }
|
||||
|
||||
[Column(TypeName = "text"), Comment("สิงที่แนบมาด้วย")]
|
||||
public string Payload { get; set; } = "";
|
||||
|
||||
[Required, Comment("ส่งอีเมล์หรือไม่?")]
|
||||
public bool IsSendMail { get; set; } = false;
|
||||
|
||||
[Required, Comment("ส่งกล่องข้อความหรือไม่?")]
|
||||
public bool IsSendInbox { get; set; } = false;
|
||||
|
||||
[Required, Comment("ส่งการแจ้งเตือนหรือยัง")]
|
||||
public bool IsSendNoti { get; set; } = false;
|
||||
|
||||
[Required, Comment("วันที่ได้รับ")]
|
||||
public DateTime ReceiveDate { get; set; } = DateTime.Now;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue