12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php
- namespace App\Models;
- use App\Models\BaseModel;
- /**
- * @description 付款信息
- * @author system;
- * @version 1.0
- * @date 2018-06-08 09:24:20
- *
- */
- class OrderInfoModel extends BaseModel
- {
- /**
- * 数据表名
- *
- * @var string
- *
- */
- protected $table = 'order_info';
- /**
- 主键
- */
- protected $primaryKey = 'id';
- //分页
- protected $perPage = PAGE_NUMS;
- /**
- * 可以被集体附值的表的字段
- *
- * @var string
- */
- protected $fillable = [
- 'order_no',
- 'price',
- 'user_id',
- 'code'
- ];
- }
|