|
import { Injectable } from '@nestjs/common';
|
|
|
|
@Injectable()
|
|
export class BaseService {
|
|
generateInventoryNumber(): string {
|
|
// Generate a random inventory number
|
|
return Math.floor(Math.random() * 1000000).toString();
|
|
}
|
|
|
|
// Add more common methods here
|
|
}
|