/* Options: Date: 2024-12-22 21:11:18 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: UpdatePlayer.* //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 MyApp.ServiceModel; namespace MyApp.ServiceModel { public partial class Phone { public virtual PhoneKind Kind { get; set; } public virtual string Number { get; set; } public virtual string Ext { get; set; } } public enum PhoneKind { Home, Mobile, Work, } public partial class Player : AuditBase { public virtual int Id { get; set; } [Required] public virtual string FirstName { get; set; } public virtual string LastName { get; set; } public virtual string Email { get; set; } public virtual List PhoneNumbers { get; set; } = []; public virtual List GameItems { get; set; } = []; public virtual Profile Profile { get; set; } public virtual int ProfileId { get; set; } public virtual Guid SavedLevelId { get; set; } public virtual ulong RowVersion { get; set; } } public partial class UpdatePlayer : IReturn, IPatchDb { public virtual int Id { get; set; } [Validate("NotEmpty")] public virtual string FirstName { get; set; } public virtual string LastName { get; set; } public virtual string Email { get; set; } public virtual List PhoneNumbers { get; set; } public virtual int? ProfileId { get; set; } public virtual Guid? SavedLevelId { get; set; } } }