Group Entities - Mapping Documentation¶
Domain: Group
Entity Count: 11
Source File: group-entities.xml
Table of Contents¶
- TripGroup
- TripPax
- TripHotel
- TripTransport
- TripRoom
- TripRoomPax
- TripService
- ServiceExtraCost
- ServiceTicketReq
TripGroup¶
Entity Class: com.perun.tlinq.entity.group.CTripGroup
ID Field: tripGroupId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.TripgroupEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTripGroup |
create |
- |
- |
saveTripGroup |
update |
- |
- |
readTripGroup |
read |
- |
- |
readTripGroup |
search |
- |
- |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
tripGroupId |
id |
DirectMapping | - | - |
tripGroupName |
groupname |
DirectMapping | - | - |
tripGroupDesc |
groupdesc |
DirectMapping | - | - |
partnerId |
partnerid |
DirectMapping | - | - |
partnerName |
partnerid |
ModelLookup | NoMapping | - |
arrivalDate |
arrivaltime |
DirectMapping | - | - |
departureDate |
departuretime |
DirectMapping | - | - |
confirmationDate |
confirmbydate |
DirectMapping | - | - |
quoteByDate |
quotebydate |
DirectMapping | - | - |
numNights |
nights |
DirectMapping | - | - |
numPax |
numpax |
DirectMapping | - | - |
tripLeader |
grpleader |
DirectMapping | - | - |
tripContact |
grpcontact |
DirectMapping | - | - |
status |
status |
DirectMapping | - | - |
quoteId |
quoteid |
DirectMapping | - | - |
invoiceId |
invoiceid |
DirectMapping | - | - |
currencyCode |
currencycode |
DirectMapping | - | - |
TripPax¶
Entity Class: com.perun.tlinq.entity.group.CTripPax
ID Field: paxId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.TrippaxEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTripPax |
create |
- |
- |
saveTripPax |
update |
- |
- |
readTripPax |
read |
- |
- |
readTripPax |
search |
- |
- |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
paxId |
id |
DirectMapping | - | - |
paxFirstName |
paxfname |
DirectMapping | - | - |
paxLastName |
paxlname |
DirectMapping | - | - |
gender |
gender |
DirectMapping | - | - |
birthDate |
paxdob |
DirectMapping | - | - |
nationality |
nationality |
DirectMapping | - | - |
passportNum |
passportnum |
DirectMapping | - | - |
groupId |
groupid |
DirectMapping | - | - |
contactTel |
telnum |
DirectMapping | - | - |
contactEmail |
email |
DirectMapping | - | - |
age |
paxage |
DirectMapping | - | - |
note |
note |
DirectMapping | - | - |
TripHotel¶
Entity Class: com.perun.tlinq.entity.group.CTripHotel
ID Field: tripHotelId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.TriphotelEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTripHotel |
create |
- |
- |
saveTripHotel |
update |
- |
- |
readTripHotel |
read |
- |
- |
readTripHotel |
search |
- |
- |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
tripHotelId |
id |
DirectMapping | - | - |
groupId |
groupid |
DirectMapping | - | - |
hotelId |
hotelid |
DirectMapping | - | - |
status |
status |
DirectMapping | - | - |
checkInDate |
checkin |
DirectMapping | - | - |
checkOutDate |
checkout |
DirectMapping | - | - |
confirmationDate |
bookbydate |
DirectMapping | - | - |
description |
hoteldesc |
DirectMapping | - | - |
hotelContacts |
contacts |
DirectMapping | - | - |
roomRate |
contractrate |
DirectMapping | - | - |
saleRate |
salerate |
DirectMapping | - | - |
currencyCode |
currencycode |
DirectMapping | - | - |
hotelName |
hotelid |
ModelLookup | NoMapping | - |
TripTransport¶
Entity Class: com.perun.tlinq.entity.group.CTripTransport
ID Field: tripTransportId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.GrpxportEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTransport |
create |
- |
- |
saveTransport |
update |
- |
- |
readTransport |
read |
- |
- |
readTransport |
search |
- |
- |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
tripTransportId |
id |
DirectMapping | - | - |
groupId |
groupid |
DirectMapping | - | - |
partnerId |
partnerid |
DirectMapping | - | - |
partnerName |
partnerid |
ModelLookup | NoMapping | - |
description |
description |
DirectMapping | - | - |
notes |
note |
DirectMapping | - | - |
startTime |
txtime |
DirectMapping | - | - |
duration |
duration |
DirectMapping | - | - |
vehicle |
vehicle |
DirectMapping | - | - |
status |
txstatus |
DirectMapping | - | - |
driverName |
drivername |
DirectMapping | - | - |
contactTel |
drivertel |
DirectMapping | - | - |
cost |
cost |
DirectMapping | - | - |
price |
price |
DirectMapping | - | - |
currencyCode |
currencycode |
DirectMapping | - | - |
TripRoom¶
Entity Class: com.perun.tlinq.entity.group.CTripRoom
ID Field: roomId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.RoomlistEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTripRoom |
create |
- |
- |
saveTripRoom |
update |
- |
- |
readTripRoom |
read |
- |
- |
readTripRoom |
search |
- |
- |
deleteTripRoom |
delete |
java.lang.Boolean |
- |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
roomId |
id |
DirectMapping | - | - |
groupId |
groupid |
DirectMapping | - | - |
tripHotelId |
triphotelid |
DirectMapping | - | - |
roomType |
roomtype |
DirectMapping | - | - |
roomNumber |
roomno |
DirectMapping | - | - |
roomPax |
roomnopax |
DirectMapping | - | - |
extraBed |
exbed |
DirectMapping | - | - |
roomPrice |
price |
DirectMapping | - | - |
roomCost |
cost |
DirectMapping | - | - |
notes |
note |
DirectMapping | - | - |
TripRoomPax¶
Entity Class: com.perun.tlinq.entity.group.CTripRoomPax
ID Field: roomPaxId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.entity.group.NTSTripRoomPax
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTripRoomPax |
create |
com.perun.tlinq.entity.group.CTripRoomPax |
- |
saveTripRoomPax |
update |
com.perun.tlinq.entity.group.CTripRoomPax |
- |
readTripRoomPax |
read |
com.perun.tlinq.entity.group.CTripRoomPax |
groupId (input), roomId (input) |
readTripRoomPax |
search |
com.perun.tlinq.entity.group.CTripRoomPax |
groupId (input), roomId (input) |
deleteTripRoomPax |
delete |
java.lang.Boolean |
roomId (entity), paxId (entity) |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
roomPaxId |
id |
DirectMapping | - | - |
roomId |
roomListId |
DirectMapping | - | - |
paxId |
tripPaxId |
DirectMapping | - | - |
groupId |
groupId |
DirectMapping | - | - |
tripHotelId |
tripHotelId |
DirectMapping | - | - |
TripService¶
Entity Class: com.perun.tlinq.entity.group.CTripService
ID Field: tripServiceId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.TripserviceEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveTripService |
create |
- |
- |
saveTripService |
update |
- |
- |
readTripService |
read |
- |
- |
readTripService |
search |
- |
- |
deleteTripService |
delete |
- |
tripServiceId (input) |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
tripServiceId |
id |
DirectMapping | - | - |
groupId |
groupid |
DirectMapping | - | - |
serviceName |
servicename |
DirectMapping | - | - |
productId |
productid |
DirectMapping | - | - |
startTime |
servtime |
DirectMapping | - | - |
adultCost |
adultcost |
DirectMapping | - | - |
childCost |
childcost |
DirectMapping | - | - |
adultPrice |
adultprice |
DirectMapping | - | - |
childPrice |
childprice |
DirectMapping | - | - |
numAdults |
numadults |
DirectMapping | - | - |
numChildren |
numchildren |
DirectMapping | - | - |
guideName |
guidename |
DirectMapping | - | - |
status |
svstatus |
DirectMapping | - | - |
hasTickets |
tixneeded |
DirectMapping | - | - |
ticketsPurchased |
ticketed |
DirectMapping | - | - |
transferIncluded |
transport |
DirectMapping | - | - |
currency |
currencycode |
DirectMapping | - | - |
note |
note |
DirectMapping | - | - |
ServiceExtraCost¶
Entity Class: com.perun.tlinq.entity.group.CServiceExtraCost
ID Field: serviceExtraCostId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.ServiceExtracostEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveServiceExtraCost |
create |
- |
- |
saveServiceExtraCost |
update |
- |
- |
readServiceExtraCost |
read |
- |
- |
readServiceExtraCost |
search |
- |
- |
deleteServiceExtraCost |
delete |
- |
- |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
serviceExtraCostId |
id |
DirectMapping | - | - |
tripServiceId |
tripserviceid |
DirectMapping | - | - |
description |
description |
DirectMapping | - | - |
cost |
cost |
DirectMapping | - | - |
currencyCode |
currencycode |
DirectMapping | - | - |
ServiceTicketReq¶
Entity Class: com.perun.tlinq.entity.group.CServiceTicketReq
ID Field: serviceTicketReqId
Default Factory: NTSServiceFactory
Factory: NTSServiceFactory¶
Native Entity: com.perun.tlinq.client.nts.db.group.ServiceTicketreqEntity
Services¶
| Service Name | Action | Return Class | Parameters |
|---|---|---|---|
saveServiceTicketReq |
create |
- |
- |
saveServiceTicketReq |
update |
- |
- |
readServiceTicketReq |
read |
- |
- |
readServiceTicketReq |
search |
- |
- |
deleteServiceTicketReq |
delete |
- |
- |
countFulfilledTickets |
custom |
- |
tripServiceId, attractionId |
Field Mappings¶
| Target Field | Source Field | Mapping Type | Reverse Mapping | Notes |
|---|---|---|---|---|
serviceTicketReqId |
id |
DirectMapping | - | - |
tripServiceId |
tripserviceid |
DirectMapping | - | - |
attractionId |
attractionid |
DirectMapping | - | - |
attractionName |
attractionid |
ModelLookup | NoMapping | Lookup to OfflineAttraction |
quantity |
quantity |
DirectMapping | - | - |
Note: The fulfilled field is transient — not stored in the database. It is populated at runtime by the countFulfilledTickets custom service, which counts SOLD/RESERVED tickets in nts.offlineticket joined with nts.ticketbatch matching the tripServiceId and attractionId.
Generated from group-entities.xml