model

package
v0.0.0-...-b92f783 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advert struct {
	DataComm
	Name string `json:"name"`
}

func (Advert) TableName

func (Advert) TableName() string

type AreaCodeCity

type AreaCodeCity struct {
	DataComm
	State string `json:"state"`
	City  string `json:"city"`
	Code  string `json:"code"`
}

func (AreaCodeCity) TableName

func (AreaCodeCity) TableName() string

type AreaCodeCountry

type AreaCodeCountry struct {
	DataComm

	EnglishName string `json:"english_name"`
	ChineseName string `json:"chinese_name"`
	CountryCode string `json:"country_code"`
	Code        string `json:"phone_code"`
}

func (AreaCodeCountry) TableName

func (AreaCodeCountry) TableName() string

type Bank

type Bank struct {
	DataComm
	Name string `json:"name"`
}

func (Bank) TableName

func (Bank) TableName() string

type BaseModel

type BaseModel struct {
	ID        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type CarBrand

type CarBrand struct {
	DataComm
	Name string `json:"name"`
}

func (CarBrand) TableName

func (CarBrand) TableName() string

type CarComponent

type CarComponent struct {
	DataComm
	Name string `json:"name"`
}

func (CarComponent) TableName

func (CarComponent) TableName() string

type DataAnimalPlant

type DataAnimalPlant struct {
	DataComm
	Name string `json:"name"`
}

func (DataAnimalPlant) TableName

func (DataAnimalPlant) TableName() string

type DataCategory1

type DataCategory1 struct {
	BaseModel

	Name string `json:"name"`
	Desc string `json:"desc" gorm:"column:descr"`
}

func (DataCategory1) TableName

func (DataCategory1) TableName() string

type DataCategory2

type DataCategory2 struct {
	BaseModel

	Name      string `json:"name"`
	Desc      string `json:"desc" gorm:"column:descr"`
	DataTable string `json:"desc"`

	ParentId uint `json:"parentId"`
}

func (DataCategory2) TableName

func (DataCategory2) TableName() string

type DataChineseFamily

type DataChineseFamily struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Name   string `json:"name"`
	Pinyin string `json:"pinyin"`
	Double bool   `json:"double"`
}

func (DataChineseFamily) TableName

func (DataChineseFamily) TableName() string

type DataChineseGiven

type DataChineseGiven struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Name   string `json:"name"`
	Pinyin string `json:"pinyin"`
	Sex    string `json:"sex"`
}

func (DataChineseGiven) TableName

func (DataChineseGiven) TableName() string

type DataChronology

type DataChronology struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataChronology) TableName

func (DataChronology) TableName() string

type DataCity

type DataCity struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Name        string `json:"name"`
	Code        string `json:"code"`
	ZipCode     string `json:"zipCode"`
	State       string `json:"state"`
	StateShort  string `json:"stateShort"`
	StateShort2 string `json:"stateShort2"`
}

func (DataCity) TableName

func (DataCity) TableName() string

type DataColor

type DataColor struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	English string `json:"english"`
	Chinese string `json:"chinese"`
	Hex     string `json:"hex"`
	Rgb     string `json:"rgb"`
}

func (DataColor) TableName

func (DataColor) TableName() string

type DataComm

