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