decord/beta/source/records/CompanyRecord.tsx
2026-10-12 16:32:48 +00:00

30 lines
814 B
TypeScript

// Module ID: 2023
// Function ID: 2024
// Name: CompanyRecord
// Dependencies: [1405, 2]
// Module 2023 (CompanyRecord)
import Record from "Record" /* 1405 */;
import size from "module_2" /* 2 */;
class CompanyRecord extends Record {
constructor(arg0) {
const tmp = new CompanyRecord(new.target, this);
({ id: tmp.id, name: tmp.name } = arg0);
return tmp;
}
static createFromServer(arg0) {
if (typeof CompanyRecord === "function") {
const self = this;
const self2 = this;
const tmp5 = new CompanyRecord(tmp, tmp2);
({ id: tmp5.id, name: tmp5.name } = arg0);
return tmp5;
} else {
throw new TypeError("Trying to call a non-function");
}
}
}
const result = size.fileFinishedImporting("records/CompanyRecord.tsx");
export default CompanyRecord;