add views
add a property hasmany in subDomain