Skip to content
Snippets Groups Projects
Select Git revision
  • cd8325af3adc5fbeffeb20b9459e29ea76bf116c
  • master default protected
  • 3.6
  • 3.5
  • 3.5.1
  • 3.5.0
6 results

kicker.json

Blame
  • target-available.model.ts 647 B
    import { TargetType } from "./enumeration/target-type.model";
    
    export interface ITargetAvailable {
      id?: number;
      type?: TargetType;
      code?: string;
      value?: string;
      //createdDate?: dayjs.Dayjs | null;
      createdBy?: string | null;
    }
    
    export class TargetAvailable implements ITargetAvailable {
      constructor(
        public id?: number,
        public type?: TargetType,
        public code?: string,
        public value?: string,
        //public createdDate?: dayjs.Dayjs | null,
        public createdBy?: string | null
      ) {}
    }
    
    export function getTargetAvailableIdentifier(targetAvailable: ITargetAvailable): number | undefined {
      return targetAvailable.id;
    }