<?php
/**
 * Created by PhpStorm.
 * User: 思维定制
 * Date: 2019/2/18
 * Time: 13:47
 */

namespace App\Models;


use Illuminate\Database\Eloquent\SoftDeletes;

class AlbumStatisticalModel extends BaseModel
{
    use SoftDeletes;
    protected $dates = ['delete_at'];
    /**
     * 数据表名
     *
     * @var string
     *
     */
    protected $table = 'album_statistical';
    /**
    主键
     */
    protected $primaryKey = 'id';

    //分页
    protected $perPage = PAGE_NUMS;

    /**
     * 可以被集体附值的表的字段
     *
     * @var string
     */
    protected $fillable = [
        'store_id',
        'share_times',
        'favorite_times',
        'time',
    ];

}