NonInventPurchasingSystem/CPRNIMS.Infrastructure/Entities/SMTP/SMTPCredential.cs
2026-01-20 07:44:30 +08:00

30 lines
1.0 KiB
C#

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; }
}
}