mirror of
https://github.com/sergeyyarkov/asu_tools_service.git
synced 2026-10-11 18:39:15 +03:00
21 lines
419 B
JavaScript
21 lines
419 B
JavaScript
import { BaseModel } from "./base.model.js";
|
|
|
|
/** @import { SystemModelTableCols } from "./types.js" */
|
|
|
|
/**
|
|
* @implements { SystemModelTableCols }
|
|
*/
|
|
export class SystemModel extends BaseModel {
|
|
id;
|
|
location_id;
|
|
name;
|
|
|
|
/** @param {SystemModelTableCols} columns */
|
|
constructor(columns) {
|
|
super();
|
|
this.id = columns.id;
|
|
this.location_id = columns.location_id;
|
|
this.name = columns.name;
|
|
}
|
|
}
|