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

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;

import java.util.List;

/**
 * 薪资账套的薪资项目分组
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//薪资项目的薪资醒目分组
public class SalarySobItemGroupDTO {

   //薪资项目分组id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

   //薪资账套id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long salarySobId;

   //薪资项目分组名称")
    private String name;

   //薪资项目分组排序字段")
    private Integer sortedIndex;

    //该分类是否隐藏（0不隐藏，1隐藏）
    @JsonSerialize(using = ToStringSerializer.class)
    private Long itemHide;

   //薪资项目分组下的薪资项目")
    private List<SalarySobItemDTO> items;
}
