medol-be/app/database/entity/request_for_information_rep...

16 lines
809 B
Go
Raw Normal View History

package entity
import "time"
type RequestForInformationReplies struct {
ID uint `json:"id" gorm:"primaryKey;type:int4;autoIncrement"`
RequestForInformationItemId int `json:"request_for_information_item_id" gorm:"type:int4"`
FileUrl string `json:"file_url" gorm:"type:varchar"`
Response string `json:"response" 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()"`
}