using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GB5Shared.DTO.Framework.AutoDB { public class AutoDBCreationDTO { private int serverid; private string serverip; private string client; private string site; private int typeofdatabase; private string port; private string instance; private string userid; private string password; private int istestconnection = 1; private string bakfile; private string databasename; private int clientid; private int synchstatus = 1; private int checkstatus = 1; private int isserverconfigrequired = 0; private int isexistingconnection = 1; private int isdropordetach; //0 as drop 1 is detach- private int serverconfigurationsystemserverconfigid = -1; private int isfirsttime = 1;//0 means yes 1 means no public int ServerId { get { return serverid; } set { serverid = value; } } public string ServerIp { get { return serverip; } set { serverip = value; } } public string Client { get { return client; } set { client = value; } } public string Site { get { return site; } set { site = value; } } public int TypeofDatabase { get { return typeofdatabase; } set { typeofdatabase = value; } } public string Port { get { return port; } set { port = value; } } public string Instance { get { return instance; } set { instance = value; } } public string UserId { get { return userid; } set { userid = value; } } public string Password { get { return password; } set { password = value; } } public int IsTestConnection { get { return istestconnection; } set { istestconnection = value; } } public string BakFile { get { return bakfile; } set { bakfile = value; } } public string DataBaseName { get { return databasename; } set { databasename = value; } } public int ClientId { get { return clientid; } set { clientid = value; } } public int SynchStatus { get { return synchstatus; } set { synchstatus = value; } } public int CheckStatus { get { return checkstatus; } set { checkstatus = value; } } public int IsServerConfigRequired { get { return isserverconfigrequired; } set { isserverconfigrequired = value; } } public int IsExistingConnection { get { return isexistingconnection; } set { isexistingconnection = value; } } public int IsDropOrDetach { get { return isdropordetach; } set { isdropordetach = value; } } public int ServerConfigurationSystemServerConfigId { get { return serverconfigurationsystemserverconfigid; } set { serverconfigurationsystemserverconfigid = value; } } public int IsFirstTime { get { return isfirsttime; } set { isfirsttime = value; } } } }