Skip to content

feat: Add information about the real firearm that the gun is modeled after to the database #21

@tinoue

Description

@tinoue

現在、データベース中のエアソフトガン名称は、オフィシャルWebPage記載の製品名を基本としている。
しかしそれだと、たとえばCYMA CM003はH&K G36Cが元ネタであるということがわからず、検索が不便。

ChatGPTによって、CYMA CM003 -> H&JK G36Cの情報を付け加えられないか?

  1. id < 10000は処理の対象外 (generic)
  2. descriptionフィールドが空の場合以下の処理
    2-a) manufacturerid, shortnameからモチーフとなる銃の英語短縮名称を推定し、descriptionフィールドにセット(例: "cyma", "CM003" -> "H&K G36C"。慣例的に製造元名称も付与する場合はそれも追加する (例: S&W M19)
  3. shortNameJaが存在し、descriptionJaが空の場合以下の処理
    3-a) manufacturerid, shortNameJaからモチーフとなる銃の日本語短縮名称を推定し、descriptionJaフィールドにセット (例: "marui", "G17 Gen.5 MOS" -> "グロック17 Gen.5 MOS"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions