<?php

namespace App\Models\Welfare;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Welfare\LotteryModel
 *
 * @property int $id
 * @property string $title 标题
 * @property string $cost 价值
 * @property int $drawed_at 开奖时间
 * @property int $showed_at 显示时间
 * @property string $cover_url 封面图
 * @property string $share_url 分享图
 * @property string $banner_url 横图
 * @property int $count 数量
 * @property string $lottery_explain 抽奖说明
 * @property string $receive_explain 兑换说明
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 修改时间
 * @property int $deleted_at 删除时间
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereBannerUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereCost($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereCoverUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereDrawedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereLotteryExplain($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereReceiveExplain($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereShareUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereShowedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Welfare\LotteryModel whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class LotteryModel extends Model
{
    //
    protected $table = "kdgx_fpdx_welfare_lotterys";

    protected $dateFormat = 'U';

    public $fillable = [
        'title',
        'drawed_at',
        'showed_at',
        'cover_url',
        'share_url',
        'banner_url',
        'cost',
        'price',
        'count',
        'lottery_explain',
        'receive_explain',
        'deleted_at'
    ];
}
