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.

78 lines
2.0 KiB
C#

using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;
namespace djy.Model {
[JsonObject(MemberSerialization.OptIn), Table(Name = "Mail_User_Account", DisableSyncStructure = true)]
public partial class MailUserAccount {
[JsonProperty, Column(StringLength = 128, IsPrimary = true, IsNullable = false)]
public string GID { get; set; }
[JsonProperty, Column(DbType = "varchar(40)")]
public string CompId { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string CompName { get; set; }
[JsonProperty]
public bool IsChanged { get; set; } = true;
[JsonProperty, Column(DbType = "varchar(200)", IsNullable = false)]
public string MailAccount { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string ManagerMailAddress { get; set; }
[JsonProperty]
public int ParserCount { get; set; } = 1;
[JsonProperty, Column(DbType = "varchar(200)", IsNullable = false)]
public string Password { get; set; }
[JsonProperty]
public int ProcessorCount { get; set; } = 1;
[JsonProperty]
public int ReceivePort { get; set; }
[JsonProperty, Column(DbType = "varchar(200)", IsNullable = false)]
public string ReceiveServer { get; set; }
[JsonProperty]
public bool ReceiveSSL { get; set; } = true;
[JsonProperty, Column(DbType = "varchar(40)")]
public string RelativeId { get; set; }
[JsonProperty]
public int SenderCount { get; set; } = 1;
[JsonProperty]
public int SmtpPort { get; set; }
[JsonProperty, Column(DbType = "varchar(200)", IsNullable = false)]
public string SmtpServer { get; set; }
[JsonProperty]
public bool SmtpSSL { get; set; } = true;
[JsonProperty]
public bool UseImap { get; set; } = true;
[JsonProperty, Column(DbType = "varchar(40)")]
public string UserId { get; set; }
[JsonProperty, Column(DbType = "varchar(100)")]
public string UserName { get; set; }
}
}