Changed service's VERSION field to string

This commit is contained in:
TypoMustakes
2024-01-09 14:14:31 +01:00
parent 67494a0cf0
commit 029026658b
3 changed files with 8 additions and 6 deletions

View File

@@ -425,8 +425,8 @@ namespace WD7UVN_HFT_2023241.Client
Console.Write("Maintainer team's ID (integer): "); Console.Write("Maintainer team's ID (integer): ");
int maintainer_id = Convert.ToInt32(Console.ReadLine()); int maintainer_id = Convert.ToInt32(Console.ReadLine());
Console.Write("Version (integer): "); Console.Write("Version (string): ");
int version = Convert.ToInt32(Console.ReadLine()); string version = Console.ReadLine();
Console.Write("IP (text): "); Console.Write("IP (text): ");
string ip = Console.ReadLine(); string ip = Console.ReadLine();
@@ -678,8 +678,8 @@ namespace WD7UVN_HFT_2023241.Client
Console.Write("Maintainer team's ID (integer): "); Console.Write("Maintainer team's ID (integer): ");
int maintainer_id = Convert.ToInt32(Console.ReadLine()); int maintainer_id = Convert.ToInt32(Console.ReadLine());
Console.Write("Version (integer): "); Console.Write("Version (string): ");
int version = Convert.ToInt32(Console.ReadLine()); string version = Console.ReadLine();
Console.Write("IP (text): "); Console.Write("IP (text): ");
string ip = Console.ReadLine(); string ip = Console.ReadLine();

View File

@@ -12,7 +12,7 @@ namespace WD7UVN_HFT_2023241.Models
public int MAINTAINER_ID { get; set; } public int MAINTAINER_ID { get; set; }
[Required] [Required]
public string NAME { get; set; } public string NAME { get; set; }
public int VERSION { get; set; } public string VERSION { get; set; }
[StringLength(240)] [StringLength(240)]
public string ACCOUNT { get; set; } public string ACCOUNT { get; set; }
[StringLength(240)] [StringLength(240)]

View File

@@ -88,6 +88,7 @@ namespace WD7UVN_HFT_2023241.Repository
SERVICE_DOMAIN = "admin.exchange.intranet.szemedfenye.hu", SERVICE_DOMAIN = "admin.exchange.intranet.szemedfenye.hu",
PORT = 443, PORT = 443,
IP = "10.42.567.3", IP = "10.42.567.3",
VERSION = "2016",
MAINTAINER_ID = 1 MAINTAINER_ID = 1
}, },
@@ -99,7 +100,8 @@ namespace WD7UVN_HFT_2023241.Repository
SERVICE_DOMAIN = "conf.ldap.intranet.dobox.hu", SERVICE_DOMAIN = "conf.ldap.intranet.dobox.hu",
PORT = 636, PORT = 636,
IP = "66.254.114.41", IP = "66.254.114.41",
MAINTAINER_ID = 2 MAINTAINER_ID = 2,
VERSION = "2.4.57"
} }
); );