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

export class CreateVersionCommand {
  constructor(
    public readonly platform: Platform,
    public readonly versionCode: number,
    public readonly versionName: string,
    public readonly buildNumber: string,
    public readonly downloadUrl: string,
    public readonly fileSize: bigint,
    public readonly fileSha256: string,
    public readonly changelog: string,
    public readonly isForceUpdate: boolean,
    public readonly minOsVersion: string | null,
    public readonly releaseDate: Date | null,
    public readonly createdBy: string,
  ) {}
}
