CentralBackend/models/Pool.js

16 lines
543 B
JavaScript

class Pool {
constructor({ id = null, pool_name, description = null, price = 0.00, pool_type = 'other', is_active = true, created_by = null, updated_by = null, created_at = null, updated_at = null }) {
this.id = id;
this.pool_name = pool_name;
this.description = description;
this.price = price;
this.pool_type = pool_type;
this.is_active = is_active;
this.created_by = created_by;
this.updated_by = updated_by;
this.created_at = created_at;
this.updated_at = updated_at;
}
}
module.exports = Pool;