annotation

package
v0.0.0-...-1a281b6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bean

type Bean struct {
	GenEntity *gen.GenEntity
	TabName   string
	Title     string
	Comment   string
	Name      string    //entity名称
	Fileld    *[]Fileld //bean信息
}

func (*Bean) BeanName

func (this *Bean) BeanName(comment string)

func (*Bean) TableName

func (this *Bean) TableName(comment string)

func (*Bean) ToField

func (this *Bean) ToField(fields []*ast.Field)

type BeanToTable

type BeanToTable struct {
	Bean *Bean
}

实体映射表

type Column

type Column struct {
	Name    string //列名
	Identif bool   //是否唯一标识
}

表->列

type Fileld

type Fileld struct {
	Name   string //字段名
	Type   string //字段类型
	Column Column //列名
}

Jump to

Keyboard shortcuts

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