master
nima 2024-05-24 14:06:56 +03:30
commit cad140daae
3 changed files with 42 additions and 0 deletions

3
go.mod 100644
View File

@ -0,0 +1,3 @@
module netina
go 1.21.4

1
main.go 100644
View File

@ -0,0 +1 @@
package main

38
models/models.go 100644
View File

@ -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
}