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

class Website extends Project {
    constructor(ownerGitlabId, id, name, desc, logo, settingUrl, kontaktUrl, isPublished) {
        super(ownerGitlabId, id, name, desc, logo)
        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