|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <?php
-
- namespace backend\modules\api\models;
-
- use yii\db\ActiveRecord;
-
- /**
- * This is the model class for table "order_status_log".
- *
- * @property integer $id
- * @property integer $order_id
- * @property integer $new_status
- * @property string $change_time
- * @property integer $cancel_flag
- */
- class OrderStatusLog extends ActiveRecord
- {
- /**
- * @inheritdoc
- */
- public static function tableName()
- {
- return 'order_status_log';
- }
-
- /**
- * @inheritdoc
- */
- public function rules()
- {
- return [
- [['order_id', 'new_status', 'cancel_flag'], 'integer'],
- [['change_time'], 'safe'],
- ];
- }
-
- /**
- * @inheritdoc
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'order_id' => 'Order ID',
- 'new_status' => 'New Status',
- 'change_time' => 'Change Time',
- 'cancel_flag' => 'Cancel Flag',
- ];
- }
- }
|