- Go Gin 后端 (19个源文件): 认证、工单CRUD、GLM AI分析、状态流转、备注、操作日志 - Arco Design Vue 前端: 登录、工单列表/详情/创建、AI分析触发与确认 - MySQL 5表: ticket_user/ticket_info/ticket_ai_analysis/ticket_operation_log/ticket_note - 部署: tk.1216.top HTTPS, Nginx反代
16 lines
394 B
Go
16 lines
394 B
Go
package model
|
|
|
|
import "time"
|
|
|
|
type TicketNote struct {
|
|
Noteid int `gorm:"primaryKey;autoIncrement" json:"noteid"`
|
|
Ticketid int `gorm:"not null" json:"ticketid"`
|
|
Authorid int `json:"authorid"`
|
|
Content string `gorm:"type:text;not null" json:"content"`
|
|
Createtime time.Time `json:"createtime"`
|
|
}
|
|
|
|
func (TicketNote) TableName() string {
|
|
return "ticket_note"
|
|
}
|