const Project = require("./project");

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

module.exports = Website