All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zcj.web.dto.ZtreeDto Maven / Gradle / Ivy

There is a newer version: 1.1.38
Show newest version
package com.zcj.web.dto;

/**
 * Ztree 接收的数据格式
 *
 * @author [email protected]
 * @since 2019/1/26
 */
public class ZtreeDto {

    private String name;

    private boolean checked = false;

    private boolean chkDisabled = false;

    private Long pId;

    private Long id;

    private boolean open = true;

    public ZtreeDto() {
    }

    public ZtreeDto(String name, boolean checked, Long pId, Long id, boolean open, boolean chkDisabled) {
        this.name = name;
        this.checked = checked;
        this.pId = pId;
        this.id = id;
        this.open = open;
        this.chkDisabled = chkDisabled;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public Long getpId() {
        return pId;
    }

    public boolean isChkDisabled() {
        return chkDisabled;
    }

    public void setChkDisabled(boolean chkDisabled) {
        this.chkDisabled = chkDisabled;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy