package com.brilliance.isc.swift.objmtconvert.model.mt2xx.tag.tag295;

import com.brilliance.isc.swift.objmtconvert.model.AbsMTCreator;
import com.brilliance.isc.swift.objmtconvert.model.AbsTagCreate;
import com.brilliance.isc.swift.objmtconvert.model.mt2xx.MT295Creator;

/**
 * @author huangmengyuan
 * @create 2023/3/1
 */
public class Tag21Creator extends AbsTagCreate {
    private MT295Creator mt295Creator;
    public Tag21Creator(AbsMTCreator absMTCreator) {
        super(absMTCreator);
        this.mt295Creator = (MT295Creator) absMTCreator;
    }

    @Override
    public void creator() {
        String tag21Value = mt295Creator.getRelatedReference();
        mt295Creator.set("21",tag21Value);
    }
}
