no message

master
DESKTOP-4RNDQIC\29019 2021-02-16 10:52:29 +08:00
parent f6f418e44f
commit c90b44b2c5
1 changed files with 15 additions and 0 deletions

View File

@ -9,6 +9,21 @@ import (
"log" "log"
) )
type Plan struct {
ID uint32 `gorm:"column:id;primary_key" json:"id"`
StartTime utils.OrmTime `gorm:"column:start_time" json:"start_time"`
EndTime utils.OrmTime `gorm:"column:end_time" json:"end_time"`
Date utils.OrmTime `gorm:"column:date" json:"date"`
Content string `gorm:"column:content" json:"content"`
}
func (m *Plan) TableName() string {
return "plan"
}
type Users struct { type Users struct {
ID int64 `sql:"id" json:"id"` ID int64 `sql:"id" json:"id"`
UserName string `sql:"user_name" json:"user_name"` UserName string `sql:"user_name" json:"user_name"`