/* Options: Date: 2026-04-05 18:18:15 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://internal.thebunkerbridge.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: EnquiryEditResult.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/Enquiries/Edit/Result", Verbs="POST") public static class EnquiryEditResult implements IReturn { public Integer Id = null; public UUID Guid = null; public Date DateFrom = null; public Date DateTo = null; public String Agent = null; public String GeneralComments = null; public Integer DeliveryMethodId = null; public Integer AccountId = null; public String RequestedTermsType = null; public Integer CreditTermDays = null; public Integer VesselId = null; public String IMONumberOrMMSI = null; public ArrayList GetProducts = null; public ArrayList GetVersions = null; public ArrayList GetGrades = null; public ArrayList GetUnits = null; public ArrayList GetDeliveryMethods = null; public ArrayList GetEntityAccounts = null; public ArrayList EnquiryGradesEdit = null; public Integer getId() { return Id; } public EnquiryEditResult setId(Integer value) { this.Id = value; return this; } public UUID getGuid() { return Guid; } public EnquiryEditResult setGuid(UUID value) { this.Guid = value; return this; } public Date getDateFrom() { return DateFrom; } public EnquiryEditResult setDateFrom(Date value) { this.DateFrom = value; return this; } public Date getDateTo() { return DateTo; } public EnquiryEditResult setDateTo(Date value) { this.DateTo = value; return this; } public String getAgent() { return Agent; } public EnquiryEditResult setAgent(String value) { this.Agent = value; return this; } public String getGeneralComments() { return GeneralComments; } public EnquiryEditResult setGeneralComments(String value) { this.GeneralComments = value; return this; } public Integer getDeliveryMethodId() { return DeliveryMethodId; } public EnquiryEditResult setDeliveryMethodId(Integer value) { this.DeliveryMethodId = value; return this; } public Integer getAccountId() { return AccountId; } public EnquiryEditResult setAccountId(Integer value) { this.AccountId = value; return this; } public String getRequestedTermsType() { return RequestedTermsType; } public EnquiryEditResult setRequestedTermsType(String value) { this.RequestedTermsType = value; return this; } public Integer getCreditTermDays() { return CreditTermDays; } public EnquiryEditResult setCreditTermDays(Integer value) { this.CreditTermDays = value; return this; } public Integer getVesselId() { return VesselId; } public EnquiryEditResult setVesselId(Integer value) { this.VesselId = value; return this; } public String getImoNumberOrMMSI() { return IMONumberOrMMSI; } public EnquiryEditResult setImoNumberOrMMSI(String value) { this.IMONumberOrMMSI = value; return this; } public ArrayList getGetProducts() { return GetProducts; } public EnquiryEditResult setGetProducts(ArrayList value) { this.GetProducts = value; return this; } public ArrayList getGetVersions() { return GetVersions; } public EnquiryEditResult setGetVersions(ArrayList value) { this.GetVersions = value; return this; } public ArrayList getGetGrades() { return GetGrades; } public EnquiryEditResult setGetGrades(ArrayList value) { this.GetGrades = value; return this; } public ArrayList getGetUnits() { return GetUnits; } public EnquiryEditResult setGetUnits(ArrayList value) { this.GetUnits = value; return this; } public ArrayList getGetDeliveryMethods() { return GetDeliveryMethods; } public EnquiryEditResult setGetDeliveryMethods(ArrayList value) { this.GetDeliveryMethods = value; return this; } public ArrayList getGetEntityAccounts() { return GetEntityAccounts; } public EnquiryEditResult setGetEntityAccounts(ArrayList value) { this.GetEntityAccounts = value; return this; } public ArrayList getEnquiryGradesEdit() { return EnquiryGradesEdit; } public EnquiryEditResult setEnquiryGradesEdit(ArrayList value) { this.EnquiryGradesEdit = value; return this; } private static Object responseType = EditEnquiryResultViewModel.class; public Object getResponseType() { return responseType; } } public static class EditEnquiryResultViewModel { public SavingResultStatus Status = null; public String MessageFromBridge = null; public SavingResultStatus getStatus() { return Status; } public EditEnquiryResultViewModel setStatus(SavingResultStatus value) { this.Status = value; return this; } public String getMessageFromBridge() { return MessageFromBridge; } public EditEnquiryResultViewModel setMessageFromBridge(String value) { this.MessageFromBridge = value; return this; } } public static class EnquiryGradesEditViewModel { public Integer Id = null; public Boolean Deleted = null; public Integer ProductId = null; public Integer VersionId = null; public Integer GradeId = null; public String SpecificationComments = null; public Integer VolumeFrom = null; public Integer VolumeTo = null; public Integer UnitId = null; public Integer getId() { return Id; } public EnquiryGradesEditViewModel setId(Integer value) { this.Id = value; return this; } public Boolean isDeleted() { return Deleted; } public EnquiryGradesEditViewModel setDeleted(Boolean value) { this.Deleted = value; return this; } public Integer getProductId() { return ProductId; } public EnquiryGradesEditViewModel setProductId(Integer value) { this.ProductId = value; return this; } public Integer getVersionId() { return VersionId; } public EnquiryGradesEditViewModel setVersionId(Integer value) { this.VersionId = value; return this; } public Integer getGradeId() { return GradeId; } public EnquiryGradesEditViewModel setGradeId(Integer value) { this.GradeId = value; return this; } public String getSpecificationComments() { return SpecificationComments; } public EnquiryGradesEditViewModel setSpecificationComments(String value) { this.SpecificationComments = value; return this; } public Integer getVolumeFrom() { return VolumeFrom; } public EnquiryGradesEditViewModel setVolumeFrom(Integer value) { this.VolumeFrom = value; return this; } public Integer getVolumeTo() { return VolumeTo; } public EnquiryGradesEditViewModel setVolumeTo(Integer value) { this.VolumeTo = value; return this; } public Integer getUnitId() { return UnitId; } public EnquiryGradesEditViewModel setUnitId(Integer value) { this.UnitId = value; return this; } } public static enum SavingResultStatus { Success, Error; } public static class GetDeliveryMethodsViewModel { public Integer Id = null; public String Name = null; public Integer getId() { return Id; } public GetDeliveryMethodsViewModel setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public GetDeliveryMethodsViewModel setName(String value) { this.Name = value; return this; } } public static class EntityAccountsViewModel { public Integer Id = null; public String Type = null; public String Name = null; public Integer LinkedVesselId = null; public Integer getId() { return Id; } public EntityAccountsViewModel setId(Integer value) { this.Id = value; return this; } public String getType() { return Type; } public EntityAccountsViewModel setType(String value) { this.Type = value; return this; } public String getName() { return Name; } public EntityAccountsViewModel setName(String value) { this.Name = value; return this; } public Integer getLinkedVesselId() { return LinkedVesselId; } public EntityAccountsViewModel setLinkedVesselId(Integer value) { this.LinkedVesselId = value; return this; } } public static class GetGradesViewModel { public Integer Id = null; public Integer Index = null; public String Name = null; public Boolean Deleted = null; public Integer getId() { return Id; } public GetGradesViewModel setId(Integer value) { this.Id = value; return this; } public Integer getIndex() { return Index; } public GetGradesViewModel setIndex(Integer value) { this.Index = value; return this; } public String getName() { return Name; } public GetGradesViewModel setName(String value) { this.Name = value; return this; } public Boolean isDeleted() { return Deleted; } public GetGradesViewModel setDeleted(Boolean value) { this.Deleted = value; return this; } } public static class GetProductsViewModel { public Integer Id = null; public Integer Index = null; public String Name = null; public Boolean Deleted = null; public Double ETSMultiplication = null; public Integer getId() { return Id; } public GetProductsViewModel setId(Integer value) { this.Id = value; return this; } public Integer getIndex() { return Index; } public GetProductsViewModel setIndex(Integer value) { this.Index = value; return this; } public String getName() { return Name; } public GetProductsViewModel setName(String value) { this.Name = value; return this; } public Boolean isDeleted() { return Deleted; } public GetProductsViewModel setDeleted(Boolean value) { this.Deleted = value; return this; } public Double getEtsMultiplication() { return ETSMultiplication; } public GetProductsViewModel setEtsMultiplication(Double value) { this.ETSMultiplication = value; return this; } } public static class GetUnitsViewModel { public Integer Id = null; public String Code = null; public Boolean Deleted = null; public Integer getId() { return Id; } public GetUnitsViewModel setId(Integer value) { this.Id = value; return this; } public String getCode() { return Code; } public GetUnitsViewModel setCode(String value) { this.Code = value; return this; } public Boolean isDeleted() { return Deleted; } public GetUnitsViewModel setDeleted(Boolean value) { this.Deleted = value; return this; } } public static class GetVersionsViewModel { public Integer Id = null; public Integer Index = null; public String Name = null; public Boolean Deleted = null; public Integer getId() { return Id; } public GetVersionsViewModel setId(Integer value) { this.Id = value; return this; } public Integer getIndex() { return Index; } public GetVersionsViewModel setIndex(Integer value) { this.Index = value; return this; } public String getName() { return Name; } public GetVersionsViewModel setName(String value) { this.Name = value; return this; } public Boolean isDeleted() { return Deleted; } public GetVersionsViewModel setDeleted(Boolean value) { this.Deleted = value; return this; } } }