Documentation ¶
Index ¶
- type AccountCompany
- func (a *AccountCompany) CreateAccountCompany(companyID, accountID uuid.UUID, role accountEnums.Role, tx SQL.InterfaceWrite) error
- func (a *AccountCompany) DeleteAccountCompany(accountID, companyID uuid.UUID) error
- func (a *AccountCompany) GetAccountCompany(accountID, companyID uuid.UUID) (*roles.AccountCompany, error)
- func (a *AccountCompany) UpdateAccountCompany(accountCompany *roles.AccountCompany) error
- type IAccountCompany
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountCompany ¶
type AccountCompany struct {
// contains filtered or unexported fields
}
func (*AccountCompany) CreateAccountCompany ¶
func (a *AccountCompany) CreateAccountCompany(companyID, accountID uuid.UUID, role accountEnums.Role, tx SQL.InterfaceWrite) error
func (*AccountCompany) DeleteAccountCompany ¶
func (a *AccountCompany) DeleteAccountCompany(accountID, companyID uuid.UUID) error
func (*AccountCompany) GetAccountCompany ¶
func (a *AccountCompany) GetAccountCompany(accountID, companyID uuid.UUID) ( *roles.AccountCompany, error)
func (*AccountCompany) UpdateAccountCompany ¶
func (a *AccountCompany) UpdateAccountCompany(accountCompany *roles.AccountCompany) error
type IAccountCompany ¶
type IAccountCompany interface { CreateAccountCompany(companyID, accountID uuid.UUID, role accountEnums.Role, tx SQL.InterfaceWrite) error GetAccountCompany(accountID, companyID uuid.UUID) (*roles.AccountCompany, error) UpdateAccountCompany(role *roles.AccountCompany) error DeleteAccountCompany(accountID, companyID uuid.UUID) error }
func NewAccountCompanyRepository ¶
func NewAccountCompanyRepository(databaseRead SQL.InterfaceRead, databaseWrite SQL.InterfaceWrite) IAccountCompany
Click to show internal directories.
Click to hide internal directories.