добавил патенты, верификацию, сделал паспорта, ип ооо

This commit is contained in:
Дмитрий Шиманский
2023-10-29 21:23:50 +03:00
parent 60fcf04532
commit 7c3e88376b
28 changed files with 1814 additions and 71 deletions

View File

@@ -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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}