mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 12:29:31 +02:00
add discord bot
change net6.0 net7.0
This commit is contained in:
20
Database/Tables/Patents.cs
Normal file
20
Database/Tables/Patents.cs
Normal 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; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user