import { Platform } from '@/domain/enums/platform.enum'

export class UploadVersionCommand {
  constructor(
    public readonly platform: Platform,
    public readonly fileBuffer: Buffer,
    public readonly originalFilename: string,
    public readonly changelog: string,
    public readonly isForceUpdate: boolean,
    public readonly createdBy: string,
    // Optional fields - can be auto-detected from package
    public readonly versionCode?: number,
    public readonly versionName?: string,
    public readonly buildNumber?: string,
    public readonly minOsVersion?: string | null,
    public readonly releaseDate?: Date | null,
  ) {}
}
