package com.sunxung.factoring.entity.cashflowmanage;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sunxung.factoring.entity.BaseEntity;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

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

/**
 * @Description : 现金流管理入账信息表
 * @Author : JiaYf
 * @Date: 2021-11-02 17:23
 */
@TableName("cash_flow_manage_entry_info")
@Getter
@Setter
public class CashFlowManageEntryInfo extends BaseEntity {

  /**
   * 现金流管理基础信息表Id
   **/
  @TableField("cash_flow_manage_basic_info_id")
  private Long cashFlowManageBasicInfoId;
  /**
   * 归属公司名称
   */
  @TableField(exist = false)
  private String companyBelongName;

  @TableField("company_id")
  private Long companyId;//   '企业id',

  @TableField("account_belong")
  private Long accountBelong; //账户归属   长银 非长银 资方',

  @TableField("company_belong")
  private Long companyBelong;  //公司归属',

  @TableField("business_type")
  private Long businessType;  //业务类型

  @TableField("business_type_number")
  private String businessTypeNumber; //业务类型编号

  @TableField("bank_account_id")
  private Long bankAccountId; // 'sop 查询',

  @TableField("bank_name")
  private String bankName;  // "sop" 银行名称

  @TableField("bank_account")
  private String bankAccount; // sop 银行账号


  @TableField("type")
  private String type; //'入账类型  现金/票据',

  @TableField("income_date")
  private Date incomeDate;// '入账日期',

  @TableField("income_amount")
  private BigDecimal incomeAmount; //'入账金额',

  @TableField("invoice_amount")
  private BigDecimal invoiceAmount;  // '票据金额',

  @TableField("real_amount")
  private BigDecimal realAmount; // '实际金额',

  @TableField("remark")
  private String remark;//  '备注',

  @TableField("content")
  private String content;  //富文本内容


}
