Code
·
12 lines
·
403 bytes
1
2
3
4
5
6
7
8
9
10
11
12namespace GitServer.Models;
public class BlockedEmailPattern
{
public int Id { get; set; }
/// <summary>Wildcard pattern, e.g. "*hacker*.com" or "*@spam.net". "*" = any run of
/// characters, "?" = single character. Matched case-insensitively against the full email.</summary>
public string Pattern { get; set; } = "";
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}