Except as authorized by law, the mayor or any councilmember shall not hold any other city office or other city employment during the term for which he or she was elected. Neither the mayor nor any councilmember shall vote upon, sign or veto any ordinance, resolution, contract or other matter in which he or she shall receive a direct personal financial gain.