An error occurred while loading the file. Please try again.
project.js 838 bytes
class Project {
    constructor(ownerGitlabId, id, name, desc, logo) {
        this.ownerGitlabId = ownerGitlabId
        this.id = id
        this.name = name
        this.desc = desc
        this.logo = logo
    // getter
    getOwnerGitlabId() {
        return this.ownerGitlabId
    getId() {
        return this.id
    getName() {
        return this.name
    getDesc() {
        return this.desc
    getLogo() {
        return this.logo
    // 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
module.exports = Project