| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <?php
- namespace addons\QiShangTong\common\models;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_qi_shang_tong_event".
- *
- * @property int $id ID
- * @property int $mall_id 商城ID
- * @property int $created_at 创建时间
- * @property int $updated_at 更新时间
- * @property int $status 状态
- * @property string $type 类型
- * @property array|null $post 提交过来的数据
- * @property array|null $content 解密后的数据
- * @property array|null $err 错误信息
- */
- class QiShangTongEvent extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_addons_qi_shang_tong_event';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'created_at', 'updated_at', 'status'], 'integer'],
- [['post', 'content', 'err'], 'safe'],
- [['type'], 'string', 'max' => 10],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => 'Mall ID',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'status' => 'Status',
- 'type' => 'Type',
- 'post' => 'Post',
- 'content' => 'Content',
- 'error' => 'Error',
- ];
- }
- }
|