migrate to gtea from bistbucket
This commit is contained in:
53
public/restaurant/Modules/Restaurant/app/Models/Supplier.php
Normal file
53
public/restaurant/Modules/Restaurant/app/Models/Supplier.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Restaurant\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Supplier extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $fillable = [
|
||||
'restaurant_id',
|
||||
'name',
|
||||
'phone',
|
||||
'company_name',
|
||||
'contact_person',
|
||||
'alternate_phone',
|
||||
'email',
|
||||
'website',
|
||||
'image',
|
||||
'address',
|
||||
'city',
|
||||
'state',
|
||||
'country',
|
||||
'postal_code',
|
||||
'tax_number',
|
||||
'bank_name',
|
||||
'bank_account_name',
|
||||
'bank_account_number',
|
||||
'ifsc_code',
|
||||
'opening_balance',
|
||||
'opening_balance_date',
|
||||
'due',
|
||||
'balance',
|
||||
'supply_type',
|
||||
'payment_terms',
|
||||
'credit_limit',
|
||||
'rating',
|
||||
'notes',
|
||||
'contract_file',
|
||||
'trade_license',
|
||||
'nid_number',
|
||||
'status',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'deleted_at',
|
||||
];
|
||||
|
||||
public const TABLE_NAME = 'suppliers';
|
||||
|
||||
protected $table = self::TABLE_NAME;
|
||||
}
|
||||
Reference in New Issue
Block a user