package gys import "github.com/golangkit/formatime" const ( Mail_Type_Gys_Settled = 1 // 供应商入驻 ) type GysEmail struct { Id uint `gorm:"column:id;primary_key" json:"id"` Email string `gorm:"column:email" json:"email"` RelationId uint `gorm:"column:relation_id" json:"relationId"` Type int `gorm:"column:type" json:"type"` CreatedAt formatime.Second `gorm:"column:created_at" json:"createdAt"` UpdatedAt formatime.Second `gorm:"column:updated_at" json:"updatedAt"` } func (g *GysEmail) TableName() string { return "gys_email" }