<?php

namespace App\Models\Customer\Wallet;

use App\Entities\Customer\Wallet\AccountEntity;

class AccountModel extends WalletModel
{
    const TABLE = "accountinfo";
    const PK = "uid";
    const TITLE = "title";
    protected $table = self::TABLE;
    protected $primaryKey = self::PK;
    protected $returnType = AccountEntity::class;
    protected array $nullableFields = [
        'alias'
    ];
    protected $allowedFields = [
        "uid",
        "user_uid",
        "clientinfo_uid",
        "bank",
        "title",
        "content",
        "alias",
        "issue_at",
        "amount",
        "balance",
        "status",
    ];
    public function __construct()
    {
        parent::__construct();
    }
}
