| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- namespace common\models\statistics;
- use Yii;
- /**
- * This is the model class for table "qimall_payment_type_refund_statistics_logs".
- *
- * @property int $id
- * @property int $mall_id
- * @property int $status 状态[-1:删除;0:禁用;1启用]
- * @property int $statistics_id qimall_payment_type_refund_statistics 表的 id
- * @property int $refund_id 售后id
- * @property int $order_id 订单id
- * @property int $created_at
- * @property int $updated_at
- */
- class PaymentTypeRefundStatisticsLogs extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_payment_type_refund_statistics_logs';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['mall_id', 'status', 'statistics_id', 'refund_id', 'order_id', 'created_at', 'updated_at'], 'integer'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'mall_id' => 'Mall ID',
- 'status' => 'Status',
- 'statistics_id' => 'Statistics ID',
- 'refund_id' => 'Refund ID',
- 'order_id' => 'Order ID',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- ];
- }
- public function getPaymentTypeRefundStatistics()
- {
- return $this->hasOne(PaymentTypeRefundStatistics::class, ['id' => 'statistics_id']);
- }
- }
|