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

40 lines
634 B
PHP
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* 返回产品图片结构中的url,id,created,modified
* @author auto create
*/
class ProductImg
{
/**
* 添加时间.格式: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;
/**
* 图片地址.(绝对地址,格式:http://host/image_path)
**/
public $url;
}
?>