package com.xunhong.erp.turbo.biz.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunhong.erp.turbo.datasource.domain.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@TableName(value = "dealer_payment_account")
@EqualsAndHashCode(callSuper = true)
public class DealerPaymentAccountDO extends BaseDO<DealerPaymentAccountDO> {

	/**
	 * 账户ID
	 */
	@TableId(value = "account_id", type = IdType.ASSIGN_ID)
	private Long accountId;

	/**
	 * 经销商ID
	 */
	@TableField(value = "dealer_id")
	private Long dealerId;

	/**
	 * 公司名称
	 */
	@TableField(value = "company_name")
	private String companyName;

	/**
	 * 税号
	 */
	@TableField(value = "tax_number")
	private String taxNumber;

	/**
	 * 银行账号
	 */
	@TableField(value = "bank_account")
	private String bankAccount;

	/**
	 * 单位地址
	 */
	@TableField(value = "company_address")
	private String companyAddress;

	/**
	 * 电话
	 */
	@TableField(value = "phone")
	private String phone;

	/**
	 * 开户行
	 */
	@TableField(value = "opening_bank")
	private String openingBank;

	/**
	 * 备注
	 */
	@TableField(value = "remark")
	private String remark;

	/**
	 * 状态：1_启用；0_禁用；
	 */
	@TableField(value = "status")
	private Boolean status;

	@TableField(exist = false)
	private DealerDO dealerDO;

}

