/* Options: Date: 2026-10-31 22:41:59 Version: 8.30 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://freemotion-staging.milliet.paris/ws-cl //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: cr_commandeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class _cr_commande_ligne implements IConvertible { String? id_controleur; String? id_tournee; String? num_facture; int? line_id; int? article_id; int? quantite; String? date; String? qte_uv; String? qte_uc; String? cdt_uc; double? _qte_uv; double? _qte_uc; double? _cdt_uc; _cr_commande_ligne({this.id_controleur,this.id_tournee,this.num_facture,this.line_id,this.article_id,this.quantite,this.date,this.qte_uv,this.qte_uc,this.cdt_uc,this._qte_uv,this._qte_uc,this._cdt_uc}); _cr_commande_ligne.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_controleur = json['id_controleur']; id_tournee = json['id_tournee']; num_facture = json['num_facture']; line_id = json['line_id']; article_id = json['article_id']; quantite = json['quantite']; date = json['date']; qte_uv = json['qte_uv']; qte_uc = json['qte_uc']; cdt_uc = json['cdt_uc']; _qte_uv = JsonConverters.toDouble(json['_qte_uv']); _qte_uc = JsonConverters.toDouble(json['_qte_uc']); _cdt_uc = JsonConverters.toDouble(json['_cdt_uc']); return this; } Map toJson() => { 'id_controleur': id_controleur, 'id_tournee': id_tournee, 'num_facture': num_facture, 'line_id': line_id, 'article_id': article_id, 'quantite': quantite, 'date': date, 'qte_uv': qte_uv, 'qte_uc': qte_uc, 'cdt_uc': cdt_uc, '_qte_uv': _qte_uv, '_qte_uc': _qte_uc, '_cdt_uc': _cdt_uc }; getTypeName() => "_cr_commande_ligne"; TypeContext? context = _ctx; } class _cr_commande implements IConvertible { String? id_controleur; String? id_tournee; String? num_facture; String? commentaire; int? regroupee; String? date; List<_cr_commande_ligne>? lignes; _cr_commande({this.id_controleur,this.id_tournee,this.num_facture,this.commentaire,this.regroupee,this.date,this.lignes}); _cr_commande.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_controleur = json['id_controleur']; id_tournee = json['id_tournee']; num_facture = json['num_facture']; commentaire = json['commentaire']; regroupee = json['regroupee']; date = json['date']; lignes = JsonConverters.fromJson(json['lignes'],'List<_cr_commande_ligne>',context!); return this; } Map toJson() => { 'id_controleur': id_controleur, 'id_tournee': id_tournee, 'num_facture': num_facture, 'commentaire': commentaire, 'regroupee': regroupee, 'date': date, 'lignes': JsonConverters.toJson(lignes,'List<_cr_commande_ligne>',context!) }; getTypeName() => "_cr_commande"; TypeContext? context = _ctx; } class cr_commandeResponse implements IConvertible { String? id_controleur; String? id_tournee; List<_cr_commande>? cr_commandes; cr_commandeResponse({this.id_controleur,this.id_tournee,this.cr_commandes}); cr_commandeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_controleur = json['id_controleur']; id_tournee = json['id_tournee']; cr_commandes = JsonConverters.fromJson(json['cr_commandes'],'List<_cr_commande>',context!); return this; } Map toJson() => { 'id_controleur': id_controleur, 'id_tournee': id_tournee, 'cr_commandes': JsonConverters.toJson(cr_commandes,'List<_cr_commande>',context!) }; getTypeName() => "cr_commandeResponse"; TypeContext? context = _ctx; } // @Route("/cr_commande/{id_controleur}/{id_tournee}", "GET, POST") class cr_commandeRequest implements IReturn, IConvertible, IGet { String? id_controleur; String? id_tournee; List<_cr_commande>? cr_commandes; cr_commandeRequest({this.id_controleur,this.id_tournee,this.cr_commandes}); cr_commandeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id_controleur = json['id_controleur']; id_tournee = json['id_tournee']; cr_commandes = JsonConverters.fromJson(json['cr_commandes'],'List<_cr_commande>',context!); return this; } Map toJson() => { 'id_controleur': id_controleur, 'id_tournee': id_tournee, 'cr_commandes': JsonConverters.toJson(cr_commandes,'List<_cr_commande>',context!) }; createResponse() => cr_commandeResponse(); getResponseTypeName() => "cr_commandeResponse"; getTypeName() => "cr_commandeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'freemotion_staging.milliet.paris', types: { '_cr_commande_ligne': TypeInfo(TypeOf.Class, create:() => _cr_commande_ligne()), '_cr_commande': TypeInfo(TypeOf.Class, create:() => _cr_commande()), 'List<_cr_commande_ligne>': TypeInfo(TypeOf.Class, create:() => <_cr_commande_ligne>[]), 'cr_commandeResponse': TypeInfo(TypeOf.Class, create:() => cr_commandeResponse()), 'List<_cr_commande>': TypeInfo(TypeOf.Class, create:() => <_cr_commande>[]), 'cr_commandeRequest': TypeInfo(TypeOf.Class, create:() => cr_commandeRequest()), });