Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookingRepository ¶
type BookingRepository interface { FindById(ctx context.Context, id string) (*model.Booking, *core.AppError) Insert(ctx context.Context, data *model.Booking) (*model.Booking, *core.AppError) Update(ctx context.Context, data *model.Booking) (*model.Booking, *core.AppError) DeleteById(ctx context.Context, id string) (bool, *core.AppError) QueryData(ctx context.Context, query *core.DbQuery) ([]model.Booking, *core.AppError) }
type BookingSourceRepository ¶
type BookingSourceRepository interface { FindById(ctx context.Context, id string) (*model.BookingSource, *core.AppError) Insert(ctx context.Context, data *model.BookingSource) (*model.BookingSource, *core.AppError) Update(ctx context.Context, data *model.BookingSource) (*model.BookingSource, *core.AppError) DeleteById(ctx context.Context, id string) (bool, *core.AppError) QueryData(ctx context.Context, query *core.DbQuery) ([]model.BookingSource, *core.AppError) }
type CaseTaskRepository ¶
type CaseTaskRepository interface { FindById(ctx context.Context, id string) (*model.CaseTask, *core.AppError) Insert(ctx context.Context, data *model.CaseTask) (*model.CaseTask, *core.AppError) Update(ctx context.Context, data *model.CaseTask) (*model.CaseTask, *core.AppError) DeleteById(ctx context.Context, id string) (bool, *core.AppError) QueryData(ctx context.Context, query *core.DbQuery) ([]model.CaseTask, *core.AppError) }
type CategoryRepository ¶
type CategoryRepository interface { FindById(ctx context.Context, id string) (*model.Category, *core.AppError) Insert(ctx context.Context, data *model.Category) (*model.Category, *core.AppError) Update(ctx context.Context, data *model.Category) (*model.Category, *core.AppError) DeleteById(ctx context.Context, id string) (bool, *core.AppError) QueryData(ctx context.Context, query *core.DbQuery) ([]model.Category, *core.AppError) }
type OAuthSessionRepository ¶
type OAuthSessionRepository interface { FindById(ctx context.Context, id string) (*model.OAuthSession, *core.AppError) Insert(ctx context.Context, session *model.OAuthSession) (*model.OAuthSession, *core.AppError) Update(ctx context.Context, session *model.OAuthSession) (*model.OAuthSession, *core.AppError) DeleteById(ctx context.Context, id string) (bool, *core.AppError) }
type UserRepository ¶
type UserRepository interface { FindById(ctx context.Context, id string) (*model.User, *core.AppError) FindByMobile(ctx context.Context, mobile string) (*model.User, *core.AppError) InsertUser(ctx context.Context, user *model.User) (*model.User, *core.AppError) UpdateUser(ctx context.Context, user *model.User) (*model.User, *core.AppError) DeleteUserById(ctx context.Context, id string) (bool, *core.AppError) DeleteUserByMobile(ctx context.Context, mobile string) (bool, *core.AppError) QueryData(ctx context.Context, query *core.DbQuery) ([]model.User, *core.AppError) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.