UnitSearchByLot.java

package com.mycim.valueobject.oaApi;

import java.util.List;

public class UnitSearchByLot {
    private String lotName;

    public static class UnitSearchByLotResp extends UnitSearchByLot {
        private Long lotRrn;

        private List<UnitByLot> unitList;

        public List<UnitByLot> getUnitList() {
            return unitList;
        }

        public void setUnitList(List<UnitByLot> unitList) {
            this.unitList = unitList;
        }

        public Long getLotRrn() {
            return lotRrn;
        }

        public void setLotRrn(Long lotRrn) {
            this.lotRrn = lotRrn;
        }

    }

    public static class UnitByLot {
        private long unitRrn;

        private String unitName;

        public UnitByLot(long unitRrn, String unitName) {
            this.unitRrn = unitRrn;
            this.unitName = unitName;
        }

        public long getUnitRrn() {
            return unitRrn;
        }

        public void setUnitRrn(long unitRrn) {
            this.unitRrn = unitRrn;
        }

        public String getUnitName() {
            return unitName;
        }

        public void setUnitName(String unitName) {
            this.unitName = unitName;
        }

    }

    public String getLotName() {
        return lotName;
    }

    public void setLotName(String lotName) {
        this.lotName = lotName;
    }

}