package com.czg.system.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.math.BigInteger;
import java.time.LocalDateTime;

import java.io.Serial;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 银行账户信息表 实体类。
 *
 * @author ww
 * @since 2026-01-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table("sys_bank_info")
public class SysBankInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id(keyType = KeyType.Auto)
    private BigInteger id;

    /**
     * 银行名称
     */
    private String accountBank;

    /**
     * 银行数字编码
     */
    private Integer accountBankCode;

    /**
     * 银行别名
     */
    private String bankAlias;

    /**
     * 银行别名编码
     */
    private String bankAliasCode;

    /**
     * 是否需要支行信息
     */
    private Boolean needBankBranch;

    /**
     * 银行英文编码
     */
    private String bankCode;

    /**
     * 创建时间
     */
    @Column(onInsertValue = "now()")
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private LocalDateTime updateTime;

}
