mo

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Abilities

type Abilities struct {
	// Contacts 联系方式
	Contacts string `gorm:"column:contacts" json:"contacts"`
	// CreateID column comments
	CreateID int `gorm:"column:create_id" json:"create_id"`
	// CreateName column comments
	CreateName string `gorm:"column:create_name" json:"create_name"`
	// CreateTime column comments
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// Desc 描述
	Desc string `gorm:"column:desc" json:"desc"`
	// Icon column comments
	Icon string `gorm:"column:icon" json:"icon"`
	// IconHover column comments
	IconHover string `gorm:"column:icon_hover" json:"icon_hover"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// Introduce 简介
	Introduce string `gorm:"column:introduce" json:"introduce"`
	// IsHomeView 首页是否展示:0-不展示,1-展示
	IsHomeView int `gorm:"column:is_home_view" json:"is_home_view"`
	// LastUpdateID column comments
	LastUpdateID int `gorm:"column:last_update_id" json:"last_update_id"`
	// LastUpdateName column comments
	LastUpdateName string `gorm:"column:last_update_name" json:"last_update_name"`
	// LastUpdateTime column comments
	LastUpdateTime time.Time `gorm:"column:last_update_time" json:"last_update_time"`
	// Name 能力名称
	Name string `gorm:"column:name" json:"name"`
	// Status 是否有效;1-有效,0-无效
	Status null.Int `gorm:"column:status" json:"status"`
	// ViewSort 展示序号
	ViewSort int `gorm:"column:view_sort" json:"view_sort"`
	// Website 网站
	Website string `gorm:"column:website" json:"website"`
	// Year 年份
	Year string `gorm:"column:year" json:"year"`
}

Abilities 能力表

func (*Abilities) TableName

func (a *Abilities) TableName() string

TableName sets the insert table name for this struct type

type AedDeviceInfo

type AedDeviceInfo struct {
	// BatchNumber 数据批次号
	BatchNumber string `gorm:"column:batch_number" json:"batch_number"`
	// CityNumber aed设备所在城市编码;需关联城市表
	CityNumber string `gorm:"column:city_number" json:"city_number"`
	// ConnectedSystem aed设备是否连接其他急救系统;Y-已连接,N-未连接
	ConnectedSystem string `gorm:"column:connected_system" json:"connected_system"`
	// County aed设备所在市所属区/县
	County string `gorm:"column:county" json:"county"`
	// CreateTime 该条设备数据创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// DataProvider 设备数据提供者
	DataProvider string `gorm:"column:data_provider" json:"data_provider"`
	// DataSourceType 设备数据来源方式
	DataSourceType string `gorm:"column:data_source_type" json:"data_source_type"`
	// DeviceAddress aed设备地址
	DeviceAddress string `gorm:"column:device_address" json:"device_address"`
	// DeviceAvailableTime aed设备所在地可取用时段
	DeviceAvailableTime string `gorm:"column:device_available_time" json:"device_available_time"`
	// DeviceBrand aed设备生产商
	DeviceBrand string `gorm:"column:device_brand" json:"device_brand"`
	// DeviceLatitude 纬度
	DeviceLatitude string `gorm:"column:device_latitude" json:"device_latitude"`
	// DeviceLongitude 经度
	DeviceLongitude string `gorm:"column:device_longitude" json:"device_longitude"`
	// DeviceMaintenancer aed设备维护方
	DeviceMaintenancer string `gorm:"column:device_maintenancer" json:"device_maintenancer"`
	// DeviceNumber aed设备管理编号,SZ0755-序列号
	DeviceNumber string `gorm:"column:device_number" json:"device_number"`
	// DeviceOwner aed设备所属方
	DeviceOwner string `gorm:"column:device_owner" json:"device_owner"`
	// DeviceSerialNumber aed设备自身的序列号
	DeviceSerialNumber string `gorm:"column:device_serial_number" json:"device_serial_number"`
	// DeviceStatus aed设备状态;Y-正常可用,N-不可用
	DeviceStatus string `gorm:"column:device_status" json:"device_status"`
	// EmergencyName aed设备紧急联系人
	EmergencyName null.String `gorm:"column:emergency_name" json:"emergency_name"`
	// EmergencySystemName aed设备连接的其他急救系统名称
	EmergencySystemName null.String `gorm:"column:emergency_system_name" json:"emergency_system_name"`
	// EmergencyTel aed设备紧急联系电话
	EmergencyTel null.String `gorm:"column:emergency_tel" json:"emergency_tel"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// LastUpdateTime 上次更新数据时间
	LastUpdateTime time.Time `gorm:"column:last_update_time" json:"last_update_time"`
	// MaintenancePeriod 设备维护周期
	MaintenancePeriod null.Int `gorm:"column:maintenance_period" json:"maintenance_period"`
	// ServiceActualTime 设备使用实际终止日期
	ServiceActualTime time.Time `gorm:"column:service_actual_time" json:"service_actual_time"`
	// ServiceExpireTime 设备使用寿命理论终止日期
	ServiceExpireTime time.Time `gorm:"column:service_expire_time" json:"service_expire_time"`
	// ServiceStartTime 设备投入使用开始日期
	ServiceStartTime time.Time `gorm:"column:service_start_time" json:"service_start_time"`
	// Street aed设备所在街道
	Street string `gorm:"column:street" json:"street"`
}

