package com.brilliance.isc.common.jshmod.common;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class JshObjType {
    private String typnam;
    private String subtyp;
    private String bastyp;
    private String dcltyp;
    private String vrftyp;
    private String sta;

    public JshObjType(String typnam, String subtyp, String bastyp, String dcltyp, String vrftyp) {
        this.typnam = typnam;
        this.subtyp = subtyp;
        this.bastyp = bastyp;
        this.vrftyp = vrftyp;
        this.dcltyp = dcltyp;
        String sta = bastyp + "N" + vrftyp;
        this.sta = sta.toUpperCase();
    }
}
