You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
391 B
14 lines
391 B
package manage
|
|
|
|
type Authority struct {
|
|
ID uint `gorm:"column:id;primary_key" json:"id"`
|
|
Name string `gorm:"column:name" json:"name"`
|
|
Code string `gorm:"column:code" json:"code"`
|
|
PrintId uint `gorm:"column:print_id" json:"print_id"`
|
|
}
|
|
|
|
// TableName sets the insert table name for this struct type
|
|
func (*Authority) TableName() string {
|
|
return "recook_manage_authority"
|
|
}
|