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("Patents", Schema = "public")]
public class Patents
{
public string Employee { get; set; }
public string Applicant { get; set; }
public int Date { get; set; }
[Key]
public int[] Number { get; set; }
public Supporter Support { get; set; }
public string Gender { get; set; }
public string Name { get; set; }
}
}