feat: panel

This commit is contained in:
bietiaop 2024-07-13 17:52:31 +08:00
parent 35c8c95b80
commit 27171c5727
77 changed files with 2126 additions and 312 deletions

View file

@ -3,13 +3,21 @@
*/
export class Property {
/**
* @param {{
* property_name: string,
* property_id: number,
* base: string,
* add: string,
* final: string
* }} data
* @param {string} property_name
* @param {number} property_id
* @param {string} base
* @param {string} add
* @param {string} final
*/
constructor(property_name, property_id, base, add, final) {
constructor(data) {
const { property_name, property_id, base, add, final } = data;
this.property_name = property_name;
this.property_id = property_id;
this.base = base;