package com.bcxin.ars.model.sys;

import com.bcxin.ars.model.BaseModel;
import com.bcxin.ars.model.User;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.util.List;

/**
 * 区域信息
 * @author Ethan
 */
@Data
public class Sysarea extends BaseModel {

	private static final long serialVersionUID = 7649752662428917609L;

	/**
	 * 账户信息
	 */
	@JsonIgnoreProperties(value={"handler"})
	private User user;


	/**
	 * 名称
	 */
	private String name;

	/**
	 * 编码
	 */
	private String code;

	private String regionFullName;

	/**
	 * 上级ID
	 */
	private String parentid;

	private String nodeid;

	private String text;

	private List<Sysarea> nodes;

}
