diff --git a/EnotaryoPH/EnotaryoPH.Data/Entities/LawyerVideoConferenceSchedule.cs b/EnotaryoPH/EnotaryoPH.Data/Entities/LawyerVideoConferenceSchedule.cs index 94be60f..f59f893 100644 --- a/EnotaryoPH/EnotaryoPH.Data/Entities/LawyerVideoConferenceSchedule.cs +++ b/EnotaryoPH/EnotaryoPH.Data/Entities/LawyerVideoConferenceSchedule.cs @@ -5,12 +5,6 @@ namespace EnotaryoPH.Data.Entities [Table("LawyerVideoConferenceSchedule")] public class LawyerVideoConferenceSchedule { - [Column("ServerCallID")] - public string? ServerCallID { get; set; } - - [Column("RecordingID")] - public string? RecordingID { get; set; } - [Column("CreatedOn")] public DateTime? CreatedOn { get; set; } @@ -40,10 +34,18 @@ namespace EnotaryoPH.Data.Entities [Column("MeetingRoomUserID")] public string? MeetingRoomUserID { get; set; } + [Column("RecordingID")] + public string? RecordingID { get; set; } + + [Column("ServerCallID")] + public string? ServerCallID { get; set; } + [Column("Status")] public string? Status { get; set; } [Column("TransactionID")] public int TransactionID { get; set; } + + public VideoRecording VideoRecording { get; set; } } } \ No newline at end of file diff --git a/EnotaryoPH/EnotaryoPH.Data/Entities/VideoRecording.cs b/EnotaryoPH/EnotaryoPH.Data/Entities/VideoRecording.cs new file mode 100644 index 0000000..60450b4 --- /dev/null +++ b/EnotaryoPH/EnotaryoPH.Data/Entities/VideoRecording.cs @@ -0,0 +1,32 @@ +using System.ComponentModel.DataAnnotations.Schema; + +namespace EnotaryoPH.Data.Entities +{ + [Table("VideoRecordings")] + public class VideoRecording + { + [Column("CreatedOn")] + public DateTime? CreatedOn { get; set; } + + [Column("LocationType")] + public string? LocationType { get; set; } + + [Column("Metadata")] + public string? Metadata { get; set; } + + [Column("Path")] + public string? Path { get; set; } + + [ForeignKey("VideoConferenceScheduleID")] + public LawyerVideoConferenceSchedule VideoConferenceSchedule { get; set; } + + [Column("VideoConferenceScheduleID")] + public int VideoConferenceScheduleID { get; set; } + + [Column("VideoRecording_UID")] + public Guid? VideoRecording_UID { get; set; } + + [Column("VideoRecordingID")] + public int VideoRecordingID { get; set; } + } +} \ No newline at end of file diff --git a/EnotaryoPH/EnotaryoPH.Data/NotaryoDBContext.cs b/EnotaryoPH/EnotaryoPH.Data/NotaryoDBContext.cs index 27ddf2a..0ad5e93 100644 --- a/EnotaryoPH/EnotaryoPH.Data/NotaryoDBContext.cs +++ b/EnotaryoPH/EnotaryoPH.Data/NotaryoDBContext.cs @@ -37,5 +37,6 @@ namespace EnotaryoPH.Data public DbSet TransactionSignatories { get; set; } public DbSet TransactionSignatoryDeclineReasons { get; set; } public DbSet Users { get; set; } + public DbSet VideoRecordings { get; set; } } } \ No newline at end of file