// 自动生成模板UsersMsg
package user

import (
	"courseSign/server/global"
	
)

// UsersMsg 结构体
type UsersMsg struct {
      global.GVA_MODEL
      Msg  string `json:"msg" form:"msg" gorm:"column:msg;comment:消息内容;size:512;"`
      Uid  *int `json:"uid" form:"uid" gorm:"column:uid;index;comment:用户;size:10;"`
      Status  *bool `json:"status" form:"status" gorm:"column:status;comment:0 未读取 1 已读取;"`
      Ty *bool `json:"ty" form:"ty" gorm:"-"` // 0 全体发送  1 单独发送
      Address string `json:"address" form:"address" gorm:"-"`
}


// TableName UsersMsg 表名
func (UsersMsg) TableName() string {
  return "users_msg"
}

