class Project {
    constructor(ownerGitlabId, id, name, desc, logo, path) {
        this.ownerGitlabId = ownerGitlabId
        this.id = id
        this.name = name
        this.desc = desc
        this.logo = logo
        this.path = path
    }

    // getter
    getOwnerGitlabId() {
        return this.ownerGitlabId
    }
    getId() {
        return this.id
    }
    getName() {
        return this.name
    }
    getDesc() {
        return this.desc
    }
    getLogo() {
        return this.logo
    }
    getPath() {
        return this.path
    }
    // setter
    setOwnerGitlabId(newOwnerGitlabId){
        this.ownerGitlabId = newOwnerGitlabId
    }
    setId(newId) {
        this.id = newId
    }
    setName(newName) {
        this.name = newName
    }
    setDesc(newDesc) {
        this.desc = newDesc
    }
    setLogo(newLogoUrl) {
        this.logo = newLogoUrl
    }
    setPath(newPath) {
        this.path = newPath
    }
}

module.exports = Project