Ai
1 Star 0 Fork 0

saxon134/sysmain

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
account_tbl.go 579 Bytes
一键复制 编辑 原始数据 按行查看 历史
saxon134 提交于 2023-11-26 22:51 +08:00 . init
package models
import (
"time"
)
const TBNAccount = "account"
type TblAccount struct {
Id int64 `orm:"" json:"id" form:"id"`
CreateAt *time.Time `orm:"" json:"createAt" form:"createAt"`
Name string `orm:"varchar(30)" json:"name" form:"name"`
Account string `orm:"varchar(30)" json:"account" form:"account"`
Password string `orm:"varchar(32)" json:"password,omitempty" form:"password"`
Status int `orm:"tinyint;comment:0-禁用 2-可用" json:"status" form:"status"`
}
func (m *TblAccount) TableName() string {
return TBNAccount
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/saxon134/sysmain.git
git@gitee.com:saxon134/sysmain.git
saxon134
sysmain
sysmain
7b8c353bc626

搜索帮助