/* Options: Date: 2024-11-21 12:18:07 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateEAccountingArticle.* //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="/eaccounting/articles", Verbs="POST") public static class CreateEAccountingArticle extends BaseArticleDto implements IReturn, ICompany { public Integer ServiceId = null; public UUID CompanyId = null; public Integer getServiceId() { return ServiceId; } public CreateEAccountingArticle setServiceId(Integer value) { this.ServiceId = value; return this; } public UUID getCompanyId() { return CompanyId; } public CreateEAccountingArticle setCompanyId(UUID value) { this.CompanyId = value; return this; } private static Object responseType = EAccountingArticleQueryResponse.class; public Object getResponseType() { return responseType; } } public static class EAccountingArticleQueryResponse extends BaseArticleDto { public String UnitId = null; public String CodingId = null; public String VatRate = null; public String VatRatePercent = null; public String CurrencySign = null; public String getUnitId() { return UnitId; } public EAccountingArticleQueryResponse setUnitId(String value) { this.UnitId = value; return this; } public String getCodingId() { return CodingId; } public EAccountingArticleQueryResponse setCodingId(String value) { this.CodingId = value; return this; } public String getVatRate() { return VatRate; } public EAccountingArticleQueryResponse setVatRate(String value) { this.VatRate = value; return this; } public String getVatRatePercent() { return VatRatePercent; } public EAccountingArticleQueryResponse setVatRatePercent(String value) { this.VatRatePercent = value; return this; } public String getCurrencySign() { return CurrencySign; } public EAccountingArticleQueryResponse setCurrencySign(String value) { this.CurrencySign = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class BaseArticleDto { public UUID ArticleId = null; public BigDecimal ArticlePrice = null; public String ArticleName = null; public Date CreatedDate = null; public UUID getArticleId() { return ArticleId; } public BaseArticleDto setArticleId(UUID value) { this.ArticleId = value; return this; } public BigDecimal getArticlePrice() { return ArticlePrice; } public BaseArticleDto setArticlePrice(BigDecimal value) { this.ArticlePrice = value; return this; } public String getArticleName() { return ArticleName; } public BaseArticleDto setArticleName(String value) { this.ArticleName = value; return this; } public Date getCreatedDate() { return CreatedDate; } public BaseArticleDto setCreatedDate(Date value) { this.CreatedDate = value; return this; } } }