<?php

namespace App\Models;


use Modules\User\Traits\BelongsToUser;

class BounsUserPerf extends Model
{
    use BelongsToUser;

    const STATUS_INIT    = 0;
    const STATUS_SUCCESS = 1;
    const STATUS_ERROR   = 2;

    const STATUS = [
        self::STATUS_INIT    => '待发放',
        self::STATUS_SUCCESS => '完成',
        self::STATUS_ERROR   => '失败',
    ];

    public function bouns()
    {
        return $this->belongsTo(Bouns::class);
    }
}
