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;

/**
 * 薪资账套薪资项目-员工信息字段
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//薪资账套薪资项目-员工信息字段
public class SalarySobEmpFieldDTO {

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

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

    //字段id
    private String fieldId;

    //字段名称
    private String fieldName;

    //排序字段
    private Integer sortedIndex;

    //是否允许删除。false：不允许删除、true：允许删除
    private boolean canDelete;
}
