Adding database models
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace WD7UVN_HFT_2023241.Models
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
}
|
||||
}
|
||||
17
WD7UVN_HFT_2023241.Models/Customer.cs
Normal file
17
WD7UVN_HFT_2023241.Models/Customer.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
18
WD7UVN_HFT_2023241.Models/Employee.cs
Normal file
18
WD7UVN_HFT_2023241.Models/Employee.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
12
WD7UVN_HFT_2023241.Models/MaintainerTeam.cs
Normal file
12
WD7UVN_HFT_2023241.Models/MaintainerTeam.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
15
WD7UVN_HFT_2023241.Models/Service.cs
Normal file
15
WD7UVN_HFT_2023241.Models/Service.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user