| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- namespace addons\WangDianTong\common\models;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_wangdiantong_logistics_company".
- *
- * @property int $id 订单id
- * @property int $status 状态[-1:删除;0:禁用;1启用]
- * @property int $created_at 创建时间
- * @property int $updated_at 更新时间
- * @property int $erp_type ERP物流公司ID
- * @property string $erp_name ERP物流公司名称
- * @property int $express_id 当前系统快递主键
- * @property string $express_name 当前系统物流公司名称
- * @property string $express_code 当前系统物流公司编码
- */
- class AddonsWangDianTongLogisticsCompany extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_addons_wangdiantong_logistics_company';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['status', 'created_at', 'updated_at', 'erp_type', 'express_id'], 'integer'],
- [['erp_name', 'express_name', 'express_code'], 'string', 'max' => 50],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'status' => 'Status',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'erp_type' => 'Erp Type',
- 'erp_name' => 'Erp Name',
- 'express_id' => 'Express ID',
- 'express_name' => 'Express Name',
- 'express_code' => 'Express Code',
- ];
- }
- }
|