package com.vctgo.system.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
public class SysLocationDto {

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

    // 名称
    private String name;

    private List<SysAreaDto>  children;

}
