22 lines
475 B
Go
22 lines
475 B
Go
package domain
|
|
|
|
// Company represents the client that we will contract the services with
|
|
// they are the ones that manage the branches and branch managers
|
|
// they will have their own wallet that they will use to distribute to the branch wallets
|
|
type Company struct {
|
|
ID int64
|
|
Name string
|
|
AdminID int64
|
|
WalletID int64
|
|
}
|
|
type CreateCompany struct {
|
|
Name string
|
|
AdminID int64
|
|
WalletID int64
|
|
}
|
|
|
|
type UpdateCompany struct {
|
|
Name string
|
|
AdminID int64
|
|
}
|