(a) The mayor and council shall appoint a city attorney who shall serve at the pleasure of the mayor and council. (b) The city attorney shall be an active member of the State Bar of Georgia in good standing. (c) The city attorney shall be legal counsel to the city and shall perform any other duties as may be provided by ordinance. (d) The compensation of the city attorney shall be fixed by the mayor and council.