/* Options:
Date: 2025-04-15 19:43:07
Version: 8.23
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://testapi.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: CreateCustomerComments.*
//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.Net;
using System.Net.Http.Headers;
using BokaMera.API.ServiceModel.Interfaces;
using BokaMera.API.ServiceModel.Dtos;

namespace BokaMera.API.ServiceModel.Dtos
{
    [Route("/customers/{CustomerId}/comments", "POST")]
    [ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400)]
    [ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401)]
    [ValidateRequest("IsAuthenticated")]
    public partial class CreateCustomerComments
        : IReturn<CustomerCommentsResponse>, ICompany
    {
        [ApiMember(IsRequired=true, ParameterType="path")]
        public virtual Guid CustomerId { get; set; }

        [ApiMember(IsRequired=true)]
        public virtual string Comments { get; set; }

        [ApiMember]
        public virtual Uri ImageUrl { get; set; }

        [ApiMember]
        public virtual Guid? CompanyId { get; set; }
    }

    public partial class CustomerCommentsResponse
    {
        public virtual int Id { get; set; }
        public virtual Guid CustomerId { get; set; }
        public virtual string Comments { get; set; }
        public virtual DateTime Updated { get; set; }
        public virtual DateTime Created { get; set; }
        public virtual Uri ImageUrl { get; set; }
    }

}

namespace BokaMera.API.ServiceModel.Interfaces
{
    public partial interface ICompany
    {
        Guid? CompanyId { get; set; }
    }

}