model

package
v0.0.0-...-4b0d5d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PlasmidProperties

type PlasmidProperties struct {
	ImageMap string `json:"image_map,omitempty"`
	Sequence string `json:"sequence,omitempty"`
	Name     string `json:"name"`
}

PlasmidProperties is the data structure for plasmid properties

type StockDoc

type StockDoc struct {
	driver.DocumentMeta
	CreatedAt         time.Time          `json:"created_at"`
	UpdatedAt         time.Time          `json:"updated_at"`
	CreatedBy         string             `json:"created_by"`
	UpdatedBy         string             `json:"updated_by"`
	StockID           string             `json:"stock_id"`
	Summary           string             `json:"summary,omitempty"`
	EditableSummary   string             `json:"editable_summary,omitempty"`
	Depositor         string             `json:"depositor,omitempty"`
	Genes             []string           `json:"genes,omitempty"`
	Dbxrefs           []string           `json:"dbxrefs,omitempty"`
	Publications      []string           `json:"publications,omitempty"`
	StrainProperties  *StrainProperties  `json:"strain_properties,omitempty"`
	PlasmidProperties *PlasmidProperties `json:"plasmid_properties,omitempty"`
	NotFound          bool
}

StockDoc is the data structure for biological stocks

type StrainProperties

type StrainProperties struct {
	DictyStrainProperty string   `json:"dicty_strain_property"`
	Label               string   `json:"label"`
	Species             string   `json:"species"`
	Plasmid             string   `json:"plasmid,omitempty"`
	Parent              string   `json:"parent,omitempty"`
	Names               []string `json:"names,omitempty"`
}

StrainProperties is the data structure for strain properties

type UploadStatus

type UploadStatus int
const (
	Created UploadStatus = iota
	Updated
	Failed
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL