2025-10-14 02:03:34 +08:00

12 lines
247 B
TypeScript

export class ImageInfo {
readonly id: number;
readonly mimeType: string;
readonly url: URL;
constructor(props: { id: number; mimeType: string; url: URL }) {
this.id = props.id;
this.mimeType = props.mimeType;
this.url = props.url;
}
}