ufutx.dma/app/Models/UserStepApply.php
2026-03-04 14:42:40 +08:00

41 lines
750 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class UserStepApply extends Model
{
/**
* The attributes that should be cast to native types.
*
* @var array
*/
protected $casts = [
'created_at' => 'datetime:Y-m-d H:i:s',
'updated_at' => 'datetime:Y-m-d H:i:s',
];
/**
* The attributes that should be cast to dates.
*
* @var array
*/
protected $dates = [
'created_at',
'updated_at',
];
protected $table = 'user_step_apply';
protected $guarded = [];
const STATUS_APPLY = 0;
const STATUS_PASS = 1;
const STATUS_REJECT = 2;
public function user()
{
return $this->belongsTo(User::class);
}
}