12345678910111213141516171819202122232425262728293031323334353637383940 |
- package chart_variety
- import (
- "time"
- )
- type ChartVariety struct {
- ChartVarietyID int `gorm:"primaryKey;column:chart_variety_id" json:"-"`
- ChartVarietyName string `gorm:"column:chart_variety_name" json:"chartVarietyName"`
- ChartVarietyNameEn string `gorm:"column:chart_variety_name_en" json:"chartVarietyNameEn"`
- SysUserID int `gorm:"column:sys_user_id" json:"sysUserId"`
- SysUserRealName string `gorm:"column:sys_user_real_name" json:"sysUserRealName"`
- ModifyTime time.Time `gorm:"column:modify_time" json:"modifyTime"`
- CreateTime time.Time `gorm:"column:create_time" json:"createTime"`
- }
- func (m *ChartVariety) TableName() string {
- return "chart_variety"
- }
- var ChartVarietyColumns = struct {
- ChartVarietyID string
- ChartVarietyName string
- ChartVarietyNameEn string
- SysUserID string
- SysUserRealName string
- ModifyTime string
- CreateTime string
- }{
- ChartVarietyID: "chart_variety_id",
- ChartVarietyName: "chart_variety_name",
- ChartVarietyNameEn: "chart_variety_name_en",
- SysUserID: "sys_user_id",
- SysUserRealName: "sys_user_real_name",
- ModifyTime: "modify_time",
- CreateTime: "create_time",
- }
|