package com.engine.salary.entity.salaryBill.param;

import lombok.*;

import java.util.List;

/**
 * @author Harryxzy
 * @ClassName SalaryBillItemNameSaveParam
 * @date 2023/07/19 10:20
 * @description 设置工资单项目展示名参数
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryBillItemNameSaveParam {
    /**
     * 工资单模板id
     */
    private Long salaryTemplateId;

    /**
     * 工资单类型。0：正常工资单、1：补发工资单
     */
    private Integer salaryBillType;

    private List<itemShowNameSetting> itemShowNameSetting;

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public static class itemShowNameSetting {
        /**
         * 薪资项目id
         */
        private Long salaryItemId;

        /**
         * 工资单展示名称
         */
        private String salaryItemShowName;
    }

}
