package org.fouram.entity;

import java.io.Serializable;
import java.util.List;

import org.apache.ibatis.type.Alias;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Alias(value = "SapOrg")
public class SapOrg implements Serializable {
	private static final long serialVersionUID = 1L;

	private String id;
	private String parentId;
	private String sapCode;
	private String sapName; 
	private String level;
	private Long wxDepartId;
	
	private List<SapOrg> children;
	private SapOrg parentDepart;
}
