feat:depot_recycle
This commit is contained in:
46
app/Model/DepotRecycle.php
Normal file
46
app/Model/DepotRecycle.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<?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';
|
||||
}
|
||||
Reference in New Issue
Block a user