Added activities module
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package domain
|
||||
|
||||
import "time"
|
||||
|
||||
type ActivityLog struct {
|
||||
ID int64
|
||||
FamilyID *int64
|
||||
UserID int64
|
||||
Action string
|
||||
EntityType string
|
||||
EntityID *int64
|
||||
Description string
|
||||
CreatedAt time.Time
|
||||
}
|
||||
|
||||
type ActivityLogCreateRequest struct {
|
||||
FamilyID *int64
|
||||
UserID int64
|
||||
Action string
|
||||
EntityType string
|
||||
EntityID *int64
|
||||
Description string
|
||||
}
|
||||
|
||||
type ActivityLogListFilter struct {
|
||||
FamilyID *int64
|
||||
UserID *int64
|
||||
Limit int
|
||||
Offset int
|
||||
}
|
||||
Reference in New Issue
Block a user