Config
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Musify.Infrastructure.Configuration
|
||||
{
|
||||
public class MessagingConfiguration
|
||||
{
|
||||
public const string SectionName = "Messaging";
|
||||
|
||||
[Required]
|
||||
public required string Host { get; set; }
|
||||
|
||||
[Required]
|
||||
public required string Username { get; set; }
|
||||
|
||||
[Required]
|
||||
public required string Password { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user