package com.patzn.lims.common;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel
public class Tree implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long pid;

    private String pids;

    private String name;

    private Boolean nocheck;

    private String iconSkin;
}
