58 lines
1.2 KiB
PHP
58 lines
1.2 KiB
PHP
<?php
|
|
|
|
namespace common\modelsgii;
|
|
|
|
use Yii;
|
|
|
|
/**
|
|
* This is the model class for table "yii_express_details".
|
|
*
|
|
* @property int $id
|
|
* @property string|null $express_no_id 快递单号
|
|
* @property string $detail_at 快递详情时间
|
|
* @property string $detail 快递详情
|
|
* @property string|null $status 物流状态
|
|
* @property string|null $deleted_at 删除时间
|
|
* @property string|null $created_at
|
|
* @property string|null $updated_at
|
|
*/
|
|
class ExpressDetails extends \common\core\BaseActiveRecord
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public static function tableName()
|
|
{
|
|
return 'yii_express_details';
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
[['express_no_id', 'detail', 'detail_at'], 'required'],
|
|
[['status'], 'string'],
|
|
|
|
];
|
|
}
|
|
|
|
/**
|
|
* {@inheritdoc}
|
|
*/
|
|
public function attributeLabels()
|
|
{
|
|
return [
|
|
'id' => 'ID',
|
|
'express_no_id' => 'Express No Id',
|
|
'detail_at' => 'Mobile',
|
|
'detail' => 'State',
|
|
'status' => 'Status',
|
|
'deleted_at' => 'Deleted At',
|
|
'created_at' => 'Created At',
|
|
'updated_at' => 'Updated At',
|
|
];
|
|
}
|
|
}
|