| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- namespace addons\Store\common\models;
- use Yii;
- /**
- * This is the model class for table "qimall_addons_store_reserve_underwriter".
- *
- * @property int $id ID
- * @property int $created_at 创建时间
- * @property int $updated_at 更新时间
- * @property int $mall_id 商城ID
- * @property int $status 状态0禁用,-1删除,1正常
- * @property int $user_id 用户ID
- * @property int $order_id 订单ID
- * @property string $order_no 订单号
- */
- class SotreReserveUnderwriter extends \common\models\base\BaseActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return 'qimall_addons_store_reserve_underwriter';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['created_at', 'updated_at', 'mall_id', 'status', 'user_id', 'order_id'], 'integer'],
- [['mall_id'], 'required'],
- [['order_no'], 'string', 'max' => 30],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'id' => 'ID',
- 'created_at' => 'Created At',
- 'updated_at' => 'Updated At',
- 'mall_id' => 'Mall ID',
- 'status' => 'Status',
- 'user_id' => 'User ID',
- 'order_id' => 'Order ID',
- 'order_no' => 'Order No',
- ];
- }
- }
|