pp_projekt/models.go
2019-01-07 23:16:26 +01:00

32 lines
738 B
Go

package main
type term_struct struct {
Months []int `json:"months"`
Year int `json:"year"`
}
type NewQuery struct {
Startdate string `json:"startdate"`
Enddate string `json:"enddate"`
Location string `json:"location"`
Description string `json:"description"`
Contactperson string `json:"contactperon"`
Contactno string `json:"contactno"`
Email string `json:"email"`
Status int `json:"status"`
Questiondate string `json:"questiondate"`
}
//type Term struct {
// id int `json:"id"`
// date string `json:"date"`
// status string `json:"status"`
// contractno string `json:"contractno"`
//}
type Term struct {
Id int `json:"id"`
Date string `json:"date"`
Status string `json:"status"`
Contractno string `json:"contractno"`
}