| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?php
- namespace common\models\statistics;
- use common\models\base\BaseActiveRecord;
- use Yii;
- /**
- *
- * @property int $id
- * @property int $mall_id
- * @property int $type
- * @property int $last_id
- * @property int $created_at
- * @property int $updated_at
- */
- class CorntabAssetsStatistics extends BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%crontab_assets_statistics}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'type', 'last_id', 'created_at', 'updated_at'], 'required'],
- [['mall_id', 'type', 'last_id', 'created_at', 'updated_at'], 'integer'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => '商城id',
- 'type' => '类型',
- 'last_id' => '最后一次查询ID',
- 'created_at' => '创建时间',
- 'updated_at' => '编辑时间',
- ];
- }
- }
|