/* Options: Date: 2025-01-08 03:10:30 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazordiffusion.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateModifier.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IPatchDb { } // @DataContract export class AuditBase { // @DataMember(Order=1) public createdDate: string; // @DataMember(Order=2) // @Required() public createdBy: string; // @DataMember(Order=3) public modifiedDate: string; // @DataMember(Order=4) // @Required() public modifiedBy: string; // @DataMember(Order=5) public deletedDate?: string; // @DataMember(Order=6) public deletedBy: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Modifier extends AuditBase { public id: number; public name: string; public category: string; public description?: string; public score: number; public rank: number; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @ValidateRequest(Validator="HasRole(`Moderator`)") export class UpdateModifier implements IReturn, IPatchDb { public id: number; public name?: string; public category?: string; public description?: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'UpdateModifier'; } public getMethod() { return 'PATCH'; } public createResponse() { return new Modifier(); } }