mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-12-24 07:17:48 +08:00
10 lines
202 B
Go
10 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"`
|
|
}
|