namespace EdiFabric.Templates.EdifactD13B
{
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;
///
/// ATTRIBUTE
///
[Serializable()]
[Segment("ATT")]
public class ATT
{
///
/// Attribute function code qualifier
///
[Pos(1)]
public string Attributefunctioncodequalifier_01 { get; set; }
///
/// ATTRIBUTE TYPE
///
[Pos(2)]
public C955 ATTRIBUTETYPE_02 { get; set; }
///
/// ATTRIBUTE DETAIL
///
[ListCount(5)]
[Pos(3)]
public List ATTRIBUTEDETAIL_03 { get; set; }
}
///
/// BEGINNING OF MESSAGE
///
[Serializable()]
[Segment("BGM")]
public class BGM
{
///
/// DOCUMENT/MESSAGE NAME
///
[Pos(1)]
public C002 DOCUMENTMESSAGENAME_01 { get; set; }
///
/// DOCUMENT/MESSAGE IDENTIFICATION
///
[Pos(2)]
public C106 DOCUMENTMESSAGEIDENTIFICATION_02 { get; set; }
///
/// Message function code
///
[Pos(3)]
public string Messagefunctioncode_03 { get; set; }
///
/// Response type code
///
[Pos(4)]
public string Responsetypecode_04 { get; set; }
}
///
/// CONTROL TOTAL
///
[Serializable()]
[Segment("CNT")]
public class CNT
{
///
/// CONTROL
///
[Pos(1)]
public C270 CONTROL_01 { get; set; }
}
///
/// COMMUNICATION CONTACT
///
[Serializable()]
[Segment("COM")]
public class COM
{
///
/// COMMUNICATION CONTACT
///
[Pos(1)]
public List COMMUNICATIONCONTACT_01 { get; set; }
}
///
/// CONTACT INFORMATION
///
[Serializable()]
[Segment("CTA")]
public class CTA
{
///
/// Contact function code
///
[Pos(1)]
public string Contactfunctioncode_01 { get; set; }
///
/// CONTACT DETAILS
///
[Pos(2)]
public C056 CONTACTDETAILS_02 { get; set; }
}
///
/// DANGEROUS GOODS
///
[Serializable()]
[Segment("DGS")]
public class DGS
{
///
/// Dangerous goods regulations code
///
[Pos(1)]
public string Dangerousgoodsregulationscode_01 { get; set; }
///
/// HAZARD CODE
///
[Pos(2)]
public C205 HAZARDCODE_02 { get; set; }
///
/// UNDG INFORMATION
///
[Pos(3)]
public C234 UNDGINFORMATION_03 { get; set; }
///
/// DANGEROUS GOODS SHIPMENT FLASHPOINT
///
[Pos(4)]
public C223 DANGEROUSGOODSSHIPMENTFLASHPOINT_04 { get; set; }
///
/// Packaging danger level code
///
[Pos(5)]
public string Packagingdangerlevelcode_05 { get; set; }
///
/// Emergency procedure for ships identifier
///
[Pos(6)]
public string Emergencyprocedureforshipsidentifier_06 { get; set; }
///
/// Hazard medical first aid guide identifier
///
[Pos(7)]
public string Hazardmedicalfirstaidguideidentifier_07 { get; set; }
///
/// Transport emergency card identifier
///
[Pos(8)]
public string Transportemergencycardidentifier_08 { get; set; }
///
/// HAZARD IDENTIFICATION PLACARD DETAILS
///
[Pos(9)]
public C235 HAZARDIDENTIFICATIONPLACARDDETAILS_09 { get; set; }
///
/// DANGEROUS GOODS LABEL
///
[Pos(10)]
public C236 DANGEROUSGOODSLABEL_10 { get; set; }
///
/// Packing instruction type code
///
[Pos(11)]
public string Packinginstructiontypecode_11 { get; set; }
///
/// Transport means description code
///
[Pos(12)]
public string Transportmeansdescriptioncode_12 { get; set; }
///
/// Hazardous cargo transport authorisation code
///
[Pos(13)]
public string Hazardouscargotransportauthorisationcode_13 { get; set; }
///
/// TUNNEL RESTRICTION
///
[Pos(14)]
public C289 TUNNELRESTRICTION_14 { get; set; }
}
///
/// DIMENSIONS
///
[Serializable()]
[Segment("DIM")]
public class DIM
{
///
/// Dimension type code qualifier
///
[Pos(1)]
public string Dimensiontypecodequalifier_01 { get; set; }
///
/// DIMENSIONS
///
[Pos(2)]
public C211 DIMENSIONS_02 { get; set; }
}
///
/// DATE/TIME/PERIOD
///
[Serializable()]
[Segment("DTM")]
public class DTM
{
///
/// DATE/TIME/PERIOD
///
[Pos(1)]
public C507 DATETIMEPERIOD_01 { get; set; }
}
///
/// ATTACHED EQUIPMENT
///
[Serializable()]
[Segment("EQA")]
public class EQA
{
///
/// Equipment type code qualifier
///
[Pos(1)]
public string Equipmenttypecodequalifier_01 { get; set; }
///
/// EQUIPMENT IDENTIFICATION
///
[Pos(2)]
public C237 EQUIPMENTIDENTIFICATION_02 { get; set; }
}
///
/// EQUIPMENT DETAILS
///
[Serializable()]
[Segment("EQD")]
public class EQD
{
///
/// Equipment type code qualifier
///
[Pos(1)]
public string Equipmenttypecodequalifier_01 { get; set; }
///
/// EQUIPMENT IDENTIFICATION
///
[Pos(2)]
public C237 EQUIPMENTIDENTIFICATION_02 { get; set; }
///
/// EQUIPMENT SIZE AND TYPE
///
[Pos(3)]
public C224 EQUIPMENTSIZEANDTYPE_03 { get; set; }
///
/// Equipment supplier code
///
[Pos(4)]
public string Equipmentsuppliercode_04 { get; set; }
///
/// Equipment status code
///
[Pos(5)]
public string Equipmentstatuscode_05 { get; set; }
///
/// Full or empty indicator code
///
[Pos(6)]
public string Fulloremptyindicatorcode_06 { get; set; }
///
/// Marking instructions code
///
[Pos(7)]
public string Markinginstructionscode_07 { get; set; }
}
///
/// FREE TEXT
///
[Serializable()]
[Segment("FTX")]
public class FTX
{
///
/// Text subject code qualifier
///
[Pos(1)]
public string Textsubjectcodequalifier_01 { get; set; }
///
/// Free text function code
///
[Pos(2)]
public string Freetextfunctioncode_02 { get; set; }
///
/// TEXT REFERENCE
///
[Pos(3)]
public C107 TEXTREFERENCE_03 { get; set; }
///
/// TEXT LITERAL
///
[Pos(4)]
public C108 TEXTLITERAL_04 { get; set; }
///
/// Language name code
///
[Pos(5)]
public string Languagenamecode_05 { get; set; }
///
/// Free text format code
///
[Pos(6)]
public string Freetextformatcode_06 { get; set; }
}
///
/// NATURE OF CARGO
///
[Serializable()]
[Segment("GDS")]
public class GDS
{
///
/// NATURE OF CARGO
///
[Pos(1)]
public C703 NATUREOFCARGO_01 { get; set; }
///
/// PRODUCT GROUP
///
[Pos(2)]
public C288 PRODUCTGROUP_02 { get; set; }
}
///
/// GOODS ITEM DETAILS
///
[Serializable()]
[Segment("GID")]
public class GID
{
///
/// Goods item number
///
[Pos(1)]
public string Goodsitemnumber_01 { get; set; }
///
/// NUMBER AND TYPE OF PACKAGES
///
[Pos(2)]
public C213 NUMBERANDTYPEOFPACKAGES_02 { get; set; }
///
/// NUMBER AND TYPE OF PACKAGES
///
[Pos(3)]
public C213 NUMBERANDTYPEOFPACKAGES_03 { get; set; }
///
/// NUMBER AND TYPE OF PACKAGES
///
[Pos(4)]
public C213 NUMBERANDTYPEOFPACKAGES_04 { get; set; }
///
/// NUMBER AND TYPE OF PACKAGES
///
[Pos(5)]
public C213 NUMBERANDTYPEOFPACKAGES_05 { get; set; }
///
/// NUMBER AND TYPE OF PACKAGES
///
[Pos(6)]
public C213 NUMBERANDTYPEOFPACKAGES_06 { get; set; }
}
///
/// HANDLING INSTRUCTIONS
///
[Serializable()]
[Segment("HAN")]
public class HAN
{
///
/// HANDLING INSTRUCTIONS
///
[Pos(1)]
public C524 HANDLINGINSTRUCTIONS_01 { get; set; }
///
/// HAZARDOUS MATERIAL
///
[Pos(2)]
public C218 HAZARDOUSMATERIAL_02 { get; set; }
}
///
/// PLACE/LOCATION IDENTIFICATION
///
[Serializable()]
[Segment("LOC")]
public class LOC
{
///
/// Location function code qualifier
///
[Pos(1)]
public string Locationfunctioncodequalifier_01 { get; set; }
///
/// LOCATION IDENTIFICATION
///
[Pos(2)]
public C517 LOCATIONIDENTIFICATION_02 { get; set; }
///
/// RELATED LOCATION ONE IDENTIFICATION
///
[Pos(3)]
public C519 RELATEDLOCATIONONEIDENTIFICATION_03 { get; set; }
///
/// RELATED LOCATION TWO IDENTIFICATION
///
[Pos(4)]
public C553 RELATEDLOCATIONTWOIDENTIFICATION_04 { get; set; }
///
/// Relation code
///
[Pos(5)]
public string Relationcode_05 { get; set; }
}
///
/// MEASUREMENTS
///
[Serializable()]
[Segment("MEA")]
public class MEA
{
///
/// Measurement purpose code qualifier
///
[Pos(1)]
public string Measurementpurposecodequalifier_01 { get; set; }
///
/// MEASUREMENT DETAILS
///
[Pos(2)]
public C502 MEASUREMENTDETAILS_02 { get; set; }
///
/// VALUE/RANGE
///
[Pos(3)]
public C174 VALUERANGE_03 { get; set; }
///
/// Surface or layer code
///
[Pos(4)]
public string Surfaceorlayercode_04 { get; set; }
}
///
/// NAME AND ADDRESS
///
[Serializable()]
[Segment("NAD")]
public class NAD
{
///
/// Party function code qualifier
///
[Pos(1)]
public string Partyfunctioncodequalifier_01 { get; set; }
///
/// PARTY IDENTIFICATION DETAILS
///
[Pos(2)]
public C082 PARTYIDENTIFICATIONDETAILS_02 { get; set; }
///
/// NAME AND ADDRESS
///
[Pos(3)]
public C058 NAMEANDADDRESS_03 { get; set; }
///
/// PARTY NAME
///
[Pos(4)]
public C080 PARTYNAME_04 { get; set; }
///
/// STREET
///
[Pos(5)]
public C059 STREET_05 { get; set; }
///
/// City name
///
[Pos(6)]
public string Cityname_06 { get; set; }
///
/// COUNTRY SUBDIVISION DETAILS
///
[Pos(7)]
public C819 COUNTRYSUBDIVISIONDETAILS_07 { get; set; }
///
/// Postal identification code
///
[Pos(8)]
public string Postalidentificationcode_08 { get; set; }
///
/// Country identifier
///
[Pos(9)]
public string Countryidentifier_09 { get; set; }
}
///
/// REFERENCE
///
[Serializable()]
[Segment("RFF")]
public class RFF
{
///
/// REFERENCE
///
[Pos(1)]
public C506 REFERENCE_01 { get; set; }
}
///
/// RANGE DETAILS
///
[Serializable()]
[Segment("RNG")]
public class RNG
{
///
/// Range type code qualifier
///
[Pos(1)]
public string Rangetypecodequalifier_01 { get; set; }
///
/// RANGE
///
[Pos(2)]
public C280 RANGE_02 { get; set; }
}
///
/// TRANSPORT INFORMATION
///
[Serializable()]
[Segment("TDT")]
public class TDT
{
///
/// Transport stage code qualifier
///
[Pos(1)]
public string Transportstagecodequalifier_01 { get; set; }
///
/// Means of transport journey identifier
///
[Pos(2)]
public string Meansoftransportjourneyidentifier_02 { get; set; }
///
/// MODE OF TRANSPORT
///
[Pos(3)]
public C220 MODEOFTRANSPORT_03 { get; set; }
///
/// TRANSPORT MEANS
///
[Pos(4)]
public C001 TRANSPORTMEANS_04 { get; set; }
///
/// CARRIER
///
[Pos(5)]
public C040 CARRIER_05 { get; set; }
///
/// Transit direction indicator code
///
[Pos(6)]
public string Transitdirectionindicatorcode_06 { get; set; }
///
/// EXCESS TRANSPORTATION INFORMATION
///
[Pos(7)]
public C401 EXCESSTRANSPORTATIONINFORMATION_07 { get; set; }
///
/// TRANSPORT IDENTIFICATION
///
[Pos(8)]
public C222 TRANSPORTIDENTIFICATION_08 { get; set; }
///
/// Transport means ownership indicator code
///
[Pos(9)]
public string Transportmeansownershipindicatorcode_09 { get; set; }
}
///
/// TEMPERATURE
///
[Serializable()]
[Segment("TMP")]
public class TMP
{
///
/// Temperature type code qualifier
///
[Pos(1)]
public string Temperaturetypecodequalifier_01 { get; set; }
///
/// TEMPERATURE SETTING
///
[Pos(2)]
public C239 TEMPERATURESETTING_02 { get; set; }
}
///
/// TRANSPORT SERVICE REQUIREMENTS
///
[Serializable()]
[Segment("TSR")]
public class TSR
{
///
/// CONTRACT AND CARRIAGE CONDITION
///
[Pos(1)]
public C536 CONTRACTANDCARRIAGECONDITION_01 { get; set; }
///
/// SERVICE
///
[Pos(2)]
public C233 SERVICE_02 { get; set; }
///
/// TRANSPORT PRIORITY
///
[Pos(3)]
public C537 TRANSPORTPRIORITY_03 { get; set; }
///
/// NATURE OF CARGO
///
[Pos(4)]
public C703 NATUREOFCARGO_04 { get; set; }
}
///
/// SECTION CONTROL
///
[Serializable()]
[Segment("UNS")]
public class UNS
{
///
/// Section identification
///
[Pos(1)]
public string Sectionidentification_01 { get; set; }
}
}