Hub-Api/models/models.go

39 lines
685 B
Go
Raw Normal View History

2024-05-24 14:06:56 +03:30
package models
import "time"
type owner struct {
ID uint
PhoneNumber uint
FullName string
NationalCode string
Stores []uint
Created_at string
Is_removed bool
}
type store struct {
ID uint
OwnerID uint
Name string
Address string
PhoneNumber uint
WebAddress string
ApiAddress string
StorageAddress string
AdminPanelAddress string
LicenseID string
Created_at string
Is_removed bool
}
type License struct {
ID uint
Price uint
Period time.Time
Partnership bool
PercentageOfOwner uint
Created_at string
Is_removed bool
}