/* Options: Date: 2024-12-22 22:35:23 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //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: False //ExportValueTypes: False IncludeTypes: UpdateChinookEmployee.* //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 Chinook.ServiceModel.Types; using Chinook.ServiceModel; namespace Chinook.ServiceModel { [Route("/employees/{EmployeeId}", "PUT")] public partial class UpdateChinookEmployee : IReturn, IPut, IUpdateDb { public virtual long EmployeeId { get; set; } public virtual string LastName { get; set; } public virtual string FirstName { get; set; } public virtual string Title { get; set; } public virtual long? ReportsTo { get; set; } public virtual DateTime? BirthDate { get; set; } public virtual DateTime? HireDate { get; set; } public virtual string Address { get; set; } public virtual string City { get; set; } public virtual string State { get; set; } public virtual string Country { get; set; } public virtual string PostalCode { get; set; } public virtual string Phone { get; set; } public virtual string Fax { get; set; } public virtual string Email { get; set; } } } namespace Chinook.ServiceModel.Types { public partial class Employees { public virtual long EmployeeId { get; set; } [Required] public virtual string LastName { get; set; } [Required] public virtual string FirstName { get; set; } public virtual string Title { get; set; } public virtual long? ReportsTo { get; set; } public virtual DateTime? BirthDate { get; set; } public virtual DateTime? HireDate { get; set; } public virtual string Address { get; set; } public virtual string City { get; set; } public virtual string State { get; set; } public virtual string Country { get; set; } public virtual string PostalCode { get; set; } public virtual string Phone { get; set; } public virtual string Fax { get; set; } public virtual string Email { get; set; } } }