dbmsv4/app/Models/Customer/ClientModel.php
2026-02-04 11:18:22 +09:00

39 lines
799 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 array $nullableFields = [
'id',
'passwd',
];
protected $allowedFields = [
"uid",
"user_uid",
"site",
"role",
"name",
"phone",
"email",
"history",
"account_balance",
"coupon_balance",
"point_balance",
"status",
];
public function __construct()
{
parent::__construct();
}
}