generate report test
This commit is contained in:
42
Entities/Customer.php
Normal file
42
Entities/Customer.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user