namespace EdiFabric.Templates.EdifactD03B
{
using System;
using System.Collections.Generic;
using EdiFabric.Core.Annotations.Edi;
using EdiFabric.Core.Annotations.Validation;
using EdiFabric.Core.Model.Edi;
using EdiFabric.Core.Model.Edi.Edifact;
///
/// Passenger list message
///
[Serializable()]
[Message("EDIFACT", "D03B", "PAXLST")]
public class TSPAXLST : EdiMessage
{
///
/// Message Header
///
[Pos(1)]
public UNH UNH { get; set; }
///
/// BEGINNING OF MESSAGE
///
[Pos(2)]
public BGM BGM { get; set; }
///
/// REFERENCE
///
[Pos(3)]
public RFF RFF { get; set; }
///
/// DATE/TIME/PERIOD
///
[Pos(4)]
public List DTM { get; set; }
///
/// Loop for NAME AND ADDRESS
///
[Pos(5)]
public List NADLoop { get; set; }
///
/// Loop for TRANSPORT INFORMATION
///
[Pos(6)]
public List TDTLoop { get; set; }
///
/// Loop for NAME AND ADDRESS
///
[Pos(7)]
public List NADLoop2 { get; set; }
///
/// CONTROL TOTAL
///
[Pos(8)]
public CNT CNT { get; set; }
///
/// AUTHENTICATION RESULT
///
[Pos(9)]
public AUT AUT { get; set; }
///
/// Message Trailer
///
[Pos(10)]
public UNT UNT { get; set; }
}
///
/// Loop for DOCUMENT/MESSAGE DETAILS
///
[Serializable()]
[Group(typeof(DOC))]
public class Loop_DOC_PAXLST
{
///
/// DOCUMENT/MESSAGE DETAILS
///
[Pos(1)]
public DOC DOC { get; set; }
///
/// DATE/TIME/PERIOD
///
[Pos(2)]
public List DTM { get; set; }
///
/// PROCESSING INFORMATION
///
[Pos(3)]
public List GEI { get; set; }
///
/// REFERENCE
///
[Pos(4)]
public List RFF { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[Pos(5)]
public List LOC { get; set; }
///
/// CHARGE PAYMENT INSTRUCTIONS
///
[Pos(6)]
public CPI CPI { get; set; }
///
/// QUANTITY
///
[Pos(7)]
public List QTY { get; set; }
}
///
/// Loop for GOODS ITEM DETAILS
///
[Serializable()]
[Group(typeof(GID))]
public class Loop_GID_PAXLST
{
///
/// GOODS ITEM DETAILS
///
[Pos(1)]
public GID GID { get; set; }
///
/// FREE TEXT
///
[Pos(2)]
public List FTX { get; set; }
///
/// QUANTITY
///
[Pos(3)]
public List QTY { get; set; }
}
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[Serializable()]
[Group(typeof(LOC))]
public class Loop_LOC_PAXLST
{
///
/// PLACE/LOCATION IDENTIFICATION
///
[Pos(1)]
public LOC LOC { get; set; }
///
/// DATE/TIME/PERIOD
///
[Pos(2)]
public List DTM { get; set; }
}
///
/// Loop for NAME AND ADDRESS
///
[Serializable()]
[Group(typeof(NAD))]
public class Loop_NAD_PAXLST
{
///
/// NAME AND ADDRESS
///
[Pos(1)]
public NAD NAD { get; set; }
///
/// CONTACT INFORMATION
///
[Pos(2)]
public CTA CTA { get; set; }
///
/// COMMUNICATION CONTACT
///
[Pos(3)]
public List COM { get; set; }
}
///
/// Loop for NAME AND ADDRESS
///
[Serializable()]
[Group(typeof(NAD))]
public class Loop_NAD_PAXLST_2
{
///
/// NAME AND ADDRESS
///
[Pos(1)]
public NAD NAD { get; set; }
///
/// ATTRIBUTE
///
[Pos(2)]
public List ATT { get; set; }
///
/// DATE/TIME/PERIOD
///
[Pos(3)]
public List DTM { get; set; }
///
/// MEASUREMENTS
///
[Pos(4)]
public List MEA { get; set; }
///
/// PROCESSING INFORMATION
///
[Pos(5)]
public List GEI { get; set; }
///
/// FREE TEXT
///
[Pos(6)]
public List FTX { get; set; }
///
/// PLACE/LOCATION IDENTIFICATION
///
[Pos(7)]
public List LOC { get; set; }
///
/// COMMUNICATION CONTACT
///
[Pos(8)]
public COM COM { get; set; }
///
/// EMPLOYMENT DETAILS
///
[Pos(9)]
public List EMP { get; set; }
///
/// NATIONALITY
///
[Pos(10)]
public List NAT { get; set; }
///
/// REFERENCE
///
[Pos(11)]
public RFF RFF { get; set; }
///
/// Loop for DOCUMENT/MESSAGE DETAILS
///
[Pos(12)]
public List DOCLoop { get; set; }
///
/// Loop for GOODS ITEM DETAILS
///
[Pos(13)]
public List GIDLoop { get; set; }
///
/// Loop for TRANSPORT INFORMATION
///
[Pos(14)]
public Loop_TDT_PAXLST_2 TDTLoop { get; set; }
}
///
/// Loop for TRANSPORT INFORMATION
///
[Serializable()]
[Group(typeof(TDT))]
public class Loop_TDT_PAXLST
{
///
/// TRANSPORT INFORMATION
///
[Pos(1)]
public TDT TDT { get; set; }
///
/// DATE/TIME/PERIOD
///
[Pos(2)]
public DTM DTM { get; set; }
///
/// Loop for PLACE/LOCATION IDENTIFICATION
///
[Pos(3)]
public List LOCLoop { get; set; }
}
///
/// Loop for TRANSPORT INFORMATION
///
[Serializable()]
[Group(typeof(TDT))]
public class Loop_TDT_PAXLST_2
{
///
/// TRANSPORT INFORMATION
///
[Pos(1)]
public TDT TDT { get; set; }
///
/// FREE TEXT
///
[Pos(2)]
public FTX FTX { get; set; }
}
}