Files
hyperf_service/app/Model/ChefStatement.php
2025-04-09 14:47:51 +08:00

43 lines
1.0 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property string $date
* @property int $cycle_id
* @property int $kitchen_id
* @property int $chef_id
* @property int $sku_id
* @property int $sale
* @property int $refund
* @property int $cancel
* @property string $create_time
* @property string $update_time
*/
class ChefStatement extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'chef_statement';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
protected array $guarded = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'cycle_id' => 'integer', 'kitchen_id' => 'integer', 'chef_id' => 'integer', 'sku_id' => 'integer', 'sale' => 'integer', 'refund' => 'integer', 'cancel' => 'integer'];
const string CREATED_AT = 'create_time';
const string UPDATED_AT = 'updated_time';
}