This commit is contained in:
Дмитрий Шиманский
2023-11-09 00:24:18 +03:00
parent 0b218a4c6d
commit dde8b38520
16 changed files with 243 additions and 40 deletions

View File

@@ -0,0 +1,20 @@
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
namespace DiscordApp.Database.Tables
{
[Table("Certificate", Schema = "public")]
public class Certificate
{
[Key]
public int Id { get; set; }
public string Employee { get; set; }
public Passport passport { get; set; }
public DateOnly Date { get; set; }
public string Text { get; set; }
public int DocumentId { get; set; }
}
}