Box type bed for dog