Documentation ¶
Index ¶
- type Advert
- type AreaCodeCity
- type AreaCodeCountry
- type Bank
- type BaseModel
- type CarBrand
- type CarComponent
- type DataAnimalPlant
- type DataCategory1
- type DataCategory2
- type DataChineseFamily
- type DataChineseGiven
- type DataChronology
- type DataCity
- type DataColor
- type DataComm
- type DataCompany
- type DataCompanyAbbreviation
- type DataConstellation
- type DataCountry
- type DataDict
- type DataEarthlyBranches
- type DataEnglishFamily
- type DataEnglishGiven
- type DataFiveElements
- type DataFood
- type DataFruit
- type DataHeavenlyStems
- type DataIdiom
- type DataOccupation
- type DataPlanet
- type DataSeason
- type DataWord
- type DataWordTag
- type DataWordTagGroup
- type DataWordsAdjective
- type DataWordsAdjectivePredicate
- type DataWordsAdverb
- type DataWordsAuxiliary
- type DataWordsConjunction
- type DataWordsInternetArgot
- type DataWordsMeasure
- type DataWordsNoun
- type DataWordsNumeral
- type DataWordsPreposition
- type DataWordsPronoun
- type DataWordsVerb
- type DataXiehouyu
- type DataZodiac
- type Dynasty
- type EightDiagram
- type IdiomSimple
- type Joke
- type Medicine
- type PcFileExt
- type PcOs
- type PhoneModel
- type Place
- type PoetryAncient
- type PoetryCategory
- type Song
- type SongData
- type TableInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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 CarComponent ¶
func (CarComponent) TableName ¶
func (CarComponent) TableName() string
type DataAnimalPlant ¶
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"` }
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"` }
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 ¶
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"` }
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 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"` }
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"` }
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 ¶
func (DataZodiac) TableName ¶
func (DataZodiac) TableName() string
type EightDiagram ¶
func (EightDiagram) TableName ¶
func (EightDiagram) TableName() string
type IdiomSimple ¶
func (IdiomSimple) TableName ¶
func (IdiomSimple) TableName() string
type PcOs ¶
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 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
Click to show internal directories.
Click to hide internal directories.