24 lines
416 B
PHP
24 lines
416 B
PHP
<?php
|
|
|
|
namespace App\Models\Orders;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* @mixin IdeHelperOrderHistory
|
|
*/
|
|
class OrderHistory extends Model
|
|
{
|
|
// 이력/메모
|
|
protected $table = 'order_histories';
|
|
|
|
protected $fillable = [
|
|
'tenant_id', 'order_id', 'history_type', 'content', 'created_by',
|
|
];
|
|
|
|
public function order()
|
|
{
|
|
return $this->belongsTo(Order::class);
|
|
}
|
|
}
|