using System; using System.Xml.Serialization; namespace Top.Api.Domain { /// /// User Data Structure. /// [Serializable] public class User : TopObject { /// /// 支付宝账户 /// [XmlElement("alipay_account")] public string AlipayAccount { get; set; } /// /// 有无绑定。可选值:bind(绑定),notbind(未绑定) /// [XmlElement("alipay_bind")] public string AlipayBind { get; set; } /// /// 支付宝ID /// [XmlElement("alipay_no")] public string AlipayNo { get; set; } /// /// 是否受限制。可选值:limited(受限制),unlimited(不受限) /// [XmlElement("auto_repost")] public string AutoRepost { get; set; } /// /// 用户头像地址 /// [XmlElement("avatar")] public string Avatar { get; set; } /// /// 生日 /// [XmlElement("birthday")] public string Birthday { get; set; } /// /// 买家信用 /// [XmlElement("buyer_credit")] public Top.Api.Domain.UserCredit BuyerCredit { get; set; } /// /// 是否参加消保 /// [XmlElement("consumer_protection")] public bool ConsumerProtection { get; set; } /// /// 用户注册时间。格式:yyyy-MM-dd HH:mm:ss /// [XmlElement("created")] public string Created { get; set; } /// /// /// [XmlElement("email")] public string Email { get; set; } /// /// 是否购买多图服务。可选值:true(是),false(否) /// [XmlElement("has_more_pic")] public bool HasMorePic { get; set; } /// /// 用户作为卖家是否开过店 /// [XmlElement("has_shop")] public bool HasShop { get; set; } /// /// 表示用户是否具备修改商品减库存逻辑的权限(一共有拍下减库存和付款减库存两种逻辑) 值含义: 1)true:是 2)false:否。 /// [XmlElement("has_sub_stock")] public bool HasSubStock { get; set; } /// /// /// [XmlElement("id_card")] public string IdCard { get; set; } /// /// 用户是否是金牌卖家 /// [XmlElement("is_golden_seller")] public bool IsGoldenSeller { get; set; } /// /// 是否24小时闪电发货(实物类) /// [XmlElement("is_lightning_consignment")] public bool IsLightningConsignment { get; set; } /// /// 是否是特价版商家,需要field查询 /// [XmlElement("is_tjb_seller")] public bool IsTjbSeller { get; set; } /// /// 可上传商品图片数量 /// [XmlElement("item_img_num")] public long ItemImgNum { get; set; } /// /// 单张商品图片最大容量(商品主图大小)。单位:k /// [XmlElement("item_img_size")] public long ItemImgSize { get; set; } /// /// 最近登陆时间。格式:yyyy-MM-dd HH:mm:ss /// [XmlElement("last_visit")] public string LastVisit { get; set; } /// /// 是否是无名良品用户,true or false /// [XmlElement("liangpin")] public bool Liangpin { get; set; } /// /// 用户当前居住地公开信息。如:location.city获取其中的city数据 /// [XmlElement("location")] public Top.Api.Domain.Location Location { get; set; } /// /// 是否订阅了淘宝天下杂志 /// [XmlElement("magazine_subscribe")] public bool MagazineSubscribe { get; set; } /// /// 是否可以经营图书 ,true or false /// [XmlElement("manage_book")] public bool ManageBook { get; set; } /// /// 联系人手机号码 /// [XmlElement("mobile")] public string Mobile { get; set; } /// /// 用户昵称 /// [XmlElement("nick")] public string Nick { get; set; } /// /// 用户是否为网游用户,属于隐私信息,需要登陆才能查看自己的。 目前仅供taobao.user.get使用 /// [XmlElement("online_gaming")] public bool OnlineGaming { get; set; } /// /// 用户openId /// [XmlElement("open_uid")] public string OpenUid { get; set; } /// /// 有无实名认证。可选值:authentication(实名认证),not authentication(没有认证) /// [XmlElement("promoted_type")] public string PromotedType { get; set; } /// /// 可上传属性图片数量 /// [XmlElement("prop_img_num")] public long PropImgNum { get; set; } /// /// 单张销售属性图片最大容量(非主图的商品图片和商品属性图片)。单位:k /// [XmlElement("prop_img_size")] public long PropImgSize { get; set; } /// /// 卖家信用 /// [XmlElement("seller_credit")] public Top.Api.Domain.UserCredit SellerCredit { get; set; } /// /// 性别。可选值:m(男),f(女) /// [XmlElement("sex")] public string Sex { get; set; } /// /// 用户是否签署消保协议(因为加入基本消保的用户未必签署了消保协议) /// [XmlElement("sign_consumer_protection")] public bool SignConsumerProtection { get; set; } /// /// 卖家是否签署食品卖家承诺协议 /// [XmlElement("sign_food_seller_promise")] public bool SignFoodSellerPromise { get; set; } /// /// 状态。可选值:normal(正常),inactive(未激活),delete(删除),reeze(冻结),supervise(监管) /// [XmlElement("status")] public string Status { get; set; } /// /// 用户类型。可选值:B(B商家),C(C商家) /// [XmlElement("type")] public string Type { get; set; } /// /// 用户字符串ID /// [XmlElement("uid")] public string Uid { get; set; } /// /// 用户数字ID /// [XmlElement("user_id")] public long UserId { get; set; } /// /// 用户参与垂直市场类型。shoes表示鞋城垂直市场用户,3C表示3C垂直市场用户。多个类型之间用","分隔。如:一个用户既是3C用户又是鞋城用户,那么这个字段返回就是"3C,shoes"。如果用户不是垂直市场用户,此字段返回为""。 /// [XmlElement("vertical_market")] public string VerticalMarket { get; set; } /// /// 用户的全站vip信息,可取值如下:c(普通会员),asso_vip(荣誉会员),vip1,vip2,vip3,vip4,vip5,vip6(六个等级的正式vip会员),共8种取值,其中asso_vip是由vip会员衰退而成,与主站上的vip0对应。 /// [XmlElement("vip_info")] public string VipInfo { get; set; } /// /// 用户等级身份:20 apass;10 超级会员;0 普通会员 /// [XmlElement("vip_level")] public long VipLevel { get; set; } } }