Skip to content

Instantly share code, notes, and snippets.

@nikeshpathak
Created November 4, 2017 13:01
Show Gist options
  • Save nikeshpathak/afa14c9244b1fa437f69226d91f86d51 to your computer and use it in GitHub Desktop.
Save nikeshpathak/afa14c9244b1fa437f69226d91f86d51 to your computer and use it in GitHub Desktop.
#spring-beans
customerImpl:
class: com.example.yamlbeanExample.Customer
properties:
firstName: Rohit
lastName: jain
phone: 203428304230
address: ref::addressImpl
addressImpl:
class: com.example.yamlbeanExample.Address
properties:
address1: gyan nagar
address2: sector 4
pinCode: 313001
city: pune
state: Maharastra
country: ref::countryImpl
countryImpl:
class: com.example.yamlbeanExample.Country
properties:
countryName: India
countryCode: 91
currency: INR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment