Durham City will have a range of housing types to meet the needs of a sustainable mix of local residents and students living in harmony.