using System;
using System.Xml.Serialization;
namespace Top.Api.Domain
{
///
/// Sku Data Structure.
///
[Serializable]
public class Sku : TopObject
{
///
/// 商品级别的条形码
///
[XmlElement("barcode")]
public string Barcode { get; set; }
///
/// 基础色数据
///
[XmlElement("change_prop")]
public string ChangeProp { get; set; }
///
/// sku创建日期 时间格式:yyyy-MM-dd HH:mm:ss
///
[XmlElement("created")]
public string Created { get; set; }
///
/// skuDeliveryTimeType
///
[XmlElement("delivery_time_type")]
public string DeliveryTimeType { get; set; }
///
/// 扩展sku的id
///
[XmlElement("extra_id")]
public long ExtraId { get; set; }
///
///
///
[XmlElement("gmt_modified")]
public string GmtModified { get; set; }
///
/// sku所属商品id(注意:iid近期即将废弃,请用num_iid参数)
///
[XmlElement("iid")]
public string Iid { get; set; }
///
/// 扩展sku的备注信息
///
[XmlElement("memo")]
public string Memo { get; set; }
///
/// sku最后修改日期 时间格式:yyyy-MM-dd HH:mm:ss
///
[XmlElement("modified")]
public string Modified { get; set; }
///
/// sku所属商品数字id
///
[XmlElement("num_iid")]
public long NumIid { get; set; }
///
/// 商家设置的外部id。天猫和集市的卖家,需要登录才能获取到自己的商家编码,不能获取到他人的商家编码。
///
[XmlElement("outer_id")]
public string OuterId { get; set; }
///
/// 属于这个sku的商品的价格 取值范围:0-100000000;精确到2位小数;单位:元。如:200.07,表示:200元7分。
///
[XmlElement("price")]
public string Price { get; set; }
///
/// sku的销售属性组合字符串(颜色,大小,等等,可通过类目API获取某类目下的销售属性),格式是p1:v1;p2:v2
///
[XmlElement("properties")]
public string Properties { get; set; }
///
/// sku所对应的销售属性的中文名字串,格式如:pid1:vid1:pid_name1:vid_name1;pid2:vid2:pid_name2:vid_name2……
///
[XmlElement("properties_name")]
public string PropertiesName { get; set; }
///
/// 属于这个sku的商品的数量,
///
[XmlElement("quantity")]
public long Quantity { get; set; }
///
/// sku级别发货时间
///
[XmlElement("sku_delivery_time")]
public string SkuDeliveryTime { get; set; }
///
/// skuFeature
///
[XmlElement("sku_feature")]
public string SkuFeature { get; set; }
///
/// sku的id
///
[XmlElement("sku_id")]
public long SkuId { get; set; }
///
/// 表示SKu上的产品规格信息
///
[XmlElement("sku_spec_id")]
public long SkuSpecId { get; set; }
///
/// specId
///
[XmlElement("spec_id")]
public string SpecId { get; set; }
///
/// sku状态。 normal:正常 ;delete:删除
///
[XmlElement("status")]
public string Status { get; set; }
///
/// 商品在付款减库存的状态下,该sku上未付款的订单数量
///
[XmlElement("with_hold_quantity")]
public long WithHoldQuantity { get; set; }
}
}