123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace LYFZ.CloudServerData.Model
- {
- [Serializable]
- public class CloudServerCollection
- {
- public CloudServerCollection()
- {
- }
- public CloudServerCollection(string serverName)
- {
- this.CloudServerName = serverName;
- }
- long _ID = 0;
- public long ID
- {
- get { return _ID; }
- set { _ID = value; }
- }
- string _DataBaseServerIP = "";
- /// <summary>
- /// 数据库ip地址
- /// </summary>
- public string DataBaseServerIP
- {
- get { return _DataBaseServerIP; }
- set { _DataBaseServerIP = value; }
- }
- int _SeverPort = 0;
- /// <summary>
- /// 服务器端口号
- /// </summary>
- public int SeverPort
- {
- get { return _SeverPort; }
- set { _SeverPort = value; }
- }
- int _DataBasePort = 0;
- /// <summary>
- /// 端口
- /// </summary>
- public int DataBasePort
- {
- get { return _DataBasePort; }
- set { _DataBasePort = value; }
- }
- string _DataBaseUser;
- /// <summary>
- /// 用户
- /// </summary>
- public string DataBaseUser
- {
- get { return _DataBaseUser; }
- set { _DataBaseUser = value; }
- }
- string _DataBasePass;
- /// <summary>
- /// 密码
- /// </summary>
- public string DataBasePass
- {
- get { return _DataBasePass; }
- set { _DataBasePass = value; }
- }
- string _DomainName = "";
- public string DomainName
- {
- get { return _DomainName; }
- set { _DomainName = value; }
- }
- string _CloudServerName = "";
- public string CloudServerName
- {
- get { return _CloudServerName; }
- set { _CloudServerName = value; }
- }
- string _Remarks = "";
- /// <summary>
- /// 备注
- /// </summary>
- public string Remarks
- {
- get { return _Remarks; }
- set { _Remarks = value; }
- }
- long _CreateTime = 0;
- public long CreateTime
- {
- get { return _CreateTime; }
- set { _CreateTime = value; }
- }
- string _FrpConfig = "";
- /// <summary>
- /// FRP服务器端配置信息
- /// </summary>
- public string FrpConfig
- {
- get { return _FrpConfig; }
- set { _FrpConfig = value; }
- }
- int _Multiple = 1;
- /// <summary>
- /// 流量倍数
- /// </summary>
- public int Multiple
- {
- get { return _Multiple; }
- set { _Multiple = value; }
- }
- public override string ToString()
- {
- return this.CloudServerName;
- }
- }
- }
|