/var/www/greso.tech/server/nsm/responseModels/branch
Edit: /var/www/greso.tech/server/nsm/responseModels/branch/branchShort.model.js (467B)
let { AddressModel, UserModel } = {}
module.exports = class BranchModel {
constructor(
{
id,
agent,
active,
name,
short_name,
dba,
phone,
address,
usdot,
mc,
},
) {
this.id = id || ''
this.agent = agent
this.active = active
this.name = name || ''
this.short_name = short_name || ''
this.dba = dba || ''
this.address = address || null
this.phone = phone || ''
this.usdot = usdot || ''
this.mc = mc || ''
}
}