2023-08-15 17:49:05 +08:00
|
|
|
from apiflask import Schema
|
|
|
|
from apiflask.fields import String, URL, Float
|
|
|
|
|
|
|
|
|
|
|
|
class UserInfoIn(Schema):
|
|
|
|
nickname = String()
|
2023-08-16 14:15:15 +08:00
|
|
|
avatar_id = String()
|
2023-08-15 17:49:05 +08:00
|
|
|
height = Float()
|
|
|
|
|
|
|
|
|
|
|
|
class UserInfoOut(Schema):
|
|
|
|
nickname = String()
|
2023-08-16 14:15:15 +08:00
|
|
|
avatar_id = String()
|
2023-08-15 17:49:05 +08:00
|
|
|
height = Float()
|