model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Table     string `db:"TABLE_NAME"`
	Name      string `db:"COLUMN_NAME"`
	Type      string `db:"COLUMN_TYPE"`
	UpperType string `db:"UPPER_COLUMN_TYPE"`
	ColumnKey string `db:"COLUMN_KEY"`
	Comment   string `db:"COLUMN_COMMENT"`
}

type Entity

type Entity struct {
	PKG     string
	PKGName string
	Name    string
	Comment bool
	Table   *Table
	Fields  []*Field
	HaveId  bool
	Ids     []*Field
}

type Field

type Field struct {
	Name             string
	Type             string
	Comment          bool
	ColumnAnnotation bool
	IdAnnotation     bool
	Column           *Column
}

type Mapper

type Mapper struct {
	PKG     string
	PKGName string
	Name    string
	Entity  *Entity
}

type Repository

type Repository struct {
	PKG     string
	PKGName string
	Name    string
	Entity  *Entity
}

type Table

type Table struct {
	Name    string `db:"TABLE_NAME"`
	Comment string `db:"TABLE_COMMENT"`
	Columns []*Column
}

type XML

type XML struct {
	Mapper *Mapper
}

Jump to

Keyboard shortcuts

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