AedDeviceInfo table comment

func (*AedDeviceInfo) TableName

func (a *AedDeviceInfo) TableName() string

TableName sets the insert table name for this struct type

type AedUserLogin

type AedUserLogin struct {
	// CreateTime 创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据创建者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// Email 邮箱
	Email string `gorm:"column:email" json:"email"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// LastLogintime 最后登录时间
	LastLogintime time.Time `gorm:"column:last_logintime" json:"last_logintime"`
	// LoginName 登录用户名
	LoginName string `gorm:"column:login_name" json:"login_name"`
	// LoginPassword 登录密码
	LoginPassword string `gorm:"column:login_password" json:"login_password"`
	// LoginType 登录方式
	LoginType string `gorm:"column:login_type" json:"login_type"`
	// Mobile 手机号
	Mobile string `gorm:"column:mobile" json:"mobile"`
	// QqUnionid qq登录的unionid
	QqUnionid string `gorm:"column:qq_unionid" json:"qq_unionid"`
	// Salt 用于加密的salt
	Salt string `gorm:"column:salt" json:"salt"`
	// SubID 返回给应用的sub_id
	SubID string `gorm:"column:sub_id" json:"sub_id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据更新者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
	// WxUnionid 微信登录的unionid
	WxUnionid string `gorm:"column:wx_unionid" json:"wx_unionid"`
}

AedUserLogin aed用户登录表

func (*AedUserLogin) TableName

func (a *AedUserLogin) TableName() string

TableName sets the insert table name for this struct type

type Application

