You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
154 lines
3.7 KiB
C#
154 lines
3.7 KiB
C#
using Myshipping.Core;
|
|
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Myshipping.Core.Service
|
|
{
|
|
/// <summary>
|
|
/// 用户邮箱账号输入参数
|
|
/// </summary>
|
|
public class DjyUserMailAccountInput
|
|
{
|
|
/// <summary>
|
|
/// 邮箱账号
|
|
/// </summary>
|
|
public virtual string MailAccount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件显示名
|
|
/// </summary>
|
|
public string ShowName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 密码
|
|
/// </summary>
|
|
public virtual string Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收件服务器
|
|
/// </summary>
|
|
public virtual string ReceiveServer { get; set; }
|
|
|
|
/// <summary>
|
|
/// 使用IMAP4
|
|
/// </summary>
|
|
public virtual bool UseImap { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收件端口
|
|
/// </summary>
|
|
public virtual int ReceivePort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收件SSL
|
|
/// </summary>
|
|
public virtual bool ReceiveSSL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件服务器
|
|
/// </summary>
|
|
public virtual string SmtpServer { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件端口
|
|
/// </summary>
|
|
public virtual int SmtpPort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件SSL
|
|
/// </summary>
|
|
public virtual bool SmtpSSL { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户邮箱账号新增输入参数
|
|
/// </summary>
|
|
public class AddDjyUserMailAccountInput : DjyUserMailAccountInput
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户邮箱账号修改输入参数
|
|
/// </summary>
|
|
public class UpdateDjyUserMailAccountInput : DjyUserMailAccountInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户邮箱账号获取(删除)输入参数
|
|
/// </summary>
|
|
public class GetDjyUserMailAccountInput
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
[Required(ErrorMessage = "主键Id不能为空")]
|
|
public long Id { get; set; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 用户邮箱账号查询输入参数
|
|
/// </summary>
|
|
public class QueryDjyUserMailAccountInput : PageInputBase
|
|
{
|
|
/// <summary>
|
|
/// 主键Id
|
|
/// </summary>
|
|
public virtual long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 邮箱账号
|
|
/// </summary>
|
|
public virtual string MailAccount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 密码
|
|
/// </summary>
|
|
public virtual string Password { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收件服务器
|
|
/// </summary>
|
|
public virtual string ReceiveServer { get; set; }
|
|
|
|
/// <summary>
|
|
/// 使用IMAP4
|
|
/// </summary>
|
|
public virtual bool UseImap { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收件端口
|
|
/// </summary>
|
|
public virtual int ReceivePort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 收件SSL
|
|
/// </summary>
|
|
public virtual bool ReceiveSSL { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件服务器
|
|
/// </summary>
|
|
public virtual string SmtpServer { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件端口
|
|
/// </summary>
|
|
public virtual int SmtpPort { get; set; }
|
|
|
|
/// <summary>
|
|
/// 发件SSL
|
|
/// </summary>
|
|
public virtual bool SmtpSSL { get; set; }
|
|
|
|
}
|
|
}
|