dbmsv4/app/Models/Customer/ClientModel.php
2025-11-18 18:06:17 +09:00

36 lines
764 B
PHP

<?php
namespace App\Models\Customer;
use App\Entities\Customer\ClientEntity;
class ClientModel extends CustomerModel
{
const TABLE = "clientinfo";
const PK = "uid";
const TITLE = "name";
protected $table = self::TABLE;
// protected $useAutoIncrement = false;
protected $primaryKey = self::PK;
protected $returnType = ClientEntity::class;
protected $allowedFields = [
"uid",
"user_uid",
"site",
"role",
"name",
"phone",
"email",
"history",
"account_balance",
"coupon_balance",
"point_balance",
"status",
"updated_at"
];
public function __construct()
{
parent::__construct();
}
}