package model import "time" type Attribute struct { ID int `gorm:"primarykey" readonly:"true"` AppId int Status int // 是否显示 0为不显示 1为显示 默认不显示 AttributeName string ShowName string DataType string AttributeType int AttributeSource int CreateTime time.Time UpdateTime time.Time } func (m *Attribute) TableName() string { return "attribute" }