package com.engine.salary.entity.salaryBill.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;

/**
 * 工资单发放撤回筛选范围对象
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class SalarySendRangeObjDTO {

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long targetId;

    /**
     * 名称
     */
    private String targetName;

    /**
     * 类型
     */
    private Integer targetType;

    /**
     * 类型名称
     */
    private String targetTypeName;

    /**
     * @see com.engine.salary.enums.salarysend.SalarySendRangeTypeEnum
     */
    private Integer rangeType;
}