package model

type Ticket struct {
	ID          int    `gorm:"primaryKey;column:id" json:"id"`
	UserID      int    `gorm:"column:user_id" json:"user_id"`
	Subject     string `gorm:"column:subject" json:"subject"`
	Level       int    `gorm:"column:level" json:"level"`
	Status      int    `gorm:"column:status" json:"status"`
	ReplyStatus int    `gorm:"column:reply_status" json:"reply_status"`
	CreatedAt   int64  `gorm:"column:created_at" json:"created_at"`
	UpdatedAt   int64  `gorm:"column:updated_at" json:"updated_at"`
}

func (Ticket) TableName() string {
	return "v2_ticket"
}
