If you are wanting a coop with building and run all in one so to speak then you will need to take extra measures to keep your chickens safe.
The walls and roof of the run need to be heavy gauge hardware cloth. The roof can be a sold surface as well. It needs to be secured to the lumber every 6 inches and I would use a bolt and washer system and not staples or nails. Coons and coyotes are strong.
The hardware cloth needs to be buried at least 18 inches down, I would probably go 2 feet.
Predators have a lot of time on their "hands" and will seek and look and test the run over and over and over again. Especially when such a huge reward is on the other side of the barrier.
They will obviously test the weakest points and in a coop in which the building and run need to be secure the gate will be the weakest point. So it needs to be secured that no predators can get its paws in and pry it open enough to get in and this area will also need to be dig proof.
I am presuming you are a newbie at raising chickens with only three posts. I've been raising chickens for over 40 years and when people ask me about raising chickens the first thing I start with is. "if you are not willing to spend the time and money to predator proof your coop then don't bother because you will not have chickens very long"
In my opinion the number one reason that people stop raising chickens is they loose chickens to predators because A. they don't build a secure coop or B. they do not lock up every night at dusk.
We all live very active life styles so if you or someone cannot be home at dusk to lock up invest in a automatic door. Best thing I've ever bought in 40 years as it relates to chickens.
Take five minutes and go over to the predator forum and just browse. Post after post after post after post of people losing chickens to predators.
Not trying to be hard on ya but just trying to keep you from investing time, money and emotion to just have it all end in one night.