|
|
|
@ -1,14 +1,11 @@
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
|
|
|
|
|
namespace Entities
|
|
|
|
|
namespace Entities;
|
|
|
|
|
|
|
|
|
|
[Table("BlackList")]
|
|
|
|
|
public class BlackListEntity
|
|
|
|
|
{
|
|
|
|
|
public class BlackListEntity
|
|
|
|
|
{
|
|
|
|
|
[Key]
|
|
|
|
|
public string Email { get; set; }
|
|
|
|
|
public DateOnly ExpirationDate { get; set; }
|
|
|
|
@ -18,5 +15,4 @@ namespace Entities
|
|
|
|
|
Email = email;
|
|
|
|
|
ExpirationDate = expirationDate;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|