models

package
v0.0.0-...-9fc6a24 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2015 License: GPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DbConnect bool

Functions

func Connect

func Connect()

数据库连接

func Syncdb

func Syncdb()

Types

type Appmain

type Appmain struct {
	Id        int
	Title     string    `orm:"size(200);null"`
	Creatorid int       `orm:"null"`
	Ownerid   int       `orm:"null"`
	Deleted   int       `orm:"null"`
	Modname   string    `orm:"size(20);null"`
	Addtime   time.Time `orm:"null"`
	Edittime  time.Time `orm:"null"`
}

type DqContact

type DqContact struct {
	Id      int64  ` edithide:"true" `
	Sex     int    `` /* 179-byte string literal not displayed */
	Uname   string `orm:"size(16);null" juiclass:"easyui-numberbox"  allowList:"true"  `
	Piname  string `orm:"size(16);null"  juiclass:"easyui-datetimespinner"  `
	Tel     string `orm:"size(22);null;index"     allowList:"true"    juiclass:"easyui-datebox"    `
	Tel2    string `orm:"size(22);null"  value:"33"   allowList:"true"   `
	Comname string `orm:"size(33);null"   label:"公司"   `
	Mname   string `orm:"size(16);null"   label:"名称"   `
	Address string `orm:"size(32);null"    label:"地址"  `
	Note    string `orm:"size(152);null"   label:"备注"  `
	Email   string `orm:"size(32);null"   label:"邮件" `
	Qq      string `orm:"size(32);null"   label:"QQ" `

	Called        int       `orm:" null"  `
	Hits          int       `orm:" null"  label:"次数"  value:"30" juiclass:"easyui-numberspinner"  op:"min:10,max:100,editable:false"    `
	CallHits      int       `orm:" null"  label:"拨打" value:"40"   juiclass:"easyui-numberspinner"  op:"min:30,max:600,editable:true"   `
	Statu         int       `` /* 130-byte string literal not displayed */
	Lockit        int       `orm:" null"  `
	Addtime       time.Time `orm:"auto_now;type(datetime); null"`
	FirstCallTime time.Time `orm:"auto_now;type(datetime); null"`
	LastCalltime  time.Time `orm:"auto_now;type(datetime); null"`
	EditTime      time.Time `orm:"auto_now;type(datetime); null"`
}

type DqTest

type DqTest struct {
	Id      int64
	Sex     int    `orm:" null"  label:"性别"  `
	Uname   string `orm:"size(16);null" juiclass:"easyui-numberbox"  `
	Piname  string `orm:"size(16);null"  juiclass:"easyui-datetimespinner"  `
	Tel     string `orm:"size(22);null;index"    juiclass:"easyui-datebox"    `
	Tel2    string `orm:"size(22);null"  `
	Comname string `orm:"size(33);null"  `
	Mname   string `orm:"size(16);null"  `
	Address string `orm:"size(32);null"  `
	Note    string `orm:"size(152);null"  `
	Email   string `orm:"size(32);null"  `
	Qq      string `orm:"size(32);null"  `

	Called        int       `orm:" null"  `
	Hits          int       `orm:" null"  `
	CallHits      int       `orm:" null"  `
	Statu         int       `orm:" null"  `
	Lockit        int       `orm:" null"  `
	Addtime       time.Time `orm:"auto_now;type(datetime); null"`
	FirstCallTime time.Time `orm:"auto_now;type(datetime); null"`
	LastCalltime  time.Time `orm:"auto_now;type(datetime); null"`
	EditTime      time.Time `orm:"auto_now;type(datetime); null"`
}

Jump to

Keyboard shortcuts

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