14 lines
429 B
JavaScript
14 lines
429 B
JavaScript
class Pool {
|
|
constructor({ id = null, name, description = null, state = 'active', created_by = null, updated_by = null, created_at = null, updated_at = null }) {
|
|
this.id = id;
|
|
this.name = name;
|
|
this.description = description;
|
|
this.state = state;
|
|
this.created_by = created_by;
|
|
this.updated_by = updated_by;
|
|
this.created_at = created_at;
|
|
this.updated_at = updated_at;
|
|
}
|
|
}
|
|
|
|
module.exports = Pool; |