using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace LYFZ.WanYuKeFuData.Model { public class AutoBackupToolConfig { public AutoBackupToolConfig() { } int bakHH = 21; /// /// 备份开始 小时数 /// public int BakHH { get { return bakHH; } set { bakHH = value; } } int bakMM = 0; /// /// 备份开始 分钟数 /// public int BakMM { get { return bakMM; } set { bakMM = value; } } #region 本机数据库配置 string _BenJi_DataBaseServer = ""; /// /// 本机数据库服务器地址(服务器名) /// public string BenJi_DataBaseServer { get { return _BenJi_DataBaseServer; } set { _BenJi_DataBaseServer = value; } } int _BenJi_DataBasePort = 0; /// /// 本机数据库端口 /// public int BenJi_DataBasePort { get { return _BenJi_DataBasePort; } set { _BenJi_DataBasePort = value; } } string _BenJi_DataBaseUser = ""; /// /// 本机数据库用户 /// public string BenJi_DataBaseUser { get { return _BenJi_DataBaseUser; } set { _BenJi_DataBaseUser = value; } } string _BenJi_DataBasePass = ""; /// /// 本机数据库密码 /// public string BenJi_DataBasePass { get { return _BenJi_DataBasePass; } set { _BenJi_DataBasePass = value; } } #endregion string _DatabaseBackupPath = ""; /// /// 数据库备份目录路径 /// public string DatabaseBackupPath { get { return _DatabaseBackupPath; } set { _DatabaseBackupPath = value; } } string _UploadFileDirPath = ""; /// /// 上传文件存放目录 /// public string UploadFileDirPath { get { return _UploadFileDirPath; } set { _UploadFileDirPath = value; } } string _BakUploadFileDirPath = ""; /// /// 上传文件备份目录 /// public string BakUploadFileDirPath { get { return _BakUploadFileDirPath; } set { _BakUploadFileDirPath = value; } } bool _BakDataBase = true; /// /// 是否备份数据库 /// public bool BakDataBase { get { return _BakDataBase; } set { _BakDataBase = value; } } bool _BakFiles = true; /// /// 是否备份文件 /// public bool BakFiles { get { return _BakFiles; } set { _BakFiles = value; } } } }