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.
39 lines
1.0 KiB
C#
39 lines
1.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_Send_Smtp", DisableSyncStructure = true)]
|
|
public partial class MailSendSmtp {
|
|
|
|
[JsonProperty, Column(DbType = "varchar(40)", IsPrimary = true, IsNullable = false)]
|
|
public string GID { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(64)", IsNullable = false)]
|
|
public string Account { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(64)")]
|
|
public string Password { get; set; }
|
|
|
|
[JsonProperty]
|
|
public int Port { get; set; } = 465;
|
|
|
|
[JsonProperty, Column(DbType = "varchar(200)")]
|
|
public string Remark { get; set; }
|
|
|
|
[JsonProperty, Column(DbType = "varchar(64)", IsNullable = false)]
|
|
public string Server { get; set; }
|
|
|
|
[JsonProperty]
|
|
public bool UseSSL { get; set; } = true;
|
|
|
|
}
|
|
|
|
}
|