/* Options: Date: 2026-09-21 22:56:03 SwiftVersion: 6.0 Version: 8.52 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://clouddemo.pickeos.com:1337 //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: MissionAddDetail.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/MissionAddDetail/{MissionName}/{Reference}/{Label}/{Quantity}") public class MissionAddDetail : Codable { /** * Mission name */ // @ApiMember(Description="Mission name", IsRequired=true) public var missionName:String? /** * Detail reference */ // @ApiMember(Description="Detail reference", IsRequired=true) public var reference:String? /** * Detail label */ // @ApiMember(Description="Detail label", IsRequired=true) public var label:String? /** * Quantity */ // @ApiMember(Description="Quantity", IsRequired=true) public var quantity:Double? /** * QuantityPrepared */ // @ApiMember(Description="QuantityPrepared") public var quantityPrepared:Double? /** * Mission info */ // @ApiMember(Description="Mission info") public var missionInfo:String? /** * Tray key */ // @ApiMember(Description="Tray key") public var tray:String? /** * Stock Location */ // @ApiMember(Description="Stock Location") public var stockLocation:String? /** * To be used to identify with certitude a specific line in the mission result repport. */ // @ApiMember(Description="To be used to identify with certitude a specific line in the mission result repport.") public var lineNumber:Int? /** * Info about article (Max 100 chars) */ // @ApiMember(Description="Info about article (Max 100 chars)") public var info:String? /** * Position of article (Max 50 chars) */ // @ApiMember(Description="Position of article (Max 50 chars)") public var gtin:String? /** * Product reference used by supplier */ // @ApiMember(Description="Product reference used by supplier") public var supplierReference:String? /** * Can be used to optimize picking. The mission will be sorted using this value */ // @ApiMember(Description="Can be used to optimize picking. The mission will be sorted using this value") public var pickingIndex:Int? /** * Defines if an article is substitutable */ // @ApiMember(Description="Defines if an article is substitutable") public var substitutable:Bool? /** * Defines the new Reference of substituted article */ // @ApiMember(Description="Defines the new Reference of substituted article") public var substitutionRef:String? /** * Unique reference of a containing package */ // @ApiMember(Description="Unique reference of a containing package") public var packageReference:String? /** * Number of articles contained in the package */ // @ApiMember(Description="Number of articles contained in the package") public var nbSKUInPackage:Int? /** * Unique reference of a containing package (additional) */ // @ApiMember(Description="Unique reference of a containing package (additional)") public var packageReference2:String? /** * Number of articles contained in the package (additional) */ // @ApiMember(Description="Number of articles contained in the package (additional)") public var nbSKUInPackage2:Int? /** * Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB. */ // @ApiMember(Description="Uses GTIN to resovle StockLocation from Stock DB Table. Takes only the first stock location found in Stock DB.") public var resolveStockLocation:Bool? /** * Weight per Item in Kg */ // @ApiMember(Description="Weight per Item in Kg") public var weightPerItemInKg:Float? /** * Volume per Item in m3 */ // @ApiMember(Description="Volume per Item in m3") public var volumePerItemInM3:Float? /** * URL of picture */ // @ApiMember(Description="URL of picture") public var pictureURL:String? /** * Mesure of the item if it is by weight or by piece */ // @ApiMember(Description="Mesure of the item if it is by weight or by piece") public var quantityUnit:String? /** * Product versions */ // @ApiMember(Description="Product versions") public var versions:[String] = [] /** * Use to know if product need force scan EAN or not */ // @ApiMember(Description="Use to know if product need force scan EAN or not") public var isProductCritical:Bool? /** * Mission type */ // @ApiMember(Description="Mission type") public var missionType:String? required public init(){} }