PathSymbol => PathSymbolEntity

This commit is contained in:
barsdeveloper
2021-11-23 20:05:36 +01:00
parent ffe50c2be5
commit a224903f35
8 changed files with 773 additions and 746 deletions

View File

@@ -0,0 +1,16 @@
import Entity from "./Entity"
export default class PathSymbolEntity extends Entity {
static attributes = {
value: String
}
getAttributes() {
return PathSymbolEntity.attributes
}
toString() {
return this.value
}
}

View File

@@ -1,6 +1,6 @@
import Entity from "./Entity"
import Guid from "./primitive/Guid"
import PathSymbol from "./primitive/PathSymbol"
import PathSymbol from "./PathSymbolEntity"
export default class PinReferenceEntity extends Entity {

View File

@@ -1,17 +0,0 @@
import Primitive from "./Primitive"
export default class PathSymbol extends Primitive {
constructor(value) {
super()
this.value = new String(value).valueOf()
}
valueOf() {
this.value
}
toString() {
return this.value
}
}