v1
This commit is contained in:
@@ -4,14 +4,14 @@ import (
|
||||
"context"
|
||||
"time"
|
||||
|
||||
"management/internal/erpserver/model/dto"
|
||||
"management/internal/erpserver/model/system/request"
|
||||
)
|
||||
|
||||
type LoginLogRepository interface {
|
||||
Create(ctx context.Context, obj *LoginLog) error
|
||||
GetLatest(ctx context.Context, email string) ([]*LoginLog, error)
|
||||
Count(ctx context.Context, filter dto.SearchDto) (int64, error)
|
||||
List(ctx context.Context, filter dto.SearchDto) ([]*LoginLog, error)
|
||||
Count(ctx context.Context, filter request.ListLoginLog) (int64, error)
|
||||
List(ctx context.Context, filter request.ListLoginLog) ([]*LoginLog, error)
|
||||
HistoricalLogin(ctx context.Context, email string, createdAt time.Time) ([]*LoginLog, error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user