-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtasks.go
55 lines (48 loc) · 915 Bytes
/
tasks.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package models
import "database/sql"
type UpdateTaskParams struct {
Tx *sql.Tx
UpdateField string
UpdateValues []interface{}
Where string
}
type UpdateMultiTaskParams struct {
Tx *sql.Tx
Status string
Task_Ids []interface{}
Agent_Id int
}
type ListsTasksParams struct {
Company_Id int
Fields string
StartFrom int
Limit int
Item_Type string
Item_Id string
From_Date string
To_Date string
Priority string
View_User string
View_Agent_Id string
}
type ListsDealTasksParams struct {
Company_Id int
Fields string
Item_Type string
Item_Id string
}
type CountTaskParams struct {
Date string
Agent_Id int
Company_Id int
}
type AddTaskParams struct {
Company_Id int
Item_Type string
Item_Id string
Agent_Id int
Todo string
Added_By string
Priority string
Date string
}