package wechat type GroupForm struct { Id int64 `json:"id" gorm:"column:g_id;type:bigint(20);;primaryKey;unique;not null;autoIncrement;index"` Name string `json:"name" gorm:"column:g_name;type:varchar(255);not null;comment:组织名称"` //'组织名称', Parentid int64 `json:"parentid" gorm:"column:g_parentid;type:bigint(20) unsigned;default:0;not null;comment:父级栏目"` //'父级栏目', Orderes int64 `json:"orderes" gorm:"column:g_order;type:bigint(20) unsigned;default:0;not null;comment:企业微信排序"` //'企业微信排序', Time int64 `json:"time" gorm:"column:g_time;type:bigint(20) unsigned;default:0;not null;comment:编辑时间"` //'编辑时间', Sate int8 `json:"state" gorm:"column:g_sate;type:tinyint(1) unsigned;default:1;not null;comment:状态"` //'状态', Group string `json:"group" gorm:"column:g_group;type:text;not null;comment:组织结构"` //'组织结构', GroupSun string `json:"groupsun" gorm:"column:g_group_sun;type:text;not null;comment:组织结构"` //'子节点', JinDieId int64 `json:"jindieid" gorm:"column:g_jindie_id;type:bigint(20) unsigned;default:0;not null;comment:金蝶ID"` //金蝶ID } func (GroupForm *GroupForm) TableName() string { return "groupform" }