add discord bot

change net6.0 net7.0
This commit is contained in:
Дмитрий Шиманский
2023-10-26 11:35:42 +03:00
parent 7c6fafa9e6
commit 9a8a4cad5d
35 changed files with 1132 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
using DiscordApp.Enums;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DiscordApp.Database.Tables
{
[Table("Passport", Schema = "public")]
public class Passport
{
[Key]
public int Id { get; set; }
public ulong Employee { get; set; }
public string Applicant { get; set; }
public long Date { get; set; }
public Supporter Support { get; set; }
public string Gender { get; set; }
public string RpName { get; set; }
}
}