43 lines
908 B
PHP
43 lines
908 B
PHP
<?php
|
|
|
|
namespace Modules\DailySalePaymentReportModule\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
|
|
class Customer extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $fillable = [
|
|
"customer_group_id",
|
|
"user_id",
|
|
"name",
|
|
"company_name",
|
|
"email",
|
|
"phone_number",
|
|
"tax_no",
|
|
"address",
|
|
"city",
|
|
"state",
|
|
"postal_code",
|
|
"country",
|
|
"customer_route",
|
|
"points",
|
|
"deposit",
|
|
"expense",
|
|
"is_active",
|
|
"credit_limit",
|
|
"document",
|
|
"employee_id",
|
|
"payable_account_id",
|
|
"receivable_account_id",
|
|
"customer_area_id"
|
|
];
|
|
|
|
protected static function newFactory()
|
|
{
|
|
return \Modules\DailySalePaymentReportModule\Database\factories\CustomerFactory::new();
|
|
}
|
|
}
|