mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 03:18:35 +08:00
【新增】资源管理模块
This commit is contained in:
@@ -1,7 +1,21 @@
|
||||
package entity
|
||||
|
||||
import "pandax/base/model"
|
||||
|
||||
/**
|
||||
* @Description 添加qq群467890197 交流学习
|
||||
* @Author 熊猫
|
||||
* @Date 2022/1/13 14:47
|
||||
**/
|
||||
type ResEmail struct {
|
||||
MailId int64 `json:"mailId" gorm:"primaryKey;AUTO_INCREMENT;comment:主键编码"`
|
||||
Category string `json:"category" grom:"type:varchar(1);comment:分类qq或163"` // 0 163邮箱,1 qq邮箱 2 企业邮箱
|
||||
Host string `json:"host" grom:"type:varchar(64);comment:服务器地址"` // 服务器地址
|
||||
Port int `json:"port" grom:"type:int;comment:服务器端口"` // 服务器端口
|
||||
From string `json:"from" grom:"type:varchar(64);comment:邮箱账号"` // 邮箱账号
|
||||
Nickname string `json:"nickname" grom:"type:varchar(64);comment:发件人"` // 发件人
|
||||
Secret string `json:"secret" grom:"type:varchar(64);comment:邮箱密码"` // 邮箱密码
|
||||
IsSSL bool `json:"isSsl" grom:"comment:是否开启ssl"` // 是否开启ssl
|
||||
Status string `json:"status" grom:"type:varchar(1);comment:状态"`
|
||||
model.BaseModel
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user