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

import com.engine.salary.annotation.Encrypt;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @author Harryxzy
 * @ClassName VariableArchiveItemPO
 * @date 2024/08/07 9:15
 * @description 浮动薪酬档案明细
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class VariableArchiveItemPO {

    private Long id;

    /**
     * 员工id
     */
    private Long employeeId;

    /**
     * 浮动薪资档案主键id
     */
    private Long variableArchiveId;

    /**
     * 浮动项目id
     */
    private Long variableItemId;

    /**
     * 浮动值
     */
    @Encrypt
    private String itemValue;

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

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

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

    /**
     * 是否已删除。0：未删除、1：已删除
     */
    private Integer deleteType;

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


    //主键id集合
    private Collection<Long> ids;
    private Collection<Long> variableArchiveIds;

}
