This is a 5~12volt DC push-pull electromagnetic lock with a 5 cm. long wires terminated by 2 pin JST PH header.
Dimensions:
Body 19 x 19 x 19 mm without attachment lugs.
With Attachment lugs: 35mm
Mounting holes: 3.5mm
Stroke shaft 5mm
Wiring: 5 cm long wiring terminated by JST-2 PH connector (2mm spacing)