using System;
using System.Collections.Generic;
namespace LqSalaryCalculationService.Models
{
///
/// 工资核算配置模型
///
public class SalaryCalculationConfig
{
///
/// 计算月份
///
public string CalculationMonth { get; set; } = string.Empty;
///
/// 输出路径
///
public string OutputPath { get; set; } = "./output";
///
/// 备份路径
///
public string BackupPath { get; set; } = "./backup";
///
/// 日志路径
///
public string LogPath { get; set; } = "./logs";
///
/// 是否启用邮件通知
///
public bool EnableEmailNotification { get; set; } = true;
///
/// 邮件设置
///
public EmailSettings EmailSettings { get; set; } = new EmailSettings();
}
///
/// 邮件设置
///
public class EmailSettings
{
///
/// SMTP服务器
///
public string SmtpServer { get; set; } = string.Empty;
///
/// SMTP端口
///
public int SmtpPort { get; set; } = 587;
///
/// 用户名
///
public string Username { get; set; } = string.Empty;
///
/// 密码
///
public string Password { get; set; } = string.Empty;
///
/// 发件人邮箱
///
public string FromEmail { get; set; } = string.Empty;
///
/// 收件人邮箱列表
///
public List ToEmails { get; set; } = new List();
}
}