models
commit
cad140daae
|
@ -0,0 +1,38 @@
|
|||
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
|
||||
}
|
Loading…
Reference in New Issue