module FFaker::CompanyFR
def name
def name case rand(0..2) when 0 then "#{NameFR.last_name} #{suffix}" when 1 then "#{NameFR.last_name}-#{NameFR.last_name}" when 2 then format('%s, %s and %s', NameFR.last_name, NameFR.last_name, NameFR.last_name) end end
def siren
def siren base = FFaker.numerify('########') base + luhn_check(base).to_s end
def siret
def siret location = rand(0..99).to_s.rjust(4, '0') org_no = siren + location org_no + luhn_check(org_no).to_s end
def suffix
def suffix fetch_sample(SUFFIXES) end