Files
cycle_api/app/Cache/Table/TableCustomerUserCache.php
2024-02-26 00:41:25 +08:00

23 lines
549 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Cache\Table;
use App\Cache\Base\TableBaseCache;
use App\Models\Customer\CustomerUserModel;
//用户缓存用户基础信息结构自己组装不完全等于数据表uid为主键
class TableCustomerUserCache extends TableBaseCache
{
public string $table_class = CustomerUserModel::class;
public string $primary_prefix = 'TableCustomerUserCache:'; //后面跟uid
public string $primary_key_column = 'id';
public array $get_exclude_columns = [
'password',
'google_auth_secret',
];
}