/* Options: Date: 2024-12-22 21:48:42 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: CreateTracks.* //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("/tracks", "POST")] public partial class CreateTracks : IReturn, IPost, ICreateDb { public virtual string Name { get; set; } public virtual long? AlbumId { get; set; } public virtual long MediaTypeId { get; set; } public virtual long? GenreId { get; set; } public virtual string Composer { get; set; } public virtual long Milliseconds { get; set; } public virtual long? Bytes { get; set; } public virtual decimal UnitPrice { get; set; } } } namespace Chinook.ServiceModel.Types { public partial class Tracks { public virtual long TrackId { get; set; } [Required] public virtual string Name { get; set; } public virtual long? AlbumId { get; set; } public virtual long MediaTypeId { get; set; } public virtual long? GenreId { get; set; } public virtual string Composer { get; set; } public virtual long Milliseconds { get; set; } public virtual long? Bytes { get; set; } public virtual decimal UnitPrice { get; set; } } }