mirror of
https://github.com/yawaflua/PL_JusticeBot.git
synced 2025-12-10 04:19:31 +02:00
добавил патенты, верификацию, сделал паспорта, ип ооо
This commit is contained in:
@@ -4,17 +4,19 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DiscordApp.Database.Tables
|
||||
{
|
||||
[Table("Patents", Schema = "public")]
|
||||
public class Patents
|
||||
[Table("ArtsPatent", Schema = "public")]
|
||||
public class ArtsPatents
|
||||
{
|
||||
public string Employee { get; set; }
|
||||
public string Applicant { get; set; }
|
||||
public int Date { get; set; }
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public string Employee { get; set; }
|
||||
public Passport passport { get; set; }
|
||||
public long Date { get; set; }
|
||||
public int[] Number { get; set; }
|
||||
public Supporter Support { get; set; }
|
||||
public string Gender { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Size { get; set; }
|
||||
public bool isAllowedToResell { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
21
Database/Tables/Bizness.cs
Normal file
21
Database/Tables/Bizness.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using DiscordApp.Types;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DiscordApp.Database.Tables
|
||||
{
|
||||
[Table("Bizness", Schema = "public")]
|
||||
public class Bizness
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public Passport Applicant { get; set; }
|
||||
public string Employee { get; set; }
|
||||
public string BiznessName { get; set; }
|
||||
public int[] BiznessEmployes { get; set; }
|
||||
public long Date { get; set; }
|
||||
public string BiznessType { get; set; }
|
||||
public int CardNumber { get; set; }
|
||||
}
|
||||
}
|
||||
22
Database/Tables/BooksPatents.cs
Normal file
22
Database/Tables/BooksPatents.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using DiscordApp.Enums;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DiscordApp.Database.Tables
|
||||
{
|
||||
[Table("BooksPatent", Schema = "public")]
|
||||
public class BooksPatents
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public string Employee { get; set; }
|
||||
public Passport passport { get; set; }
|
||||
public long Date { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Annotation { get; set; }
|
||||
public string Janre { get; set; }
|
||||
public bool isAllowedToResell { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
16
Database/Tables/Reports.cs
Normal file
16
Database/Tables/Reports.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using DiscordApp.Types;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace DiscordApp.Database.Tables
|
||||
{
|
||||
[Table("Reports", Schema = "public")]
|
||||
public class Reports
|
||||
{
|
||||
[Key]
|
||||
public int Id { get; set; }
|
||||
public string Employee { get; set; }
|
||||
public ReportTypes type { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user