Adding database models

This commit is contained in:
Miskolczi Richárd
2023-10-18 10:47:33 +02:00
parent f786d4f066
commit 5656ea1856
5 changed files with 62 additions and 8 deletions

View File

@@ -1,8 +0,0 @@
using System;
namespace WD7UVN_HFT_2023241.Models
{
public class Class1
{
}
}

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WD7UVN_HFT_2023241.Models
{
internal class Customer
{
public int ID { get; set; }
public string NAME { get; set; }
public string EMAIL { get; set; }
public string PHONE { get; set; }
public int SERVICE_ID { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WD7UVN_HFT_2023241.Models
{
internal class Employee
{
public int ID { get; set; }
public string NAME { get; set; }
public string EMAIL { get; set; }
public string PHONE { get; set; }
public int MAINTAINER_ID { get; set; }
public int MANAGER { get; set; }
}
}

View File

@@ -0,0 +1,12 @@
using System;
namespace WD7UVN_HFT_2023241.Models
{
public class MaintainerTeam
{
public int ID { get; set; }
public string NAME { get; set; }
public string EMAIL { get; set; }
public int LEADER_EMPLOYEE_ID { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
namespace WD7UVN_HFT_2023241.Models
{
internal class Service
{
public int ID { get; set; }
public int MAINTAINER { get; set; }
public string NAME { get; set; }
public int? VERSION { get; set; }
public string? ACCOUNT { get; set; }
public string? NOTES { get; set; }
public string? SERVICE_DOMAIN { get; set; }
public string? IP { get; set; }
public int? PORT { get; set; }
}
}