lookup data
This commit is contained in:
parent
2041e12029
commit
484755c6e7
29
EnotaryoPH/EnotaryoPH.Data/Entities/LookupData.cs
Normal file
29
EnotaryoPH/EnotaryoPH.Data/Entities/LookupData.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace EnotaryoPH.Data.Entities
|
||||
{
|
||||
[Table("LookupData")]
|
||||
public class LookupData
|
||||
{
|
||||
[Column("LookupDataID")]
|
||||
public int LookupDataID { get; set; }
|
||||
|
||||
[Column("LookupData_UID")]
|
||||
public Guid LookupData_UID { get; set; }
|
||||
|
||||
[Column("Category")]
|
||||
public string? Category { get; set; }
|
||||
|
||||
[Column("ParentCategory")]
|
||||
public string? ParentCategory { get; set; }
|
||||
|
||||
[Column("Name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[Column("Description")]
|
||||
public string? Description { get; set; }
|
||||
|
||||
[Column("CreatedOn")]
|
||||
public DateTime? CreatedOn { get; set; }
|
||||
}
|
||||
}
|
29
EnotaryoPH/EnotaryoPH.Data/Entities/LookupDataValue.cs
Normal file
29
EnotaryoPH/EnotaryoPH.Data/Entities/LookupDataValue.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace EnotaryoPH.Data.Entities
|
||||
{
|
||||
[Table("LookupDataValues")]
|
||||
public class LookupDataValue
|
||||
{
|
||||
[Column("LookupDataValueID")]
|
||||
public int LookupDataValueID { get; set; }
|
||||
|
||||
[Column("LookupDataValue_UID")]
|
||||
public Guid LookupDataValue_UID { get; set; }
|
||||
|
||||
[Column("LookupDataID")]
|
||||
public int? LookupDataID { get; set; }
|
||||
|
||||
[Column("Value")]
|
||||
public string Value { get; set; }
|
||||
|
||||
[Column("Title")]
|
||||
public string? Title { get; set; }
|
||||
|
||||
[Column("SortOrder")]
|
||||
public int? SortOrder { get; set; }
|
||||
|
||||
[Column("CreatedOn")]
|
||||
public DateTime? CreatedOn { get; set; }
|
||||
}
|
||||
}
|
@ -18,6 +18,8 @@ namespace EnotaryoPH.Data
|
||||
public DbSet<Lawyer>? Lawyers { get; set; }
|
||||
public DbSet<LawyerVideoConferenceParticipant>? LawyerVideoConferenceParticipants { get; set; }
|
||||
public DbSet<LawyerVideoConferenceSchedule>? LawyerVideoConferenceSchedules { get; set; }
|
||||
public DbSet<LookupData>? LookupData { get; set; }
|
||||
public DbSet<LookupDataValue>? LookupDataValues { get; set; }
|
||||
public DbSet<Template>? Templates { get; set; }
|
||||
public DbSet<TransactionDeclineReason>? TransactionDeclineReasons { get; set; }
|
||||
public DbSet<TransactionDocument>? TransactionDocuments { get; set; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user