新增多级联动下拉示例
This commit is contained in:
@ -0,0 +1,69 @@
|
||||
package com.ruoyi.common.core.domain;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* CxSelect树结构实体类
|
||||
*
|
||||
* @author ruoyi
|
||||
*/
|
||||
public class CxSelect implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 数据值字段名称
|
||||
*/
|
||||
private String v;
|
||||
|
||||
/**
|
||||
* 数据标题字段名称
|
||||
*/
|
||||
private String n;
|
||||
|
||||
/**
|
||||
* 子集数据字段名称
|
||||
*/
|
||||
private List<CxSelect> s;
|
||||
|
||||
public CxSelect()
|
||||
{
|
||||
}
|
||||
|
||||
public CxSelect(String v, String n)
|
||||
{
|
||||
this.v = v;
|
||||
this.n = n;
|
||||
}
|
||||
|
||||
public List<CxSelect> getS()
|
||||
{
|
||||
return s;
|
||||
}
|
||||
|
||||
public void setN(String n)
|
||||
{
|
||||
this.n = n;
|
||||
}
|
||||
|
||||
public String getN()
|
||||
{
|
||||
return n;
|
||||
}
|
||||
|
||||
public void setS(List<CxSelect> s)
|
||||
{
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
public String getV()
|
||||
{
|
||||
return v;
|
||||
}
|
||||
|
||||
public void setV(String v)
|
||||
{
|
||||
this.v = v;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user