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

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
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 SalaryStatisticsDimensionListDTO {

    //主键id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    // 统计维度")
    private String dimName;

    // 描述")
    private String remark;

    // 维度类型")
    private String dimType;

    //是否默认")
    @JsonIgnore
    private Integer isDefault;

    // 能否删除
    private boolean canDelete;

    // 能否编辑
    private boolean canEdit;
}
