website.js 616 Bytes
Newer Older
Rosanny Sihombing's avatar
Rosanny Sihombing committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const Project = require("./project");

class Website extends Project {
    constructor(ownerGitlabId, id, name, desc, logo, settingUrl, kontaktUrl) {
        super(ownerGitlabId, id, name, desc, logo)
        this.settingUrl = settingUrl
        this.kontaktUrl = kontaktUrl
    }
    // getter
    getSettingUrl() {
        return this.settingUrl
    }
    getKontaktUrl() {
        return this.kontaktUrl
    }
    // setter
    setSettingUrl(newSettingUrl) {
        this.settingUrl = newSettingUrl
    }
    setKontaktUrl(newKontaktUrl) {
        this.kontaktUrl = newKontaktUrl
    }
}

module.exports = Website