<?php

namespace App\Models\Deed;

use App\Models\Model;

/**
 * App\Models\Deed\DeedModel
 *
 * @property int $id
 * @property \Illuminate\Support\Carbon $created_at 创建时间
 * @property \Illuminate\Support\Carbon $updated_at 修改时间
 * @property int $uid 签订用户
 * @property string|null $number 编号
 * @property string $sign 签名
 * @property int|null $sign_content 签名内容
 * @property int $type 契约类型0:交换微信|1:72小时|2:开黑王者|3：开黑吃鸡|4:晚安
 * @property int|null $ack 契约标记
 * @property int $state 契约状态-1:失败|0:生成|1:签订|2:公布|3:确定|4:结束|5:完成
 * @property int $sign_at 签订时间
 * @property int $publish_at 公布截止时间
 * @property int $confirm_at 确认截止时间
 * @property int $end_at 结束截止时间
 * @property int $complete_at 完成时间
 * @property int $way 途径0:报名|1:邀请
 * @property int $way_id 途径id
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereAck($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereCompleteAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereConfirmAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereEndAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel wherePublishAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereSign($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereSignAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereSignContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereState($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereWay($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Deed\DeedModel whereWayId($value)
 * @mixin \Eloquent
 */
class DeedModel extends Model
{
    protected $table = 'kdgx_fpdx_deed';

    public $dateFormat = 'U';

    protected $fillable = [
        'uid',
        'number',
        'sign',
        'sign_content',
        'type',
        'ack',
        'desc',
        'state',
        'way',
        'way_id',
        'sign_at',
        'publish_at',
        'confirm_at',
        'end_at',
        'complete_at'
    ];
}
