Files
lone-services/services/user/internal/dao/client.go
T
2026-09-02 09:47:34 +08:00

12 lines
506 B
Go

package dao
type Client struct {
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
Code string `gorm:"column:code" json:"code"`
Name string `gorm:"column:name" json:"name"`
AllowedGrants string `gorm:"column:allowed_grants;type:json" json:"allowed_grants"`
SubjectType string `gorm:"column:subject_type" json:"subject_type"`
StoreStaff uint8 `gorm:"column:store_staff" json:"store_staff"`
Status uint8 `gorm:"column:status" json:"status"`
}