package com.friday.custody.service.trustService.cmsc.dto;

import lombok.Data;

/**
 * @Description
 * @Author wulifeng
 * @Date: 2022/2/22
 */
@Data
public class CMTgAccountSeqInfoDto extends CMBaseDto {
    private String fundName;//产品名称
    private String fundCode;//产品代码
    private String ownAccount;//本方账号
    private String tradeDate;//交易时间，格式（yyyy-MM-ddhh：mm：ss）
    private String receiptDirection;//收付方向
    private String tradingAmount;//交易金额
    private String counterpartyName;//对方户名
    private String counterpartyAccount;//对方账号
    private String counterpartyOpenAccountBank;//对方开户行
    private String bankAbstract;//银行摘要
    private String postScript;//附言
    private String remark1;//预留字段1
    private String remark2;//预留字段2
    private String uniqueKey;
    @Override
    public String getLogicUniqueKey() {
        return this.fundCode+"_"+this.ownAccount+"_"+this.counterpartyAccount + "_" + tradeDate ;
    }

}
