using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// AlipayOpenAppAppcontentItemModifyModel Data Structure.
///
[Serializable]
public class AlipayOpenAppAppcontentItemModifyModel : AopObject
{
///
/// 商品条码
///
[XmlElement("barcode")]
public string Barcode { get; set; }
///
/// 商品条码类型
///
[XmlElement("barcode_type")]
public string BarcodeType { get; set; }
///
/// 商品扩展信息;请参见产品文档
///
[XmlArray("biz_extends")]
[XmlArrayItem("item_ext")]
public List BizExtends { get; set; }
///
/// 业务唯一ID;商品ID为空则为更新主键,商品ID不为空则为更新项;填写后不可变更
///
[XmlElement("biz_unique_id")]
public string BizUniqueId { get; set; }
///
/// 后台叶子类目ID;平台分配
///
[XmlElement("category_id")]
public string CategoryId { get; set; }
///
/// 商品自定义属性
///
[XmlElement("custom_properties")]
public ItemProperty CustomProperties { get; set; }
///
/// 商品描述
///
[XmlElement("description")]
public string Description { get; set; }
///
/// 商品详情图地址;最多3张
///
[XmlArray("detail_pic_paths")]
[XmlArrayItem("string")]
public List DetailPicPaths { get; set; }
///
/// 商品详情地址;目前只支持传一个支付宝小程序地址
///
[XmlArray("detail_urls")]
[XmlArrayItem("item_url")]
public List DetailUrls { get; set; }
///
/// 商品ID
///
[XmlElement("item_id")]
public string ItemId { get; set; }
///
/// 商品主图地址
///
[XmlElement("major_pic_path")]
public string MajorPicPath { get; set; }
///
/// 商品原价;单位:分
///
[XmlElement("origin_price")]
public long OriginPrice { get; set; }
///
/// 商品售价;单位:分
///
[XmlElement("sale_price")]
public long SalePrice { get; set; }
///
/// 商品状态;可选值:VALID(上架)、INVALID(下架)
///
[XmlElement("status")]
public string Status { get; set; }
///
/// 库存状态;可选值:SOLD_OUT(售罄)、AVAILABLE(可售);非空情况status为INVALID时必须为AVAILABLE;传空情况默认为AVAILABLE
///
[XmlElement("stock_status")]
public string StockStatus { get; set; }
///
/// 商品名称
///
[XmlElement("title")]
public string Title { get; set; }
}
}