17 lines
743 B
Go
17 lines
743 B
Go
package entity
|
|
|
|
import "time"
|
|
|
|
type RequestForInformations struct {
|
|
ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
|
|
TicketNumber string `json:"ticket_number" gorm:"type:varchar"`
|
|
HowToGetInfo string `json:"how_to_get_info" gorm:"type:varchar"`
|
|
HowToGetFiles string `json:"how_to_get_files" gorm:"type:varchar"`
|
|
NextAction string `json:"next_action" gorm:"type:varchar"`
|
|
StatusId int `json:"status_id" gorm:"type:int4"`
|
|
CreatedById *uint `json:"created_by_id" gorm:"type:int4"`
|
|
IsActive *bool `json:"is_active" gorm:"type:bool"`
|
|
CreatedAt time.Time `json:"created_at" gorm:"default:now()"`
|
|
UpdatedAt time.Time `json:"updated_at" gorm:"default:now()"`
|
|
}
|