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

import com.engine.salary.enums.salarysob.SalarySobAdjustRuleTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 调薪规则列表
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalarySobAdjustRuleListDTO {

    //主键id
    private Long id;

    //薪资项目的id
    private Long salaryItemId;

    //薪资项目的名称
    private String salaryItemName;

    //生效日期
    private Integer dayOfMonth;

    /**
     * 在生效日期之前调薪如何调整
     *
     * @see SalarySobAdjustRuleTypeEnum
     */
    private Integer beforeAdjustmentType;

    /**
     * 在生效日期之后调薪如何调整
     *
     * @see SalarySobAdjustRuleTypeEnum
     */
    private Integer afterAdjustmentType;
}
