package com.bcxin.tenant.domain.readers.dtos;

import lombok.Getter;

@Getter
public class MyImDepartDto {
    private final String id;
    private final String name;
    private final String parentId;
    private final int displayOrder;

    public MyImDepartDto(String id, String name, String parentId, int displayOrder) {
        this.id = id;
        this.name = name;
        this.parentId = parentId;
        this.displayOrder = displayOrder;
    }

    public static MyImDepartDto create(String id, String name, String parentId, int displayOrder) {
        return new MyImDepartDto(id, name, parentId, displayOrder);
    }
}
