package com.example.myapplication.model;

import androidx.room.Entity;
import androidx.room.PrimaryKey;


@Entity(tableName = "images")
    public class ImageEntity {
    @PrimaryKey(autoGenerate = true)
    public int id;
    public String path;
    public long time;
    public double latitude;
    public double longitude;
    public double altitude;
    public String user;
    public String audioPath;
    public int blade;
    public String unit;
    public String project;
    public boolean b;

    public ImageEntity(String path, long time, double latitude, double longitude, double altitude, String user, String audioPath, String project, String unit, int blade, boolean b) {

        this.path = path;
        this.time = time;
        this.latitude = latitude;
        this.longitude = longitude;
        this.altitude = altitude;
        this.user = user;
        this.audioPath = audioPath;
        this.project=project;
        this.unit=unit;
        this.blade=blade;
        this.b=b;
    }



    // 构造方法



}

    // ImageDao.java

