using Myshipping.Core; using System; using System.ComponentModel.DataAnnotations; namespace Myshipping.Core.Service { /// /// 用户邮箱账号输入参数 /// public class DjyUserMailAccountInput { /// /// 邮箱账号 /// public virtual string MailAccount { get; set; } /// /// 发件显示名 /// public string ShowName { get; set; } /// /// 密码 /// public virtual string Password { get; set; } /// /// 收件服务器 /// public virtual string ReceiveServer { get; set; } /// /// 使用IMAP4 /// public virtual bool UseImap { get; set; } /// /// 收件端口 /// public virtual int ReceivePort { get; set; } /// /// 收件SSL /// public virtual bool ReceiveSSL { get; set; } /// /// 发件服务器 /// public virtual string SmtpServer { get; set; } /// /// 发件端口 /// public virtual int SmtpPort { get; set; } /// /// 发件SSL /// public virtual bool SmtpSSL { get; set; } } /// /// 用户邮箱账号新增输入参数 /// public class AddDjyUserMailAccountInput : DjyUserMailAccountInput { } /// /// 用户邮箱账号修改输入参数 /// public class UpdateDjyUserMailAccountInput : DjyUserMailAccountInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } /// /// 用户邮箱账号获取(删除)输入参数 /// public class GetDjyUserMailAccountInput { /// /// 主键Id /// [Required(ErrorMessage = "主键Id不能为空")] public long Id { get; set; } } /// /// 用户邮箱账号查询输入参数 /// public class QueryDjyUserMailAccountInput : PageInputBase { /// /// 主键Id /// public virtual long Id { get; set; } /// /// 邮箱账号 /// public virtual string MailAccount { get; set; } /// /// 密码 /// public virtual string Password { get; set; } /// /// 收件服务器 /// public virtual string ReceiveServer { get; set; } /// /// 使用IMAP4 /// public virtual bool UseImap { get; set; } /// /// 收件端口 /// public virtual int ReceivePort { get; set; } /// /// 收件SSL /// public virtual bool ReceiveSSL { get; set; } /// /// 发件服务器 /// public virtual string SmtpServer { get; set; } /// /// 发件端口 /// public virtual int SmtpPort { get; set; } /// /// 发件SSL /// public virtual bool SmtpSSL { get; set; } } }