You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
504 B
Go
11 lines
504 B
Go
package global
|
|
|
|
import "time"
|
|
|
|
type MODEL struct {
|
|
ID uint `json:"id" gorm:"column:id;type:int(11);primary_key;not null;autoIncrement;comment:主键"`
|
|
CreateTime time.Time `json:"create_time" gorm:"column:create_time;not null;autoCreateTime;comment:创建时间"`
|
|
UpdateTime time.Time `json:"update_time" gorm:"column:update_time;not null;autoUpdateTime;comment:更新时间"`
|
|
IsDel int `json:"-" gorm:"column:is_del;type:int(1);not null;comment:是否已删除"`
|
|
}
|