Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientDomainModelInterface ¶
type ClientDomainModelInterface interface {
GetFirstName() string
GetLastName() string
GetBirthDate() string
GetSex() string
GetMaritalStatus() string
GetChildren() int
GetPassport() PassportDomainModelInterface
GetJobs() []JobDomainModelInterface
}
type ClientRepositoryInterface ¶
type ClientRepositoryInterface interface {
GetClient(id int) (ClientDomainModelInterface, error)
SetClient(model ClientDomainModelInterface) (int, error)
ChangeClient(id int, model ClientDomainModelInterface) error
}
type ClientServiceInterface ¶
type ClientServiceInterface interface {
Add(model ClientDomainModelInterface) (IdInterface, error)
Get(id IdInterface) (ClientDomainModelInterface, error)
Update(id IdInterface, model ClientDomainModelInterface) error
}
type IdInterface ¶
type JobDomainModelInterface ¶
type MessageInterface ¶
type ValidationInterface ¶
type ValidationInterface interface {
AddMessage(msg MessageInterface)
GetMessages() []MessageInterface
SetMessage(msg string)
MarshalJSON() (b []byte, e error)
Empty() bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.