fin-check-api/db/intf.go

13 lines
167 B
Go
Raw Normal View History

package db
type Identifiable interface {
GetID() uint
SetID(id uint)
}
type UserIdentifiable interface {
GetID() uint
GetUserID() uint
SetUserID(userID uint)
}