mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-28 08:54:03 +00:00
added company, warehouse, contact seeder
This commit is contained in:
+18
-1
@@ -7,8 +7,25 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Company extends Model
|
||||
{
|
||||
|
||||
protected $fillable = ['user_id', 'company_profile', 'reg_cert', 'company_name', 'registration_no', 'tax_no', 'tel_no', 'fax', 'address', 'city', 'postcode', 'state', 'country', 'contact_person'];
|
||||
protected $fillable = [
|
||||
|
||||
'company_profile',
|
||||
'reg_cert',
|
||||
'company_name',
|
||||
'registration_no',
|
||||
'tax_no',
|
||||
'tel_no',
|
||||
'fax',
|
||||
'address',
|
||||
'city',
|
||||
'postcode',
|
||||
'state',
|
||||
'country',
|
||||
'contact_person',
|
||||
'user_id',
|
||||
|
||||
];
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('App\User');
|
||||
|
||||
Reference in New Issue
Block a user