From 73362903258d5f98a5dd5acb25504cef9a2cbbfc Mon Sep 17 00:00:00 2001 From: Smith Date: Fri, 5 Jul 2024 14:08:39 -0700 Subject: [PATCH] regenerate scaffold. --- .../ef/PimsDispositionFileProperty.cs | 12 ++-- source/backend/entities/ef/PimsLease.cs | 64 +++++++++---------- source/backend/entities/ef/PimsLeaseHist.cs | 34 +++++----- source/backend/entities/ef/PimsLeasePeriod.cs | 24 +++---- .../entities/ef/PimsLeasePeriodHist.cs | 12 ++-- .../entities/ef/PimsPropertyActivityHist.cs | 3 + .../backend/entities/ef/PimsPropertyLease.cs | 12 ++-- .../entities/ef/PimsPropertyResearchFile.cs | 12 ++-- 8 files changed, 88 insertions(+), 85 deletions(-) diff --git a/source/backend/entities/ef/PimsDispositionFileProperty.cs b/source/backend/entities/ef/PimsDispositionFileProperty.cs index ce6fabdab3..99fdd158df 100644 --- a/source/backend/entities/ef/PimsDispositionFileProperty.cs +++ b/source/backend/entities/ef/PimsDispositionFileProperty.cs @@ -42,12 +42,6 @@ public partial class PimsDispositionFileProperty [StringLength(500)] public string PropertyName { get; set; } - /// - /// Geospatial location (pin) of property - /// - [Column("LOCATION", TypeName = "geometry")] - public Geometry Location { get; set; } - /// /// Application code is responsible for retrieving the row and then incrementing the value of the CONCURRENCY_CONTROL_NUMBER column by one prior to issuing an update. If this is done then the update will succeed, provided that the row was not updated by any /// @@ -138,6 +132,12 @@ public partial class PimsDispositionFileProperty [StringLength(30)] public string DbLastUpdateUserid { get; set; } + /// + /// Geospatial location (pin) of property + /// + [Column("LOCATION", TypeName = "geometry")] + public Geometry Location { get; set; } + [ForeignKey("DispositionFileId")] [InverseProperty("PimsDispositionFileProperties")] public virtual PimsDispositionFile DispositionFile { get; set; } diff --git a/source/backend/entities/ef/PimsLease.cs b/source/backend/entities/ef/PimsLease.cs index 901dc3ee97..ebbc8146f2 100644 --- a/source/backend/entities/ef/PimsLease.cs +++ b/source/backend/entities/ef/PimsLease.cs @@ -212,12 +212,6 @@ public partial class PimsLease [Column("ORIG_EXPIRY_DATE", TypeName = "datetime")] public DateTime? OrigExpiryDate { get; set; } - /// - /// Date that the lease was terminated. - /// - [Column("TERMINATION_DATE", TypeName = "datetime")] - public DateTime? TerminationDate { get; set; } - /// /// Lease/licence amount /// @@ -304,32 +298,6 @@ public partial class PimsLease [StringLength(500)] public string TerminationReason { get; set; } - /// - /// Is there an associated public benefit with this lease? TRUE = Yes, FALSE = No, and NULL = Unknown. The default is NULL (Unknown). - /// - [Column("IS_PUBLIC_BENEFIT")] - public bool? IsPublicBenefit { get; set; } - - /// - /// Is there an associated financial gain with this lease? TRUE = Yes, FALSE = No, and NULL = Unknown. The default is NULL (Unknown). - /// - [Column("IS_FINANCIAL_GAIN")] - public bool? IsFinancialGain { get; set; } - - /// - /// Note associated with fee determination. - /// - [Column("FEE_DETERMINATION_NOTE")] - [StringLength(1000)] - public string FeeDeterminationNote { get; set; } - - /// - /// The location in which primary arbtration of the lease occurred. - /// - [Column("PRIMARY_ARBITRATION_CITY")] - [StringLength(200)] - public string PrimaryArbitrationCity { get; set; } - /// /// Application code is responsible for retrieving the row and then incrementing the value of the CONCURRENCY_CONTROL_NUMBER column by one prior to issuing an update. If this is done then the update will succeed, provided that the row was not updated by any o /// @@ -420,6 +388,38 @@ public partial class PimsLease [StringLength(30)] public string DbLastUpdateUserid { get; set; } + /// + /// Date that the lease was terminated. + /// + [Column("TERMINATION_DATE", TypeName = "datetime")] + public DateTime? TerminationDate { get; set; } + + /// + /// Is there an associated public benefit with this lease? TRUE = Yes, FALSE = No, and NULL = Unknown. The default is NULL (Unknown). + /// + [Column("IS_PUBLIC_BENEFIT")] + public bool? IsPublicBenefit { get; set; } + + /// + /// Is there an associated financial gain with this lease? TRUE = Yes, FALSE = No, and NULL = Unknown. The default is NULL (Unknown). + /// + [Column("IS_FINANCIAL_GAIN")] + public bool? IsFinancialGain { get; set; } + + /// + /// Note associated with fee determination. + /// + [Column("FEE_DETERMINATION_NOTE")] + [StringLength(1000)] + public string FeeDeterminationNote { get; set; } + + /// + /// The location in which primary arbtration of the lease occurred. + /// + [Column("PRIMARY_ARBITRATION_CITY")] + [StringLength(200)] + public string PrimaryArbitrationCity { get; set; } + [ForeignKey("LeaseCategoryTypeCode")] [InverseProperty("PimsLeases")] public virtual PimsLeaseCategoryType LeaseCategoryTypeCodeNavigation { get; set; } diff --git a/source/backend/entities/ef/PimsLeaseHist.cs b/source/backend/entities/ef/PimsLeaseHist.cs index 32d156d780..6ac3574fce 100644 --- a/source/backend/entities/ef/PimsLeaseHist.cs +++ b/source/backend/entities/ef/PimsLeaseHist.cs @@ -115,9 +115,6 @@ public partial class PimsLeaseHist [Column("ORIG_EXPIRY_DATE", TypeName = "datetime")] public DateTime? OrigExpiryDate { get; set; } - [Column("TERMINATION_DATE", TypeName = "datetime")] - public DateTime? TerminationDate { get; set; } - [Column("LEASE_AMOUNT", TypeName = "money")] public decimal? LeaseAmount { get; set; } @@ -159,20 +156,6 @@ public partial class PimsLeaseHist [StringLength(500)] public string TerminationReason { get; set; } - [Column("IS_PUBLIC_BENEFIT")] - public bool? IsPublicBenefit { get; set; } - - [Column("IS_FINANCIAL_GAIN")] - public bool? IsFinancialGain { get; set; } - - [Column("FEE_DETERMINATION_NOTE")] - [StringLength(1000)] - public string FeeDeterminationNote { get; set; } - - [Column("PRIMARY_ARBITRATION_CITY")] - [StringLength(200)] - public string PrimaryArbitrationCity { get; set; } - [Column("CONCURRENCY_CONTROL_NUMBER")] public long ConcurrencyControlNumber { get; set; } @@ -223,4 +206,21 @@ public partial class PimsLeaseHist [Column("DB_LAST_UPDATE_USERID")] [StringLength(30)] public string DbLastUpdateUserid { get; set; } + + [Column("TERMINATION_DATE", TypeName = "datetime")] + public DateTime? TerminationDate { get; set; } + + [Column("IS_PUBLIC_BENEFIT")] + public bool? IsPublicBenefit { get; set; } + + [Column("IS_FINANCIAL_GAIN")] + public bool? IsFinancialGain { get; set; } + + [Column("FEE_DETERMINATION_NOTE")] + [StringLength(1000)] + public string FeeDeterminationNote { get; set; } + + [Column("PRIMARY_ARBITRATION_CITY")] + [StringLength(200)] + public string PrimaryArbitrationCity { get; set; } } diff --git a/source/backend/entities/ef/PimsLeasePeriod.cs b/source/backend/entities/ef/PimsLeasePeriod.cs index 00cffc4bb3..e77f65c19a 100644 --- a/source/backend/entities/ef/PimsLeasePeriod.cs +++ b/source/backend/entities/ef/PimsLeasePeriod.cs @@ -132,12 +132,6 @@ public partial class PimsLeasePeriod [Column("ADDL_RENT_AGREED_PMT", TypeName = "money")] public decimal? AddlRentAgreedPmt { get; set; } - /// - /// GST dollar amount for the additional rent. - /// - [Column("ADDL_RENT_GST_AMOUNT", TypeName = "money")] - public decimal? AddlRentGstAmount { get; set; } - /// /// Is the variable additional rent payment subject to GST? /// @@ -150,12 +144,6 @@ public partial class PimsLeasePeriod [Column("VBL_RENT_AGREED_PMT", TypeName = "money")] public decimal? VblRentAgreedPmt { get; set; } - /// - /// GST dollar amount for the variable rent. - /// - [Column("VBL_RENT_GST_AMOUNT", TypeName = "money")] - public decimal? VblRentGstAmount { get; set; } - /// /// Is the variable rent payment subject to GST? /// @@ -252,6 +240,18 @@ public partial class PimsLeasePeriod [StringLength(30)] public string DbLastUpdateUserid { get; set; } + /// + /// GST dollar amount for the additional rent. + /// + [Column("ADDL_RENT_GST_AMOUNT", TypeName = "money")] + public decimal? AddlRentGstAmount { get; set; } + + /// + /// GST dollar amount for the variable rent. + /// + [Column("VBL_RENT_GST_AMOUNT", TypeName = "money")] + public decimal? VblRentGstAmount { get; set; } + [ForeignKey("AddlRentFreq")] [InverseProperty("PimsLeasePeriodAddlRentFreqNavigations")] public virtual PimsLeasePmtFreqType AddlRentFreqNavigation { get; set; } diff --git a/source/backend/entities/ef/PimsLeasePeriodHist.cs b/source/backend/entities/ef/PimsLeasePeriodHist.cs index e3fdc887ce..2b9dd894ac 100644 --- a/source/backend/entities/ef/PimsLeasePeriodHist.cs +++ b/source/backend/entities/ef/PimsLeasePeriodHist.cs @@ -80,18 +80,12 @@ public partial class PimsLeasePeriodHist [Column("ADDL_RENT_AGREED_PMT", TypeName = "money")] public decimal? AddlRentAgreedPmt { get; set; } - [Column("ADDL_RENT_GST_AMOUNT", TypeName = "money")] - public decimal? AddlRentGstAmount { get; set; } - [Column("IS_ADDL_RENT_SUBJECT_TO_GST")] public bool? IsAddlRentSubjectToGst { get; set; } [Column("VBL_RENT_AGREED_PMT", TypeName = "money")] public decimal? VblRentAgreedPmt { get; set; } - [Column("VBL_RENT_GST_AMOUNT", TypeName = "money")] - public decimal? VblRentGstAmount { get; set; } - [Column("IS_VBL_RENT_SUBJECT_TO_GST")] public bool? IsVblRentSubjectToGst { get; set; } @@ -145,4 +139,10 @@ public partial class PimsLeasePeriodHist [Column("DB_LAST_UPDATE_USERID")] [StringLength(30)] public string DbLastUpdateUserid { get; set; } + + [Column("ADDL_RENT_GST_AMOUNT", TypeName = "money")] + public decimal? AddlRentGstAmount { get; set; } + + [Column("VBL_RENT_GST_AMOUNT", TypeName = "money")] + public decimal? VblRentGstAmount { get; set; } } diff --git a/source/backend/entities/ef/PimsPropertyActivityHist.cs b/source/backend/entities/ef/PimsPropertyActivityHist.cs index 76e541c7f1..527df3ccf7 100644 --- a/source/backend/entities/ef/PimsPropertyActivityHist.cs +++ b/source/backend/entities/ef/PimsPropertyActivityHist.cs @@ -50,6 +50,9 @@ public partial class PimsPropertyActivityHist [Column("COMPLETION_DT")] public DateOnly? CompletionDt { get; set; } + [Column("DESCRIPTION")] + public string Description { get; set; } + [Column("REQUEST_SOURCE")] [StringLength(2000)] public string RequestSource { get; set; } diff --git a/source/backend/entities/ef/PimsPropertyLease.cs b/source/backend/entities/ef/PimsPropertyLease.cs index abfa7daff2..194eff4394 100644 --- a/source/backend/entities/ef/PimsPropertyLease.cs +++ b/source/backend/entities/ef/PimsPropertyLease.cs @@ -40,12 +40,6 @@ public partial class PimsPropertyLease [Column("LEASE_AREA")] public float? LeaseArea { get; set; } - /// - /// Geospatial location (pin) of property - /// - [Column("LOCATION", TypeName = "geometry")] - public Geometry Location { get; set; } - [Column("CONCURRENCY_CONTROL_NUMBER")] public long ConcurrencyControlNumber { get; set; } @@ -97,6 +91,12 @@ public partial class PimsPropertyLease [StringLength(30)] public string DbLastUpdateUserid { get; set; } + /// + /// Geospatial location (pin) of property + /// + [Column("LOCATION", TypeName = "geometry")] + public Geometry Location { get; set; } + [ForeignKey("AreaUnitTypeCode")] [InverseProperty("PimsPropertyLeases")] public virtual PimsAreaUnitType AreaUnitTypeCodeNavigation { get; set; } diff --git a/source/backend/entities/ef/PimsPropertyResearchFile.cs b/source/backend/entities/ef/PimsPropertyResearchFile.cs index 3fffce34d2..55928b746c 100644 --- a/source/backend/entities/ef/PimsPropertyResearchFile.cs +++ b/source/backend/entities/ef/PimsPropertyResearchFile.cs @@ -64,12 +64,6 @@ public partial class PimsPropertyResearchFile [Column("RESEARCH_SUMMARY")] public string ResearchSummary { get; set; } - /// - /// Geospatial location (pin) of property - /// - [Column("LOCATION", TypeName = "geometry")] - public Geometry Location { get; set; } - [Column("CONCURRENCY_CONTROL_NUMBER")] public long ConcurrencyControlNumber { get; set; } @@ -121,6 +115,12 @@ public partial class PimsPropertyResearchFile [StringLength(30)] public string DbLastUpdateUserid { get; set; } + /// + /// Geospatial location (pin) of property + /// + [Column("LOCATION", TypeName = "geometry")] + public Geometry Location { get; set; } + [InverseProperty("PropertyResearchFile")] public virtual ICollection PimsPrfPropResearchPurposeTypes { get; set; } = new List();