/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.fjhx.account.entity.account.dto;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BasePo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 资金账户管理表实体类
 *
 * @author BladeX
 * @since 2022-07-05
 */
@Data
@TableName("t_erp_fund_account")

public class FundAccount{

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 公司ID
     */
    private String companyId;

    /**
     * 账号名
     */
    private String name;

    /**
     * 账号
     */
    private String accountNumber;

    /**
     * 人民币余额
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal rmbAmount;

    /**
     * 美元余额
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal dollarAmount;

    /**
     * 欧元余额
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal euroAmount;

    /**
     * 英镑余额
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal sterlingAmount;

    /**
     * 美元汇率
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal dollarExchange;

    /**
     * 欧元汇率
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal euroExchange;

    /**
     * 英镑汇率
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal sterlingExchange;

    /**
     * 备注
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String remark;

    /**
     * 是否删除。 0:否。  1 是
     */
    private Integer delFleg;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 人民币初始化
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal rmb;

    /**
     * 欧元初始化
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal euro;

    /**
     * 美元初始化
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal dollar;

    /**
     * 英镑初始化
     */
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private BigDecimal sterling;

    /**
     * 公司名称
     */
    @TableField(exist = false)
    private String companyName;


    /**
     * 公司ID
     */
    private String createUser;

    /**
     * 账号名
     */
    private Date createTime;

    /**
     * 账号
     */
    private String updateUser;

    /**
     * 账号
     */
    private Date updateTime;



}
