The council may enact by ordinance a code of ethics which shall apply to all elected officials, appointed officers, and employees of this city.