An electronic device comprising: an electronic device body, an attachment device for attaching the electronic device body to a wall surface, and characterized in that the attachment device comprises: a base (210, 810) having a plurality of pin holes (222, 822); a plurality of pins that are respectively inserted in the pin holes (210, 810), and secure the base (210, 810) to the wall surface; and a locking part that is secured to the base (210, 810), and on which the electronic device body is to be hung and locked, and in that the base (210, 810) includes a securing surface that is a surface to be secured to the wall surface, the pin holes (222, 822) are respectively arranged outwardly from the base (210, 810) at a predetermined angle with respect to the securing surface, the electronic device body includes a main-body-through-hole that is a through hole in which at least part of the locking part is inserted, and the locking part includes a groove configured to receive a shaft that is included in the main-body-through-hole of the electronic device body and extends in a horizontal direction in a state in which the electronic device body is attached to the wall surface. an electronic device body, an attachment device for attaching the electronic device body to a wall surface, and characterized in that the attachment device comprises: a base (210, 810) having a plurality of pin holes (222, 822); a plurality of pins that are respectively inserted in the pin holes (210, 810), and secure the base (210, 810) to the wall surface; and a locking part that is secured to the base (210, 810), and on which the electronic device body is to be hung and locked, and in that the base (210, 810) includes a securing surface that is a surface to be secured to the wall surface, the pin holes (222, 822) are respectively arranged outwardly from the base (210, 810) at a predetermined angle with respect to the securing surface, the electronic device body includes a main-body-through-hole that is a through hole in which at least part of the locking part is inserted, and the locking part includes a groove configured to receive a shaft that is included in the main-body-through-hole of the electronic device body and extends in a horizontal direction in a state in which the electronic device body is attached to the wall surface. a base (210, 810) having a plurality of pin holes (222, 822); a plurality of pins that are respectively inserted in the pin holes (210, 810), and secure the base (210, 810) to the wall surface; and a locking part that is secured to the base (210, 810), and on which the electronic device body is to be hung and locked, and in that the base (210, 810) includes a securing surface that is a surface to be secured to the wall surface, the pin holes (222, 822) are respectively arranged outwardly from the base (210, 810) at a predetermined angle with respect to the securing surface, the electronic device body includes a main-body-through-hole that is a through hole in which at least part of the locking part is inserted, and the locking part includes a groove configured to receive a shaft that is included in the main-body-through-hole of the electronic device body and extends in a horizontal direction in a state in which the electronic device body is attached to the wall surface.