/* Options: Date: 2024-11-21 16:48:43 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: NewsletterFieldTranslationsQuery.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.IO; using BokaMera.API.ServiceModel.Db; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Db { public partial class BaseModel { } public partial class FieldTranslation : BaseModel { [Required] public virtual string Code { get; set; } [Required] public virtual string Name { get; set; } [Required] public virtual string Description { get; set; } [Required] public virtual string Group { get; set; } public virtual DateTimeOffset? ModifiedDate { get; set; } public virtual int Id { get; set; } } } namespace BokaMera.API.ServiceModel.Dtos { public partial class NewsletterFieldTranslationResponse { /// ///The field translation id /// [ApiMember(Description="The field translation id")] public virtual int Id { get; set; } /// ///The field translation code. /// [ApiMember(Description="The field translation code.")] public virtual string Code { get; set; } /// ///The field translation name. /// [ApiMember(Description="The field translation name.")] public virtual string Name { get; set; } /// ///The field translation description. /// [ApiMember(Description="The field translation description.")] public virtual string Description { get; set; } /// ///The field translation group. /// [ApiMember(Description="The field translation group.")] public virtual string Group { get; set; } } [Route("/newsletter/fieldtranslations", "GET")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class NewsletterFieldTranslationsQuery : QueryDb, IReturn> { /// ///The field translation id. /// [ApiMember(Description="The field translation id.")] public virtual int? Id { get; set; } /// ///The field translation group /// [ApiMember(Description="The field translation group")] public virtual string Group { get; set; } } }