mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-14 00:54:48 +08:00
15 lines
367 B
JavaScript
15 lines
367 B
JavaScript
import IEntity from "../../js/entity/IEntity.js"
|
|
import NumberEntity from "../../js/entity/NumberEntity.js"
|
|
|
|
export default class Entity1 extends IEntity {
|
|
|
|
static attributes = {
|
|
a: NumberEntity.withDefault(type => new type(8)),
|
|
b: NumberEntity.withDefault(type => new type(9)),
|
|
}
|
|
|
|
constructor(values = {}) {
|
|
super(values)
|
|
}
|
|
}
|