type DataComm struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	Name      string     `json:"name,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataCompany

type DataCompany struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataCompany) TableName

func (DataCompany) TableName() string

type DataCompanyAbbreviation

type DataCompanyAbbreviation struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataCompanyAbbreviation) TableName

func (DataCompanyAbbreviation) TableName() string

type DataConstellation

type DataConstellation struct {
	DataComm
	Name string `json:"name"`
}

func (DataConstellation) TableName

func (DataConstellation) TableName() string

type DataCountry

type DataCountry struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	ContinentId  int    `json:"continentId"`
	Continent    string `json:"continent"`
	AreaCode     string `json:"areaCode"`
	EnglishShort string `json:"englishShort"`
	EnglishFull  string `json:"englishFull"`
	ChineseShort string `json:"chineseShort"`
	ChineseFull  string `json:"chineseFull"`
}

func (DataCountry) TableName

func (DataCountry) TableName() string

type DataDict

type DataDict struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Word        string `json:"word"`
	OldWord     string `json:"oldWord"`
	Strokes     string `json:"strokes"`
	Pinyin      string `json:"pinyin"`
	Radicals    string `json:"radicals"`
	Explanation string `json:"explanation"`
}

func (DataDict) TableName

func (DataDict) TableName() string

type DataEarthlyBranches

type DataEarthlyBranches struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataEarthlyBranches) TableName

func (DataEarthlyBranches) TableName() string

type DataEnglishFamily

type DataEnglishFamily struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Name  string `json:"name"`
	Index string `json:"index"`
}

func (DataEnglishFamily) TableName

func (DataEnglishFamily) TableName() string

type DataEnglishGiven

type DataEnglishGiven struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Name  string `json:"name"`
	Index string `json:"index"`
	Sex   string `json:"sex"`
}

func (DataEnglishGiven) TableName

func (DataEnglishGiven) TableName() string

type DataFiveElements

type DataFiveElements struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataFiveElements) TableName

func (DataFiveElements) TableName() string

type DataFood

type DataFood struct {
	DataComm
	Name string `json:"name"`
}

func (DataFood) TableName

func (DataFood) TableName() string

type DataFruit

type DataFruit struct {
	DataComm
	Name string `json:"name"`
}

func (DataFruit) TableName

func (DataFruit) TableName() string

type DataHeavenlyStems

type DataHeavenlyStems struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataHeavenlyStems) TableName

func (DataHeavenlyStems) TableName() string

type DataIdiom

type DataIdiom struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Derivation   string `json:"derivation"`
	Example      string `json:"derivation"`
	Explanation  string `json:"derivation"`
	Pinyin       string `json:"derivation"`
	Word         string `json:"derivation"`
	Abbreviation string `json:"derivation"`
}

func (DataIdiom) TableName

func (DataIdiom) TableName() string

type DataOccupation

type DataOccupation struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataOccupation) TableName

func (DataOccupation) TableName() string

type DataPlanet

type DataPlanet struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataPlanet) TableName

func (DataPlanet) TableName() string

type DataSeason

type DataSeason struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Content string `json:"content"`
}

func (DataSeason) TableName

func (DataSeason) TableName() string

type DataWord

type DataWord struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Word       string `json:"word"`
	TagGroupId uint   `json:"tagGroupId"`

	Tags []*DataWordTag `gorm:"many2many:biz_data_word_biz_data_word_tag" json:"tags"`
}

func (DataWord) TableName

func (DataWord) TableName() string

type DataWordTag

type DataWordTag struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Name  string      `gorm:"uniqueIndex" json:"name"`
	Words []*DataWord `gorm:"many2many:biz_data_word_biz_data_word_tag" json:"words"`

	Groups []*DataWordTagGroup `gorm:"many2many:biz_data_word_tag_group_biz_data_word_tag" json:"tags"`
}

func (DataWordTag) TableName

func (DataWordTag) TableName() string

type DataWordTagGroup

type DataWordTagGroup struct {
	Id        uint           `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time     `json:"createdAt,omitempty"`
	UpdatedAt *time.Time     `json:"updatedAt,omitempty"`
	Deleted   bool           `json:"-" gorm:"default:false"`
	Disabled  bool           `json:"disabled,omitempty" gorm:"default:false"`
	Name      string         `gorm:"uniqueIndex" json:"name"`
	Tags      []*DataWordTag `gorm:"many2many:biz_data_word_tag_group_biz_data_word_tag" json:"tags"`
}

func (DataWordTagGroup) TableName

func (DataWordTagGroup) TableName() string

type DataWordsAdjective

type DataWordsAdjective struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsAdjectivePredicate

