diff --git a/Justice.csproj b/Justice.csproj index 865d3ae..19ceb4e 100644 --- a/Justice.csproj +++ b/Justice.csproj @@ -80,6 +80,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile diff --git a/Justice.csproj.user b/Justice.csproj.user index 67620d6..3743e56 100644 --- a/Justice.csproj.user +++ b/Justice.csproj.user @@ -20,6 +20,9 @@ Designer + + Designer + Designer diff --git a/Models/IncidentReport.cs b/Models/IncidentReport.cs new file mode 100644 index 0000000..a5b2569 --- /dev/null +++ b/Models/IncidentReport.cs @@ -0,0 +1,23 @@ +using SQLite; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Justice.Models +{ + public class IncidentReport + { + [PrimaryKey, AutoIncrement] + public int Id { get; set; } + public string ReportName { get; set; } + public string IncidentType { get; set; } + public string Description { get; set; } + public double Latitude { get; set; } + public double Longitude { get; set; } + public string Address { get; set; } + public DateTime DateTime { get; set; } + public string AttachmentPath { get; set; } + } +} diff --git a/Views/IncidentReportPage.xaml b/Views/IncidentReportPage.xaml new file mode 100644 index 0000000..3bf726e --- /dev/null +++ b/Views/IncidentReportPage.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/Views/IncidentReportPage.xaml.cs b/Views/IncidentReportPage.xaml.cs new file mode 100644 index 0000000..a916a2f --- /dev/null +++ b/Views/IncidentReportPage.xaml.cs @@ -0,0 +1,9 @@ +namespace Justice.Views; + +public partial class IncidentReportPage : ContentPage +{ + public IncidentReportPage() + { + InitializeComponent(); + } +} \ No newline at end of file