20 lines
512 B
Go
20 lines
512 B
Go
package dto
|
|
|
|
type TenantProfile struct {
|
|
ID string `json:"id"`
|
|
Name string `json:"name"`
|
|
Avatar string `json:"avatar"`
|
|
Cover string `json:"cover"`
|
|
Bio string `json:"bio"`
|
|
Description string `json:"description"`
|
|
CertType string `json:"certType"` // personal, enterprise
|
|
Stats Stats `json:"stats"`
|
|
IsFollowing bool `json:"isFollowing"`
|
|
}
|
|
|
|
type Stats struct {
|
|
Followers int `json:"followers"`
|
|
Contents int `json:"contents"`
|
|
Likes int `json:"likes"`
|
|
}
|