35 lines
1.2 KiB
C#
35 lines
1.2 KiB
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|||
|
|
|
|||
|
|
namespace Kurs.MailQueue.Domain.Entities;
|
|||
|
|
|
|||
|
|
public class BackgroundWorker_MailQueue : FullAuditedEntity<Guid>
|
|||
|
|
{
|
|||
|
|
public Guid TemplateId { get; set; }
|
|||
|
|
[Required]
|
|||
|
|
[StringLength(100)]
|
|||
|
|
public string From { get; set; }
|
|||
|
|
[Required]
|
|||
|
|
[StringLength(100)]
|
|||
|
|
public string To { get; set; }
|
|||
|
|
[StringLength(8000)]
|
|||
|
|
public string MailParameter { get; set; } //{0:KURYE=FEDEX&ABWNO=777705877048}
|
|||
|
|
[StringLength(100)]
|
|||
|
|
public string Table { get; set; }
|
|||
|
|
[StringLength(500)]
|
|||
|
|
public string TableParameter { get; set; }
|
|||
|
|
[StringLength(100)]
|
|||
|
|
public string Attachment { get; set; }
|
|||
|
|
[StringLength(500)]
|
|||
|
|
public string AttachmentParameter { get; set; }
|
|||
|
|
public bool SendStatus { get; set; } // Mail gönderildi mi, vs
|
|||
|
|
// [Column(TypeName = "datetime")]
|
|||
|
|
public DateTime? SendTime { get; set; } // Gönderim zamanı
|
|||
|
|
[StringLength(100)]
|
|||
|
|
public string AwsMessageId { get; set; } // AWS'ten gelen response
|
|||
|
|
[StringLength(100)]
|
|||
|
|
public string RelatedRecordId { get; set; } // İlgili kaydın ID'si
|
|||
|
|
|
|||
|
|
}
|