/* Options: Date: 2026-04-09 01:11:50 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: SettingsChangeLogQuery.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Db; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Db { public partial class BaseModel { } public partial interface IBaseModelCreated { DateTime CreatedDate { get; set; } } public partial class SettingsChangeLog : BaseModel, IBaseModelCreated { public virtual int Id { get; set; } [Required] public virtual Guid CompanyId { get; set; } [Required] [StringLength(128)] public virtual string SettingsType { get; set; } [Required] [StringLength(256)] public virtual string PropertyName { get; set; } [StringLength(int.MaxValue)] public virtual string? OldValue { get; set; } [StringLength(int.MaxValue)] public virtual string? NewValue { get; set; } [StringLength(256)] public virtual string? ModifiedBy { get; set; } [Required] public virtual DateTime CreatedDate { get; set; } public virtual DateTimeOffset? ModifiedDate { get; set; } } } namespace BokaMera.API.ServiceModel.Dtos { [Route("/settings/changelog", "GET")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ApiResponse(Description="You have too low privileges to call this service", StatusCode=403)] [ValidateRequest("IsAuthenticated")] public partial class SettingsChangeLogQuery : QueryDb, IReturn>, ICompany { /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.", ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///Filter by settings type, e.g. BookingSettings, PaymentSettings, CompanySetting, EAccountingSettings /// [ApiMember(Description="Filter by settings type, e.g. BookingSettings, PaymentSettings, CompanySetting, EAccountingSettings", ParameterType="query")] public virtual string? SettingsType { get; set; } /// ///Filter by property name, e.g. SendEmailReminder /// [ApiMember(Description="Filter by property name, e.g. SendEmailReminder", ParameterType="query")] public virtual string? PropertyName { get; set; } /// ///Filter by who made the change /// [ApiMember(Description="Filter by who made the change", ParameterType="query")] public virtual string? ModifiedBy { get; set; } /// ///Filter changes created on or after this date /// [ApiMember(Description="Filter changes created on or after this date", ParameterType="query")] public virtual DateTime? CreatedDateGreaterThanOrEqualTo { get; set; } /// ///Filter changes created on or before this date /// [ApiMember(Description="Filter changes created on or before this date", ParameterType="query")] public virtual DateTime? CreatedDateLessThanOrEqualTo { get; set; } } public partial class SettingsChangeLogQueryResponse { /// ///The change log entry id /// [ApiMember(Description="The change log entry id")] public virtual int Id { get; set; } /// ///The company id /// [ApiMember(Description="The company id")] public virtual Guid CompanyId { get; set; } /// ///The settings type that was changed, e.g. BookingSettings /// [ApiMember(Description="The settings type that was changed, e.g. BookingSettings")] public virtual string SettingsType { get; set; } /// ///The property name that was changed /// [ApiMember(Description="The property name that was changed")] public virtual string PropertyName { get; set; } /// ///The value before the change /// [ApiMember(Description="The value before the change")] public virtual string? OldValue { get; set; } /// ///The value after the change /// [ApiMember(Description="The value after the change")] public virtual string? NewValue { get; set; } /// ///The user who made the change /// [ApiMember(Description="The user who made the change")] public virtual string? ModifiedBy { get; set; } /// ///When the change was made /// [ApiMember(Description="When the change was made")] public virtual DateTime CreatedDate { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }