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

import com.engine.salary.report.enums.SalaryStatisticsDimensionTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Collection;
import java.util.Date;

/**
 * 薪酬统计维度表
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//hrsa_salary_stats_dim")
public class SalaryStatisticsDimensionPO implements Serializable {

    private static final long serialVersionUID = 5180094786861638413L;
    /**
     * 主键id
     */
    private Long id;

    /**
     * 名称
     */
    private String dimName;

    /**
     * 统计维度类型
     * @see SalaryStatisticsDimensionTypeEnum
     */
    private String dimType;

    /**
     * 备注
     */
    private String remark;

    /**
     * 设置内容
     */
    private String setting;

    /**
     * 是否默认：1代表默认
     */
    private Integer isDefault;

    /**
     * 统计维度编码
     */
    private String dimCode;

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

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

    private Long labelId;

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

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

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


    private Collection<Long> ids;
    private String dimNameLike;
}
