log_sms.go 661 字节
package models

import (
	"time"
)

type LogSms struct {
	tableName  struct{}          `comment:"记录短信消息" pg:"log_sms"`
	Id         int               `pg:",pk"`
	Phone      string            `pg:"phone"`
	TemplateId int               `pg:"template_id"`
	Template   string            `pg:"template"`
	Value      map[string]string `pg:"value"`
	CreatedAt  time.Time         `pg:"created_at"`
	Result     string            `pg:"result"`
	Status     string            `pg:"status"`
	From       string            `pg:"from"`  //业务来源
	Index      int               `pg:"index"` //业务数据索引
	ExecuteAt  time.Time         `pg:"execute_at"`
}