package com.engine.salary.entity.salarysob.config;

import com.engine.salary.entity.salarysob.po.*;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@XStreamAlias("SalarySobConfig")
public class SalarySobConfig {

    @XStreamAlias("SalarySob")
    private SalarySobPO salarySob;

    @XStreamImplicit
    private List<SalarySobEmpFieldPO> salarySobEmpFields;

    @XStreamImplicit
    private List<SalarySobItemGroupPO> salarySobItemGroups;

    @XStreamImplicit
    private List<SalarySobItemPO> salarySobItems;

    @XStreamImplicit
    private List<SalarySobBackItemPO> salarySobBackItems;

    @XStreamImplicit
    private List<SalarySobAdjustRulePO> salarySobAdjustRules;

}
