Files
micro_layout/internal/storage/model/base.go
T
2025-12-05 17:23:29 +08:00

9 lines
258 B
Go

package model
type BaseModel struct {
Id int64 `json:"id" xorm:"pk autoincr 'id'"`
CreatedAt int64 `json:"created_at" xorm:"created"`
UpdatedAt int64 `json:"updated_at" xorm:"updated"`
DeletedAt int64 `json:"deleted_at" xorm:"deleted notnull"`
}