Replaced some java annotation with c# attributes
fixes in Entity/Entity.cs