StaffMember.create!(
  email: "taro@example.com",
  family_name: "山田",
  given_name: "太郎",
  family_name_kana: "ヤマダ",
  given_name_kana: "タロウ",
  password: "password",
  start_date: Date.today
)

family_name = %w{
  佐藤:サトウ:sato
  鈴木:スズキ:suzuki
  高橋:タカハシ:takahashi
  田中:タナカ:tanaka
}

given_name = %w{
  二郎:ジロウ:jiro
  三郎:サブロウ:saburo
  松子:マツコ:matsuko
  竹子:タケコ:takeko
  梅子:ウメコ:umeko
}

20.times do |n|
  fn = family_name[ n % 4].split(":") 
  gn = given_name[ n % 5 ].split(":")

  StaffMember.create!(
  email: "#{fn[2]}.#{gn[2]}@example.com",
  family_name: fn[0],
  given_name: gn[0],
  family_name_kana: fn[1],
  given_name_kana: gn[1],
  password: "password",
  start_date: (100 - n).days.ago.to_date,
  end_date: n ==0? Date.today : nil,
  suspended: n == 1
  )
end