Billing System using Spring Boot, Custom ID Generator for Employee, Customer, and Vendor

Suresh
Nov 15, 2020

Welcome back friends, in this story, I will be going to explain how I am using a Custom ID generator for Employee, Customer, and Vendor Data. I am not using any existing library for generating the ID. Just I am using my own logic to generate the ID for employee, Customer, and Vendor.

In my Billing System, there is a class called “CodeGenerator.java” it acts as a Component class, this class used generating unique “Code” for all of my Entity objects. I don’t have to rewrite the new method or class for different entity objects for unique code generation.

For further reading please click here.

--

--

Suresh
Suresh

Written by Suresh

I am a Java / J2EE Consultant. Happy to learn. https://pinepad.in/blog/

No responses yet