shop-php/extend/taobao/domain/ProductPropImg.php
2024-01-26 09:39:36 +08:00

46 lines
959 B
PHP
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* 产品的属性图片.比如说黄色对应的产品图片,绿色对应的产品图片。fields中设置为product_prop_imgs.id、
product_prop_imgs.props、product_prop_imgs.url、product_prop_imgs.position等形式就会返回相应的字段
* @author auto create
*/
class ProductPropImg
{
/**
* 添加时间.格式:yyyy-mm-dd hh:mm:ss
**/
public $created;
/**
* 产品属性图片ID
**/
public $id;
/**
* 修改时间.格式:yyyy-mm-dd hh:mm:ss
**/
public $modified;
/**
* 图片序号。产品里的图片展示顺序,数据越小越靠前。要求是正整数。
**/
public $position;
/**
* 图片所属产品的ID
**/
public $product_id;
/**
* 属性串(pid:vid),目前只有颜色属性.如:颜色:红色表示为 1627207:28326
**/
public $props;
/**
* 图片地址.(绝对地址,格式:http://host/image_path)
**/
public $url;
}
?>