package models

import "time"

type Publication struct {
	ID          int       `json:"id"`
	Category    string    `json:"category"`
	Title       string    `json:"title"`
	Authors     *string   `json:"authors,omitempty"`
	Venue       string    `json:"venue"`
	Volume      *string   `json:"volume,omitempty"`
	PublishedAt string    `json:"published_at"`
	KCI         bool      `json:"kci"`
	DOI         *string   `json:"doi,omitempty"`
	IsHighlight bool      `json:"is_highlight"`
	CreatedAt   time.Time `json:"created_at"`
}

type Patent struct {
	ID             int       `json:"id"`
	Title          string    `json:"title"`
	Inventors      string    `json:"inventors"`
	ApplicationNo  string    `json:"application_no"`
	ApplicationAt  string    `json:"application_at"`
	RegistrationNo *string   `json:"registration_no,omitempty"`
	RegistrationAt *string   `json:"registration_at,omitempty"`
	Country        string    `json:"country"`
	PublishedAt    string    `json:"published_at"`
	CreatedAt      time.Time `json:"created_at"`
}
