package com.brilliance.isc.common.rmbbop.vo;

import com.brilliance.isc.common.rmbbop.common.AbstractRmb;
import com.brilliance.isc.common.rmbbop.model.Tfbgrp;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class Rmb2103 extends AbstractRmb {
    private Tfbgrp recgrp;

    @Override
    public String getObjtyp() {
        return "TFB";
    }

    @Override
    public void clear() {
        super.clear();
        recgrp = new Tfbgrp();
        recgrp.reset();
    }

    @Override
    public void reset() {
        super.reset();
        if (recgrp == null) {
            recgrp = new Tfbgrp();
        }
        recgrp.reset();
    }
}
