Files
sam-api/app/Models/Orders/OrderHistory.php

24 lines
416 B
PHP
Raw Normal View History

<?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);
}
}