| |
| package org.eclipse.osbp.dsl.tests.carstore.dtos { |
| import org.eclipse.osbp.dsl.tests.carstore.entities.*; |
| autoDto BaseDto wraps Base { |
| |
| inherit var uuid |
| } |
| |
| autoDto CarDto extends BaseDto wraps Car { |
| |
| inherit var number |
| inherit var finishingDate |
| inherit ref addons mapto AddonDto |
| inherit ref owner mapto PersonDto |
| inherit ref cycles1 mapto ToCycle1Dto |
| } |
| |
| autoDto AddonDto extends BaseDto wraps Addon { |
| |
| inherit var description |
| inherit ref car mapto CarDto |
| } |
| |
| autoDto ToCycle1Dto extends BaseDto wraps ToCycle1 { |
| |
| inherit ref car mapto CarDto |
| inherit ref cycles2 mapto ToCycle2Dto |
| } |
| |
| autoDto ToCycle2Dto extends BaseDto wraps ToCycle2 { |
| |
| inherit ref parent mapto ToCycle1Dto |
| inherit ref car mapto CarDto |
| } |
| |
| autoDto PersonDto extends BaseDto wraps Person { |
| |
| inherit var firstname |
| inherit var lastname |
| inherit ref ownsCars mapto CarDto |
| inherit var homeAddress |
| inherit var workAddress |
| } |
| |
| autoDto AddressDto wraps Address { |
| |
| inherit var streetname |
| inherit var postalcode |
| } |
| |
| } |