package request

import (
	"time"

	"courseSign/server/model/common/request"
	"courseSign/server/model/twi"
)

type TwiMetamaskSearch struct{
    twi.TwiMetamask
    StartCreatedAt *time.Time `json:"startCreatedAt" form:"startCreatedAt"`
    EndCreatedAt   *time.Time `json:"endCreatedAt" form:"endCreatedAt"`
    StartBindTime  *time.Time  `json:"startBindTime" form:"startBindTime"`
    EndBindTime  *time.Time  `json:"endBindTime" form:"endBindTime"`
    request.PageInfo
}

type TwiUserLogin struct {
	Addr string `json:"addr" form:"addr"`
	Msg string `json:"msg" form:"msg"`
	Signature string `json:"signature" form:"signature"`
	Invitor string `json:"invitor" form:"invitor"`
}

type TwiCallback struct {
	OauthToken string `json:"oauth-token" form:"oauth_token"`
	OauthVerifier string `json:"oauth-verifier" form:"oauth-verifier"`
}


type ResTwiUserMe struct {
	Data TwiUserMe `json:"data"`
}

type TwiUserMe struct {
	Id string `json:"id"`
	Name string `json:"name"`
	Username string `json:"username"`
	ProfileImageUrl string `json:"profile_image_url"`
}