micro-account/pkg/model/inviter.go
2026-01-12 14:36:08 +08:00

18 lines
495 B
Go

package model
import (
"time"
"gorm.io/plugin/soft_delete"
)
type Inviter struct {
ID uint `gorm:"primarykey"`
CreatedAt time.Time
UpdatedAt time.Time
DeletedAt soft_delete.DeletedAt `gorm:"column:deleted_at;type:int(11)"`
Code string `gorm:"column:code;comment:邀请码" json:"code"`
Name string `gorm:"column:name;comment:姓名" json:"name"`
TelNum string `gorm:"column:tel_num;comment:手机号" json:"telNum"`
}