package models

import "database/sql"

type TerminologyV0 struct {
	ResourceType    string         `db:"resource_type"`
	AttributePath   string         `db:"attribute_path"`
	Code            string         `db:"code"`
	ParentCode      string         `db:"parent_code"`
	Display         string         `db:"display"`
	DisplayEn       string         `db:"display_en"`
	CodeSystem      string         `db:"code_system"`
	OrderNo         uint           `db:"order_no"`
	FtIndex         sql.NullString `db:"ft_index"`
	UseInd          bool           `db:"use_ind"`
	Description     sql.NullString `db:"description"`
	StatusCd        string         `db:"status_cd"`
	CreatedDttm     string         `db:"created_dttm"`
	CreatedUserID   uint           `db:"created_user_id"`
	UpdatedDttm     string         `db:"updated_dttm"`
	UpdatedUserID   uint           `db:"updated_user_id"`
	NullifiedDttm   string         `db:"nullified_dttm"`
	NullifiedUserID uint           `db:"nullified_user_id"`
}

type TerminologyParamv0 struct {
	AttributePath string `json:"AttributePath"`
	CodeSystem    string `json:"CodeSystem"`
}
