platform_kuaishou.go 3.4 KB

12345678910111213141516171819202122
  1. package talent_model
  2. type PlatformKuaishou struct {
  3. TalentId int `orm:"talent_id,unique" json:"talentId"` // 达人账号id(talent_info表id值)
  4. PlatformId int `orm:"platform_id" json:"platformId" v:"required|integer|between:1,7#必须输入平台id|平台id类型为int|平台id取值范围为 :min到:max"` // 平台id,与third_platform_info中的id相同
  5. PlatformName string `orm:"platform_name" json:"platformName"` // 平台名称(冗余)
  6. PlatformIconUrl string `orm:"platform_icon_url" json:"platformIconUrl"` // 平台icon的url(冗余)
  7. PlatformAccountId string `orm:"platform_account_id" json:"platformAccountId"` // 在平台上的账号
  8. PlatformNickname string `orm:"platform_nickname" json:"platformNickname" v:"required|length:1,30#必须输入平台昵称|platformNickname长度非法"` // 在平台上的昵称
  9. HomePageUrl string `orm:"home_page_url" json:"homePageUrl" v:"required|url#必须输入主页链接|主页链接为url"` // 主页链接
  10. FansCount int64 `orm:"fans_count" json:"fansCount" v:"required|integer|min:0#必须输入粉丝数|粉丝数为整数类型|粉丝数必须为正整数"` // 粉丝数
  11. CompositionCount int64 `orm:"composition_count" json:"compositionCount" v:"integer|min:0#作品数量为整数类型|作品数量必须为正整数"` // 作品数量
  12. SkilledAt string `orm:"skilled_at" json:"skilledAt"` // 擅长领域(info_tallent_skilled_area表中的id的数组)
  13. SkilledAt1 int `json:"skilledAt1" v:"integer|between:1,13#领域类型为整数|领域取值范围为 :min, :max"`
  14. SkilledAt2 int `json:"skilledAt2" v:"integer|between:2,13#领域类型为整数|领域取值范围为 :min, :max"` //
  15. SkilledAt3 int `json:"skilledAt3" v:"integer|between:3,13#领域类型为整数|领域取值范围为 :min, :max"`
  16. IsSupportLive int `orm:"is_support_live" json:"isSupportLive" v:"integer|between:0,1#是否支持直播为整数类型|是否支持直播取值范围 :min到:max"` // 是否支持直播
  17. IsOpenCart int `orm:"is_open_cart" json:"isOpenCart" v:"integer|between:0,1#是否开通购物车为整数类型|是否开通购物车取值范围 :min到:max"` // 是否开通购物车
  18. IsAppearInVideo int `orm:"is_appear_in_video" json:"isAppearInVideo" v:"integer|between:0,1#是否出镜为整数类型|是否出镜取值范围 :min到:max"` // 是否出镜
  19. HomePageCaptureUrl string `orm:"home_page_capture_url" json:"homePageCaptureUrl" v:"required|url#必须输入主页截图链接|主页截图链接为url"` // 主页截图图片url
  20. AccountFrom string `orm:"account_from" json:"accountFrom"` // 账号来源(仅B端批量上传的账号需要填写)
  21. }