1 Star 1 Fork 0

yanpin-dev / propeller

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
domain.go 460 Bytes
一键复制 编辑 原始数据 按行查看 历史
zh_season 提交于 2021-04-08 19:38 . fix translate validate error bug.
package example
import (
"gitee.com/yanpin-dev/propeller/storage/db"
"time"
)
type User struct {
ID uint64 `json:"id" gorm:"primaryKey,autoIncrement"`
Username string `json:"username" binding:"required"`
Password string `json:"password" binding:"required"`
Deleted db.Deleted `json:"-"`
Version db.Version `json:"version" gorm:"default:1"`
CreatedAt *time.Time `json:"created_at"`
UpdatedAt *time.Time `json:"updated_at"`
}
Go
1
https://gitee.com/yanpin-dev/propeller.git
git@gitee.com:yanpin-dev/propeller.git
yanpin-dev
propeller
propeller
v0.3.3

搜索帮助