Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AboutBlog ¶
type AboutBlog struct { BlogId int `xorm:"not null pk comment('用户ID') MEDIUMINT(8)"` BlogKeyword string `xorm:"not null comment('博客关键字') VARCHAR(255)"` BlogDescription string `xorm:"not null comment('博客描述') VARCHAR(255)"` BlogName string `xorm:"not null comment('博客名称') VARCHAR(36)"` BlogTitle string `xorm:"not null comment('博客标题') VARCHAR(128)"` }
type Ad ¶
type Ad struct { AdId int `xorm:"not null pk autoincr comment('自增ID') SMALLINT(5)"` PositionId int `` /* 151-byte string literal not displayed */ MediaType int `xorm:"not null default 0 comment('广告类型,0图片;1flash;2代码3文字') TINYINT(3)"` AdName string `xorm:"not null comment('该条广告记录的广告名称') VARCHAR(60)"` AdLink string `xorm:"not null comment('广告链接地址') VARCHAR(255)"` AdCode string `xorm:"not null comment('广告链接的表现,文字广告就是文字或图片和flash就是它们的地址') TEXT"` StartTime int `xorm:"not null default 0 comment('广告开始时间') INT(13)"` EndTime int `xorm:"not null default 0 comment('广告结束时间') INT(13)"` LinkMan string `xorm:"not null comment('广告联系人') VARCHAR(60)"` LinkEmail string `xorm:"not null comment('广告联系人的邮箱') VARCHAR(60)"` LinkPhone string `xorm:"not null comment('广告联系人得电话') VARCHAR(60)"` ClickCount int `xorm:"not null default 0 comment('广告点击次数') MEDIUMINT(8)"` Enabled int `xorm:"not null default 1 comment('该广告是否关闭;1开启; 0关闭; 关闭后广告将不再有效') TINYINT(3)"` }
type Article ¶
type Article struct { ArticleId int `xorm:"not null pk autoincr comment('日志自增ID号') SMALLINT(5)"` ArticleName string `xorm:"not null comment('文章名称') VARCHAR(128)"` ArticleTime int `xorm:"not null comment('发布时间') INT(13)"` ArticleIp string `xorm:"not null comment('发布IP') VARCHAR(15)"` ArticleClick int `xorm:"not null comment('查看人数') INT(10)"` SortArticleId int `xorm:"not null comment('所属分类') MEDIUMINT(8)"` UserId int `xorm:"not null comment('所属用户ID') MEDIUMINT(8)"` TypeId int `xorm:"not null default 1 comment('栏目ID') TINYINT(3)"` ArticleType int `xorm:"not null default 1 comment('文章的模式:0为私有,1为公开,2为仅好友查看') INT(13)"` ArticleContent string `xorm:"not null comment('文章内容') TEXT"` ArticleUp int `xorm:"not null default 0 comment('是否置顶:0为否,1为是') TINYINT(3)"` ArticleSupport int `xorm:"not null default 0 comment('是否博主推荐:0为否,1为是') TINYINT(3)"` }
type ArticleSort ¶
type FriendlyLink ¶
type FriendlyLink struct { LinkId int `xorm:"not null pk autoincr comment('友情链接自增ID') SMALLINT(5)"` LinkName string `xorm:"not null comment('友情链接名称') VARCHAR(60)"` LinkUrl string `xorm:"not null comment('链接地址') VARCHAR(255)"` LinkLogo string `xorm:"not null comment('LOGO图片') VARCHAR(255)"` ShowOrder int `xorm:"not null comment('在页面显示的顺序') TINYINT(3)"` }
type PhoneMessage ¶
type PhoneMessage struct { PhoneId int `xorm:"not null pk autoincr comment('自增ID号') MEDIUMINT(8)"` PhoneNum string `xorm:"not null comment('用户手机号码') VARCHAR(12)"` Contents string `xorm:"not null comment('发送内容') VARCHAR(255)"` SendTime int `xorm:"not null comment('发送时间') INT(13)"` UserId int `xorm:"not null comment('用户ID') MEDIUMINT(8)"` }
type PhotoSort ¶
type PhotoSort struct { SortImgId int `xorm:"not null pk autoincr comment('相册ID') MEDIUMINT(8)"` SortImgName string `xorm:"not null comment('相册名') VARCHAR(20)"` SortImgType string `` /* 148-byte string literal not displayed */ ImgPassword string `xorm:"not null comment('查看密码') VARCHAR(32)"` UserId int `xorm:"not null comment('所属用户ID') MEDIUMINT(8)"` ImgSortQuestion string `xorm:"not null comment('访问问题') VARCHAR(255)"` ImgSortAnswer string `xorm:"not null comment('访问问题的答案') VARCHAR(128)"` TypeId int `xorm:"not null default 1 comment('默认1表示相册板块') INT(3)"` TopPicSrc int `xorm:"not null comment('封面图片的路径') MEDIUMINT(8)"` }
type Photos ¶
type Photos struct { PhotoId int `xorm:"not null pk autoincr comment('相片ID') MEDIUMINT(8)"` PhotoName string `xorm:"not null comment('相片名称') VARCHAR(255)"` PhotoSrc string `xorm:"not null comment('图片路径') VARCHAR(255)"` PhotoDescription string `xorm:"not null comment('图片描述') VARCHAR(255)"` UserId int `xorm:"not null comment('所属用户ID') MEDIUMINT(8)"` SortId int `xorm:"not null comment('所属相册ID') MEDIUMINT(8)"` UploadTime int `xorm:"not null comment('图片上传时间') INT(13)"` UploadIp string `xorm:"not null comment('图片操作上传IP地址') VARCHAR(15)"` }
type SecretMessage ¶
type SecretMessage struct { SecretId int `xorm:"not null pk autoincr comment('自增私信ID') MEDIUMINT(8)"` SendId int `xorm:"not null comment('发信者ID') MEDIUMINT(8)"` ReceiveId int `xorm:"not null comment('收信者ID') MEDIUMINT(8)"` MessageTopic string `xorm:"not null comment('私信标题') VARCHAR(64)"` MessageContent string `xorm:"not null comment('私信内容') VARCHAR(255)"` }
type Shuoshuo ¶
type Shuoshuo struct { ShuoId int `xorm:"not null pk autoincr comment('说说记录ID') MEDIUMINT(8)"` UserId int `xorm:"not null comment('用户ID') MEDIUMINT(8)"` ShuoTime int `xorm:"not null default 0 comment('发布时间') INT(13)"` ShuoIp string `xorm:"not null comment('说说发布时的IP地址') VARCHAR(15)"` Shuoshuo string `xorm:"not null comment('说说内容') VARCHAR(255)"` TypeId int `xorm:"not null default 3 comment('栏目ID,默认为3') TINYINT(3)"` }
type StayMessage ¶
type StayMessage struct { StayId int `xorm:"not null pk autoincr comment('留言表自增ID') SMALLINT(5)"` UserId int `xorm:"not null comment('用户ID') MEDIUMINT(8)"` StayUserId int `xorm:"not null comment('留言者ID') MEDIUMINT(8)"` MessageContent string `xorm:"not null comment('留言内容') VARCHAR(255)"` StayUserIp string `xorm:"not null comment('留言用户的IP地址') VARCHAR(15)"` MessageStayTime int `xorm:"not null comment('留言时间') INT(13)"` Place string `xorm:"not null comment('地区') VARCHAR(64)"` }
type SystemMessage ¶
type SystemMessage struct { SystemId int `xorm:"not null pk autoincr comment('系统通知ID') MEDIUMINT(8)"` SendId int `xorm:"not null comment('接受者ID') MEDIUMINT(8)"` GroupId int `xorm:"not null comment('用户组ID') TINYINT(3)"` SendDefault int `xorm:"not null comment('1时发送所有用户,0时则不采用') MEDIUMINT(8)"` SystemTopic string `xorm:"not null comment('通知内容') VARCHAR(60)"` SystemContent string `xorm:"not null comment('通知内容') VARCHAR(255)"` }
type User ¶
type User struct { UserId int `xorm:"not null pk autoincr comment('用户ID') MEDIUMINT(8)"` GroupId int `xorm:"not null comment('用户组ID') MEDIUMINT(8)"` UserName string `xorm:"not null comment('用户名') VARCHAR(32)"` UserPwd string `xorm:"not null comment('用户密码') VARCHAR(32)"` UserPhone int `xorm:"not null comment('用户手机号码') INT(12)"` UserSex string `xorm:"not null comment('用户性别') VARCHAR(6)"` UserQq int `xorm:"not null comment('用户QQ号码') MEDIUMINT(9)"` UserEmail string `xorm:"not null comment('用户EMAIL地址') VARCHAR(64)"` UserAddress string `xorm:"not null comment('用户地址') VARCHAR(255)"` UserMark int `xorm:"not null comment('用户积分') MEDIUMINT(9)"` UserRankId int `xorm:"not null comment('用户等级') TINYINT(3)"` UserLastLoginIp string `xorm:"not null comment('用户上一次登录IP地址') VARCHAR(15)"` UserBirthday int `xorm:"not null comment('用户生日') INT(13)"` UserDescription string `xorm:"not null comment('自我描述') VARCHAR(255)"` UserImageUrl string `xorm:"not null comment('用户头像存储路径') VARCHAR(255)"` UserSchool string `xorm:"not null comment('毕业学校') VARCHAR(255)"` UserRegisterTime int `xorm:"not null comment('用户注册时间') INT(13)"` UserRegisterIp string `xorm:"not null comment('用户注册时IP地址') VARCHAR(15)"` UserLastUpdateTime int `xorm:"not null comment('用户上次更新博客时间') INT(13)"` UserWeibo string `xorm:"not null comment('用户微博') VARCHAR(255)"` UserBloodType string `xorm:"not null comment('用户血型') CHAR(3)"` UserSays string `xorm:"not null comment('用户语录') VARCHAR(255)"` UserLock int `xorm:"not null comment('是否锁定,0为不锁定,1为锁定') TINYINT(3)"` UserFreeze int `xorm:"not null comment('是否冻结,0为不冻结,1为冻结') TINYINT(3)"` UserPower string `xorm:"not null comment('拥有权限') VARCHAR(255)"` }
type UserAttention ¶
type UserComment ¶
type UserComment struct { CId int `xorm:"not null pk autoincr comment('评论自增ID号') MEDIUMINT(8)"` UserId int `xorm:"not null comment('收到评论的用户ID') MEDIUMINT(8)"` TypeId int `xorm:"not null comment('评论栏目ID') TINYINT(3)"` CommitId int `xorm:"not null comment('评论内容的ID') MEDIUMINT(8)"` CommitContent string `xorm:"not null comment('评论内容') VARCHAR(255)"` CommitUserId int `xorm:"not null comment('评论者ID') MEDIUMINT(8)"` CommitTime int `xorm:"not null comment('评论时间') INT(13)"` CommitIp string `xorm:"not null comment('评论时的IP地址') VARCHAR(15)"` }
type Visitor ¶
type Visitor struct { VId int `xorm:"not null pk autoincr comment('访客记录ID') MEDIUMINT(8)"` VisitorId int `xorm:"not null comment('访客ID') MEDIUMINT(8)"` VisitorTime int `xorm:"not null comment('来访时间') INT(13)"` UserId int `xorm:"not null comment('被访用户ID') MEDIUMINT(8)"` VisitorIp string `xorm:"not null comment('访客IP地址') VARCHAR(15)"` TypeId int `xorm:"not null comment('访问板块ID') INT(3)"` WhereId int `` /* 144-byte string literal not displayed */ }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.