generated from bscotch/typescript-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ba0de9
commit b2318a7
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import { BravoEntity } from '$lib/BravoEntity.js'; | ||
import { DataFavroColumn } from '$/types/FavroColumnTypes.js'; | ||
|
||
export class BravoColumn extends BravoEntity<DataFavroColumn> { | ||
get columnId() { | ||
return this._data.columnId; | ||
} | ||
get widgetCommonId() { | ||
return this._data.widgetCommonId; | ||
} | ||
get name() { | ||
return this._data.name; | ||
} | ||
get organizationId() { | ||
return this._data.organizationId; | ||
} | ||
get position() { | ||
return this._data.position; | ||
} | ||
get cardCount() { | ||
return this._data.cardCount; | ||
} | ||
get timeSum() { | ||
return this._data.timeSum; | ||
} | ||
get estimationSum() { | ||
return this._data.estimationSum; | ||
} | ||
equals(column: BravoColumn) { | ||
return this.hasSameConstructor(column) && this.columnId === column.columnId; | ||
} | ||
} |