type DataWordsAdjectivePredicate struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsAdverb

type DataWordsAdverb struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsAuxiliary

type DataWordsAuxiliary struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsConjunction

type DataWordsConjunction struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsInternetArgot

type DataWordsInternetArgot struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsMeasure

type DataWordsMeasure struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsNoun

type DataWordsNoun struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsNumeral

type DataWordsNumeral struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsPreposition

type DataWordsPreposition struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsPronoun

type DataWordsPronoun struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataWordsVerb

type DataWordsVerb struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`
}

type DataXiehouyu

type DataXiehouyu struct {
	Id        uint       `gorm:"primary_key" sql:"type:INT(10) UNSIGNED NOT NULL" json:"id"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	Deleted   bool       `json:"-" gorm:"default:false"`
	Disabled  bool       `json:"disabled,omitempty" gorm:"default:false"`

	Riddle string `json:"riddle"`
	Answer string `json:"answer"`
	Tag    string `json:"tag"`
}

func (DataXiehouyu) TableName

func (DataXiehouyu) TableName() string

type DataZodiac

type DataZodiac struct {
	DataComm
	Name string `json:"name"`
}

func (DataZodiac) TableName

func (DataZodiac) TableName() string

type Dynasty

type Dynasty struct {
	DataComm
	Name string `json:"name"`
}

func (Dynasty) TableName

func (Dynasty) TableName() string

type EightDiagram

type EightDiagram struct {
	DataComm
	Name string `json:"name"`
}

func (EightDiagram) TableName

func (EightDiagram) TableName() string

type IdiomSimple

type IdiomSimple struct {
	DataComm
	Name string `json:"name"`
}

func (IdiomSimple) TableName

func (IdiomSimple) TableName() string

type Joke

type Joke struct {
	DataComm
	Content string `json:"content"`
}

func (Joke) TableName

func (Joke) TableName() string

type Medicine

type Medicine struct {
	DataComm
	Name string `json:"name"`
}

func (Medicine) TableName

func (Medicine) TableName() string

type PcFileExt

type PcFileExt struct {
	DataComm
	Name string `json:"name"`
	Desc string `json:"desc"`
}

func (PcFileExt) TableName

func (PcFileExt) TableName() string

type PcOs

type PcOs struct {
	DataComm
	Name      string `json:"name"`
	ShortName string `json:"shortName"`
	Version   string `json:"version"`
	Website   string `json:"website"`
}

func (PcOs) TableName

func (PcOs) TableName() string

type PhoneModel

type PhoneModel struct {
	DataComm

	Brand     string `json:"brand"`
	BrandName string `json:"brandName"`

	Model     string `json:"model"`
	ModelName string `json:"modelName"`

	Area string `json:"area"`
}

func (PhoneModel) TableName

func (PhoneModel) TableName() string

type Place

type Place struct {
	DataComm
	Name string `json:"name"`
}

func (Place) TableName

func (Place) TableName() string

type PoetryAncient

type PoetryAncient struct {
	DataComm
	Content    string `json:"content"`
	CategoryId uint   `json:"categoryId"`
}

func (PoetryAncient) TableName

func (PoetryAncient) TableName() string

type PoetryCategory

type PoetryCategory struct {
	DataComm
	Name   string `json:"name" gorm:"unique_index, not null"`
	EnName string `json:"cnName" gorm:"unique_index, not null"`
}

func (PoetryCategory) TableName

func (PoetryCategory) TableName() string

type Song

type Song struct {
	DataComm
	Name   string `json:"name"`
	Singer string
	Lyric  string
}

func (Song) TableName

func (Song) TableName() string

type SongData

type SongData struct {
	DataComm
	Name   string `json:"name"`
	Singer string
	Lyric  []string
}

type TableInfo

type TableInfo struct {
	Field   string
	Type    string
	Null    string
	Key     string
	Default string
	Extra   string
}

Jump to

Keyboard shortcuts

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