entity

package
v0.0.1-rc01 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Code generated by "daox.gen"; DO NOT EDIT.

Code generated by "daox.gen"; DO NOT EDIT.

Code generated by "daox.gen"; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmsNews

type CmsNews struct {
	ID      int64     `json:"id"`      // -
	Title   string    `json:"title"`   // 标题
	Content string    `json:"content"` // 内容
	Topic   string    `json:"topic"`   // 主题
	Status  string    `json:"status"`  // 状态
	Remark  string    `json:"remark"`  // 备注
	Utime   time.Time `json:"utime"`   // 更新时间
	Ctime   time.Time `json:"ctime"`   // 创建时间
}

CmsNews 新闻信息表

func (*CmsNews) GetID

func (m *CmsNews) GetID() interface{}

type CmsSubscription

type CmsSubscription struct {
	ID    int64  `json:"id"`    // -
	UID   int64  `json:"uid"`   // 用户ID
	Topic string `json:"topic"` // 主题
}

CmsSubscription 用户订阅主题表

func (*CmsSubscription) GetID

func (m *CmsSubscription) GetID() interface{}

type CmsUser

type CmsUser struct {
	ID       int64     `json:"id"`       // -
	Username string    `json:"username"` // 用户名
	Pwd      string    `json:"pwd"`      // 密码
	Salt     string    `json:"salt"`     // 密码盐
	Email    string    `json:"email"`    // 邮箱
	Nickname string    `json:"nickname"` // 昵称
	Avatar   string    `json:"avatar"`   // 头像
	Status   string    `json:"status"`   // 状态
	Remark   string    `json:"remark"`   // 备注
	Utime    time.Time `json:"utime"`    // 更新时间
	Ctime    time.Time `json:"ctime"`    // 创建时间
}

CmsUser cms用户信息表

func (*CmsUser) GetID

func (m *CmsUser) GetID() interface{}

Jump to

Keyboard shortcuts

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