<?php

namespace App\Models\Welfare;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Welfare\StoreModel
 *
 * @property int $id
 * @property string $title
 * @property string|null $describe 描述
 * @property string $cost 价值：
 * @property int $price 兑换所需
 * @property int $sort 排序
 * @property int $count 商品数量
 * @property int $amount 兑换数量
 * @property int $state 状态
 * @property string $cover_url 封面图
 * @property string|null $explain_explain 兑换说明
 * @property string|null $receive_explain 领取说明
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 修改时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereCost($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereCoverUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereDescribe($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereExplainExplain($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel wherePrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereReceiveExplain($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\StoreModel whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class StoreModel extends Model
{
    //
    protected $table = "kdgx_fpdx_welfare_stores";

    protected $dateFormat = 'U';

    public $fillable = [
        'title',
        'cost',
        'state',
        'cover_url',
        'sort',
        'price',
        'count',
        'amount',
        'lottery_explain',
        'receive_explain',
        'describe'
    ];
}
