/* Options:
Date: 2025-04-14 00:48:03
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: SuperAdminSupportCaseAreaQuery.*
//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 System.Net;
using System.Net.Http.Headers;
using BokaMera.API.ServiceModel.Db;
using BokaMera.API.ServiceModel.Dtos;

namespace BokaMera.API.ServiceModel.Db
{
    public partial class BaseModel
    {
    }

    public partial class CaseArea
        : BaseModel
    {
        [Required]
        public virtual string Name { get; set; }

        [Required]
        public virtual string Description { get; set; }

        public virtual DateTimeOffset? ModifiedDate { get; set; }
        public virtual int Id { get; set; }
    }

}

namespace BokaMera.API.ServiceModel.Dtos
{
    [Route("/superadmin/support/cases/areas", "GET")]
    [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)]
    [ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403)]
    [ValidateRequest("IsAuthenticated")]
    public partial class SuperAdminSupportCaseAreaQuery
        : QueryDb<CaseArea, SupportCaseAreaResponse>, IReturn<QueryResponse<SupportCaseAreaResponse>>
    {
    }

    public partial class SupportCaseAreaResponse
    {
        ///<summary>
        ///The area id
        ///</summary>
        [ApiMember(Description="The area id")]
        public virtual int Id { get; set; }

        ///<summary>
        ///The area name
        ///</summary>
        [ApiMember(Description="The area name")]
        public virtual string Name { get; set; }

        ///<summary>
        ///The area description
        ///</summary>
        [ApiMember(Description="The area description")]
        public virtual string Description { get; set; }
    }

}