feat: 初步设计工单系统

This commit is contained in:
lixiangwuxian
2024-10-17 02:16:33 +08:00
parent c42a7e5dd7
commit e27eebda77
4 changed files with 125 additions and 0 deletions

18
handler/ticket/model.go Normal file
View File

@@ -0,0 +1,18 @@
package ticket
type Ticket struct {
Id int64 `json:"id" db:"id"`
Content string `json:"content" db:"content"`
FromQQ int64 `json:"fromQQ" db:"fromQQ"`
FromGroup int64 `json:"fromGroup" db:"fromGroup"`
IsDone bool `json:"isDone" db:"isDone"`
IsDeleted bool `json:"isDeleted" db:"isDeleted"`
CreatedAt string `json:"created_at" db:"created_at"`
}
type WebTicketModel struct {
Id int64 `json:"id"`
Content string `json:"content"`
IsDone bool `json:"isDone"`
CreatedAt string `json:"created_at"`
}