You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
616 B

4 years ago
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"
}