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

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

import java.util.Collection;
import java.util.Date;

/**
 * 调薪计薪规则
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
//hrsa_salary_sob_adjust_rule
public class SalarySobAdjustRulePO {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 薪资账套id
     */
    private Long salarySobId;

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

    /**
     * 生效日期
     */
    private Integer dayOfMonth;

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

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

    /**
     * 租户key
     */
    private String tenantKey;

    /**
     * 创建人id
     */
    private Long creator;

    /**
     * 是否删除
     */
    private Integer deleteType;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    Collection<Long> ids;
}
