123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- namespace App\Models;
- use App\Models\BaseModel;
- use Illuminate\Database\Eloquent\SoftDeletes;
- /**
- * @description 产品列表
- * @author system;
- * @version 1.0
- * @date 2018-05-14 13:29:14
- *
- */
- class AlbumProductModel extends BaseModel
- {
- use SoftDeletes;
- protected $dates = ['delete_at'];
- /**
- * 数据表名
- *
- * @var string
- *
- */
- protected $table = 'album_product';
- /**
- 主键
- */
- protected $primaryKey = 'id';
- //分页
- protected $perPage = PAGE_NUMS;
- /**
- * 可以被集体附值的表的字段
- *
- * @var string
- */
- protected $fillable = [
- 'store_id',
- 'name',
- 'price_default',
- 'ma_price',
- 'ma_price_comment',
- 'detail_pic',
- 'cat_id',
- 'specifications_img',
- 'style',
- 'sort',
- 'cover_pic',
- 'thumb',
- 'install_img',
- 'upload_video',
- 'hot_cake',
- 'news',
- 'detail',
- ];
- }
|