1function Painting (id, pos, name, direction) { 2 this.id = id 3 this.position = pos 4 this.name = name 5 this.direction = direction 6} 7module.exports = Painting 8 9