type Application struct {
	// Appid appid
	Appid string `gorm:"column:appid" json:"appid"`
	// ApplicationFlag 应用标识,唯一
	ApplicationFlag string `gorm:"column:application_flag" json:"application_flag"`
	// ApplicationName 应用名称
	ApplicationName string `gorm:"column:application_name" json:"application_name"`
	// CreateTime 创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据创建者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// IsCompanyVerified 0不启用企业认证  1启用企业认证,企业认证指和对方企业对接信息
	IsCompanyVerified int `gorm:"column:is_company_verified" json:"is_company_verified"`
	// IsVerified 0不启用实名认证 1启用实名认证
	IsVerified int `gorm:"column:is_verified" json:"is_verified"`
	// LoginConfig 登录配置,使用数组键值对来匹配登录方式
	LoginConfig string `gorm:"column:login_config" json:"login_config"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// Token 应用令牌
	Token string `gorm:"column:token" json:"token"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据修改者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

Application 应用信息表

func (*Application) TableName

func (a *Application) TableName() string

TableName sets the insert table name for this struct type

type Cases

type Cases struct {
	// AbilityID 能力id
	AbilityID int `gorm:"column:ability_id" json:"ability_id"`
	// Application 技术运用描述
	Application string `gorm:"column:application" json:"application"`
	// CategoryID 案例分类id
	CategoryID int `gorm:"column:category_id" json:"category_id"`
	// Contacts 联系方式
	Contacts string `gorm:"column:contacts" json:"contacts"`
	// CreateID column comments
	CreateID int `gorm:"column:create_id" json:"create_id"`
	// CreateName column comments
	CreateName string `gorm:"column:create_name" json:"create_name"`
	// CreateTime column comments
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// Desc 案例描述
	Desc string `gorm:"column:desc" json:"desc"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// Introduce 简介
	Introduce string `gorm:"column:introduce" json:"introduce"`
	// IsHomeView 是否在首页展示:1-展示,0-不展示
	IsHomeView int `gorm:"column:is_home_view" json:"is_home_view"`
	// LastUpdateID column comments
	LastUpdateID int `gorm:"column:last_update_id" json:"last_update_id"`
	// LastUpdateName column comments
	LastUpdateName string `gorm:"column:last_update_name" json:"last_update_name"`
	// LastUpdateTime column comments
	LastUpdateTime time.Time `gorm:"column:last_update_time" json:"last_update_time"`
	// MobileDetailImgURL 移动端案列简介图片地址
	MobileDetailImgURL null.String `gorm:"column:mobile_detail_img_url" json:"mobile_detail_img_url"`
	// MobileHomeImgURL 移动端案列首页图片地址
	MobileHomeImgURL null.String `gorm:"column:mobile_home_img_url" json:"mobile_home_img_url"`
	// MobileListImgURL 移动端案列列表图片地址
	MobileListImgURL null.String `gorm:"column:mobile_list_img_url" json:"mobile_list_img_url"`
	// PcDetailImgURL 案例简介图片地址
	PcDetailImgURL null.String `gorm:"column:pc_detail_img_url" json:"pc_detail_img_url"`
	// PcHomeImgURL 案例首页图片地址
	PcHomeImgURL null.String `gorm:"column:pc_home_img_url" json:"pc_home_img_url"`
	// PcListImgURL 案列列表图片地址
	PcListImgURL null.String `gorm:"column:pc_list_img_url" json:"pc_list_img_url"`
	// Significance 项目意义
	Significance string `gorm:"column:significance" json:"significance"`
	// Status 案例状态0-下架,1-正常
	Status int `gorm:"column:status" json:"status"`
	// Title 案例名称
	Title string `gorm:"column:title" json:"title"`
	// ViewSort 首页展示顺序
	ViewSort int `gorm:"column:view_sort" json:"view_sort"`
	// Website 网站
	Website string `gorm:"column:website" json:"website"`
	// Year 年份
	Year string `gorm:"column:year" json:"year"`
}

Cases 案例表

func (*Cases) TableName

func (c *Cases) TableName() string

TableName sets the insert table name for this struct type

type Category

type Category struct {
	// CreateID column comments
	CreateID int `gorm:"column:create_id" json:"create_id"`
	// CreateName column comments
	CreateName string `gorm:"column:create_name" json:"create_name"`
	// CreateTime column comments
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// Label 分类名称
	Label string `gorm:"column:label" json:"label"`
	// LastUpdateID column comments
	LastUpdateID int `gorm:"column:last_update_id" json:"last_update_id"`
	// LastUpdateName column comments
	LastUpdateName string `gorm:"column:last_update_name" json:"last_update_name"`
	// LastUpdateTime column comments
	LastUpdateTime time.Time `gorm:"column:last_update_time" json:"last_update_time"`
	// Status column comments
	Status int `gorm:"column:status" json:"status"`
	// ViewSort 展示顺序
	ViewSort null.Int `gorm:"column:view_sort" json:"view_sort"`
	// Year 年份
	Year string `gorm:"column:year" json:"year"`
}

Category 案例分类表

func (*Category) TableName

func (c *Category) TableName() string

TableName sets the insert table name for this struct type

type Company

type Company struct {
	// CompanyFlag 公司标识,唯一值
	CompanyFlag string `gorm:"column:company_flag" json:"company_flag"`
	// CompanyName 公司名称
	CompanyName string `gorm:"column:company_name" json:"company_name"`
	// CreateTime 添加时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据添加者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 修改时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据修改者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

Company 公司表

func (*Company) TableName

func (c *Company) TableName() string

TableName sets the insert table name for this struct type

type Department

type Department struct {
	// CompanyFlag 公司标识
	CompanyFlag string `gorm:"column:company_flag" json:"company_flag"`
	// CreateTime 创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 创建数据者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// DepartmentName 部门名称
	DepartmentName string `gorm:"column:department_name" json:"department_name"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 更新数据者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

Department 部门表

func (*Department) TableName

func (d *Department) TableName() string

TableName sets the insert table name for this struct type

type Feedback

type Feedback struct {
	// ID id
	ID int64 `gorm:"primary_key;column:id" json:"id"`
	// Mobile 手机
	Mobile string `gorm:"column:mobile" json:"mobile"`
	// FullName 姓名
	FullName null.String `gorm:"column:full_name" json:"full_name"`
	// Content 反馈内容
	Content string `gorm:"column:content" json:"content"`
}

Feedback table comment

func (*Feedback) TableName

func (f *Feedback) TableName() string

TableName sets the insert table name for this struct type

type GongyiUserLogin

type GongyiUserLogin struct {
	// CreateTime 创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据创建者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// Email 邮箱
	Email string `gorm:"column:email" json:"email"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// LastLogintime 最后登录时间
	LastLogintime time.Time `gorm:"column:last_logintime" json:"last_logintime"`
	// LoginName 登录用户名
	LoginName string `gorm:"column:login_name" json:"login_name"`
	// LoginPassword 登录密码
	LoginPassword string `gorm:"column:login_password" json:"login_password"`
	// LoginType 登录方式
	LoginType string `gorm:"column:login_type" json:"login_type"`
	// Mobile 手机号
	Mobile string `gorm:"column:mobile" json:"mobile"`
	// QqUnionid qq登录的unionid
	QqUnionid string `gorm:"column:qq_unionid" json:"qq_unionid"`
	// Salt 用于加密的salt
	Salt string `gorm:"column:salt" json:"salt"`
	// SubID 返回给应用的sub_id
	SubID string `gorm:"column:sub_id" json:"sub_id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据更新者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
	// WxUnionid 微信登录的unionid
	WxUnionid string `gorm:"column:wx_unionid" json:"wx_unionid"`
}

GongyiUserLogin 公益小程序用户登录表

func (*GongyiUserLogin) TableName

func (g *GongyiUserLogin) TableName() string

TableName sets the insert table name for this struct type

type Home

type Home struct {
	// CreateID column comments
	CreateID int `gorm:"column:create_id" json:"create_id"`
	// CreateName column comments
	CreateName string `gorm:"column:create_name" json:"create_name"`
	// CreateTime column comments
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// Desc 网站简介
	Desc string `gorm:"column:desc" json:"desc"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// LastUpdateID column comments
	LastUpdateID int `gorm:"column:last_update_id" json:"last_update_id"`
	// LastUpdateName column comments
	LastUpdateName string `gorm:"column:last_update_name" json:"last_update_name"`
	// LastUpdateTime column comments
	LastUpdateTime time.Time `gorm:"column:last_update_time" json:"last_update_time"`
	// Status 可用状态1=可用,-1=不可用
	Status int `gorm:"column:status" json:"status"`
	// Year 年份
	Year string `gorm:"column:year" json:"year"`
}

Home 首页表

func (*Home) TableName

func (h *Home) TableName() string

TableName sets the insert table name for this struct type

type Person

type Person struct {
	// CreateTime 添加时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据添加人
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// Idcard 身份证号,可以考虑加密
	Idcard string `gorm:"column:idcard" json:"idcard"`
	// PersonID 生成的user_id,唯一
	PersonID string `gorm:"column:person_id" json:"person_id"`
	// Sex 0女  1男  2保密
	Sex int `gorm:"column:sex" json:"sex"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// Truename 真实姓名
	Truename string `gorm:"column:truename" json:"truename"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据修改人
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

Person 用户实名表

func (*Person) TableName

func (p *Person) TableName() string

TableName sets the insert table name for this struct type

type Roles

type Roles struct {
	// CreateID column comments
	CreateID int `gorm:"column:create_id" json:"create_id"`
	// CreateName column comments
	CreateName string `gorm:"column:create_name" json:"create_name"`
	// CreateTime column comments
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// Desc 描述
	Desc string `gorm:"column:desc" json:"desc"`
	// Icon pc端图标
	Icon string `gorm:"column:icon" json:"icon"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// LastUpdateID column comments
	LastUpdateID int `gorm:"column:last_update_id" json:"last_update_id"`
	// LastUpdateName column comments
	LastUpdateName string `gorm:"column:last_update_name" json:"last_update_name"`
	// LastUpdateTime column comments
	LastUpdateTime time.Time `gorm:"column:last_update_time" json:"last_update_time"`
	// MobileIcon 移动端图标
	MobileIcon string `gorm:"primary_key;column:mobile_icon" json:"mobile_icon"`
	// Name 名称
	Name string `gorm:"column:name" json:"name"`
	// Status 可用状态
	Status int `gorm:"column:status" json:"status"`
	// Year 年份
	Year string `gorm:"column:year" json:"year"`
}

Roles 功能表

func (*Roles) TableName

func (r *Roles) TableName() string

TableName sets the insert table name for this struct type

type UserBase

type UserBase struct {
	// ApplicationFlag 应用标识
	ApplicationFlag string `gorm:"column:application_flag" json:"application_flag"`
	// CreateTime 创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据创建者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// PersonID person表中的person_id
	PersonID string `gorm:"column:person_id" json:"person_id"`
	// SubID sub_id
	SubID string `gorm:"column:sub_id" json:"sub_id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据更新者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

UserBase 用户基础表

func (*UserBase) TableName

func (u *UserBase) TableName() string

TableName sets the insert table name for this struct type

type UserCompany

type UserCompany struct {
	// CompanyFlag 公司标识
	CompanyFlag string `gorm:"column:company_flag" json:"company_flag"`
	// CompanyName 公司名称
	CompanyName string `gorm:"column:company_name" json:"company_name"`
	// CreateTime 创建时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据创建者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// PersonID person表中的person_id
	PersonID string `gorm:"column:person_id" json:"person_id"`
	// SubID sub_id
	SubID string `gorm:"column:sub_id" json:"sub_id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据更新者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

UserCompany 用户公司表

func (*UserCompany) TableName

func (u *UserCompany) TableName() string

TableName sets the insert table name for this struct type

type UserDepartment

type UserDepartment struct {
	// CompanyFlag 公司标识
	CompanyFlag string `gorm:"column:company_flag" json:"company_flag"`
	// CompanyName 公司名称
	CompanyName string `gorm:"column:company_name" json:"company_name"`
	// CreateTime 添加时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据添加人
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// DepartmentName 部门名称
	DepartmentName string `gorm:"column:department_name" json:"department_name"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// PersonID 对应自然人的person_id
	PersonID string `gorm:"column:person_id" json:"person_id"`
	// SubID sub_id
	SubID string `gorm:"column:sub_id" json:"sub_id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据更新人
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

UserDepartment 用户部门表

func (*UserDepartment) TableName

func (u *UserDepartment) TableName() string

TableName sets the insert table name for this struct type

type UserExt

type UserExt struct {
	// CreateTime 添加时间
	CreateTime time.Time `gorm:"column:create_time" json:"create_time"`
	// CreateUser 数据创建者
	CreateUser string `gorm:"column:create_user" json:"create_user"`
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
	// ObjName 用户其它额外信息健名
	ObjName string `gorm:"column:obj_name" json:"obj_name"`
	// ObjValue 用户其它额外信息健值
	ObjValue string `gorm:"column:obj_value" json:"obj_value"`
	// SubID 用于关联其它表的sub_id
	SubID string `gorm:"column:sub_id" json:"sub_id"`
	// Summary 备注
	Summary string `gorm:"column:summary" json:"summary"`
	// UpdateTime 更新时间
	UpdateTime time.Time `gorm:"column:update_time" json:"update_time"`
	// UpdateUser 数据更新者
	UpdateUser string `gorm:"column:update_user" json:"update_user"`
}

UserExt 用户扩展表

func (*UserExt) TableName

func (u *UserExt) TableName() string

TableName sets the insert table name for this struct type

type VolunteeUserLogin

type VolunteeUserLogin struct {
	// ID column comments
	ID int `gorm:"primary_key;column:id" json:"id"`
}

VolunteeUserLogin table comment

func (*VolunteeUserLogin) TableName

func (v *VolunteeUserLogin) TableName() string

TableName sets the insert table name for this struct type

Jump to

Keyboard shortcuts

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