39 lines
685 B
Go
39 lines
685 B
Go
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
|
|
}
|