Skip to content

Commit

Permalink
feat:新增时间字段
Browse files Browse the repository at this point in the history
  • Loading branch information
yahahaff committed Jul 23, 2024
1 parent 0ef516d commit 2bb4ef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/models/sys/role_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type Role struct {
Level int `json:"level" gorm:"comment:'级别'"`
Children []*Role `json:"children" gorm:"foreignKey:PCode"`
Tips string `json:"tips" gorm:"type:varchar(255);comment:'提示'"`
models.CommonTimestampsField
}

// TableName Set the table name
Expand Down

0 comments on commit 2bb4ef1

Please sign in to comment.