mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
24 lines
363 B
JavaScript
24 lines
363 B
JavaScript
// @ts-check
|
|
|
|
import IEntity from "./IEntity"
|
|
|
|
export default class IdentifierEntity extends IEntity {
|
|
|
|
static attributes = {
|
|
value: String,
|
|
}
|
|
|
|
constructor(options = {}) {
|
|
super(options)
|
|
/** @type {String} */ this.value
|
|
}
|
|
|
|
valueOf() {
|
|
return this.value
|
|
}
|
|
|
|
toString() {
|
|
return this.value
|
|
}
|
|
}
|