Files
hyperf_service/app/Model/DepotRecycle.php
LAPTOP-7SGDREK0\shiweijun 22dd466254 feat:depot_recycle
2025-02-08 17:57:37 +08:00

47 lines
1.3 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property int $depot_id
* @property int $material_id
* @property int $supplier_id
* @property string $recycle_price
* @property string $number
* @property string $sum_price
* @property int $sale_id
* @property int $status
* @property int $city_id
* @property int $kitchen_id
* @property int $operator_id
* @property int $is_del
* @property \Carbon\Carbon $create_time
* @property \Carbon\Carbon $update_time
*/
class DepotRecycle extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'depot_recycle';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'depot_id' => 'integer', 'material_id' => 'integer', 'supplier_id' => 'integer', 'sale_id' => 'integer', 'status' => 'integer', 'city_id' => 'integer', 'kitchen_id' => 'integer', 'operator_id' => 'integer', 'is_del' => 'integer', 'create_time' => 'datetime', 'update_time' => 'datetime'];
const string CREATED_AT = 'create_time';
const string UPDATED_AT = 'update_time';
}