| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "xhPicture".
- *
- * @property integer $id
- * @property integer $merchantId
- * @property integer $categoryId
- * @property integer $categoryType
- * @property string $mobileUrl
- * @property string $mobileUrlBig
- * @property string $pcUrl
- * @property string $pcUrlBig
- * @property integer $addTime
- */
- class XhPicture extends xhBaseModel
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'xhPicture';
- }
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['merchantId', 'categoryId', 'categoryType', 'picSort', 'addTime'], 'integer'],
- [['mobileUrlSmall', 'mobileUrl', 'mobileUrlBig', 'pcUrl', 'pcUrlBig'], 'string', 'max' => 100],
- ];
- }
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'merchantId' => 'Merchant ID',
- 'categoryId' => 'Category ID',
- 'categoryType' => 'Category Type',
- 'mobileUrlSmall' => 'Mobile Url Small',
- 'mobileUrl' => 'Mobile Url',
- 'mobileUrlBig' => 'Mobile Url Big',
- 'pcUrl' => 'Pc Url',
- 'pcUrlBig' => 'Pc Url Big',
- 'picSort' => 'Pic Sort',
- 'addTime' => 'Add Time',
- ];
- }
- }
|