using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CPRNIMS.Infrastructure.Entities.SMTP { [Table("SMTPCredential")] public class SMTPCredential { [Key] public int SMTPCredentialId { get; set; } public byte SMTPTypeId { get; set; } public string SMTPCredentialName { get; set; } = string.Empty; public string SenderEmail { get; set; } = string.Empty; public string SenderUserName { get; set; } = string.Empty; public string SenderDisplayName { get; set; } = string.Empty; public string Password { get; set; } = string.Empty; public string Server { get; set; } = string.Empty; public string UserId { get; set; } = string.Empty; public int OutgoingPort { get; set; } public int IncomingPort { get; set; } public bool IsActive { get; set; } } }