mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-14 11:37:29 +08:00
9 lines
202 B
Go
9 lines
202 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type BaseModel struct {
|
|
ID uint `gorm:"primarykey;AUTO_INCREMENT" json:"id"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
}
|