You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
534 B

<?php
namespace App\Http\Model;
use DB;
class OrderGoods extends BaseModel
{
//产品模型
/**
* 关联到模型的数据表
*
* @var string
*/
protected $table = 'order_goods';
/**
* 表明模型是否应该被打上时间戳
* 默认情况下,Eloquent 期望 created_at 和updated_at 已经存在于数据表中,如果你不想要这些 Laravel 自动管理的数据列,在模型类中设置 $timestamps 属性为 false
*
* @var bool
*/
public $timestamps = false;
}