Created
March 10, 2019 02:46
-
-
Save alexed1/6e4a64ee95c2fd43577d95ae5fb28bda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public with sharing class Vehicle { | |
@AuraEnabled public String model { get; set; } | |
@AuraEnabled public List<Wheel> wheels { get; set; } | |
@AuraEnabled public String engine { get; set; } | |
@AuraEnabled public String Id { get; set; } | |
public Vehicle() { | |
wheels = new List<Wheel> (); | |
} | |
public class Wheel { | |
@AuraEnabled public String tireSize { get; set; } | |
@AuraEnabled public String tireBrand { get; set; } | |
@AuraEnabled public String rimStyle { get; set; } | |
@AuraEnabled public String Id { get; set; } | |
public Wheel() { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment