Class HousingLease
This class represents the EntityModel interface to the HSStudentLeaseHistory database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.StudentServices
Assembly: Cmc.Nexus.Models.dll
Syntax
public class HousingLease
Constructors
HousingLease()
Declaration
public HousingLease()
Properties
ActualEndDate
Gets or sets the ActualEndDate associated with this HousingLease.
Declaration
public DateTime? ActualEndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The ActualEndDate. |
BillingTermId
Gets or sets the BillingTermId associated with this HousingLease.
Declaration
public int? BillingTermId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The BillingTermId. |
BillingTransactionCode
Declaration
public virtual BillingTransactionCode BillingTransactionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| BillingTransactionCode |
BillingTransactionCodeId
Gets or sets the BillingTransactionCodeId associated with this HousingLease.
Declaration
public int? BillingTransactionCodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The BillingTransactionCodeId. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this HousingLease.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The CreatedDateTime. |
EndDate
Gets or sets the EndDate associated with this HousingLease.
Declaration
public DateTime EndDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The EndDate. |
Frequency
Gets or sets the Frequency associated with this HousingLease.
Declaration
public string Frequency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Frequency. |
HousingApplicationStudent
Declaration
public virtual HousingApplicationStudent HousingApplicationStudent { get; set; }
Property Value
| Type | Description |
|---|---|
| HousingApplicationStudent |
HousingApplicationStudentId
Gets or sets the HousingApplicationStudentId associated with this HousingLease.
Declaration
public int HousingApplicationStudentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The HousingApplicationStudentId. |
HousingLeaseStatus
Declaration
public virtual HousingLeaseStatus HousingLeaseStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| HousingLeaseStatus |
HousingLeaseStatusId
Gets or sets the HousingLeaseStatusId associated with this HousingLease.
Declaration
public int HousingLeaseStatusId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The HousingLeaseStatusId. |
HousingMoveOutReason
Declaration
public virtual HousingMoveOutReason HousingMoveOutReason { get; set; }
Property Value
| Type | Description |
|---|---|
| HousingMoveOutReason |
HousingMoveOutReasonId
Gets or sets the HousingMoveOutReasonId associated with this HousingLease.
Declaration
public int? HousingMoveOutReasonId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The HousingMoveOutReasonId. |
HousingRoom
Declaration
public virtual HousingRoom HousingRoom { get; set; }
Property Value
| Type | Description |
|---|---|
| HousingRoom |
HousingRoomId
Gets or sets the HousingRoomId associated with this HousingLease.
Declaration
public int HousingRoomId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The HousingRoomId. |
Id
Gets or sets the Id associated with this HousingLease.
Declaration
public int Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The Id. |
IsAcademicYearLease
Gets or sets the IsAcademicYearLease associated with this HousingLease.
Declaration
public bool? IsAcademicYearLease { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> | The IsAcademicYearLease. |
IsDatesManuallyUpdated
Gets or sets the IsDatesManuallyUpdated associated with this HousingLease.
Declaration
public bool IsDatesManuallyUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | The IsDatesManuallyUpdated. |
LastFrequency
Gets or sets the LastFrequency associated with this HousingLease.
Declaration
public string LastFrequency { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The LastFrequency. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this HousingLease.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this HousingLease.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The LastModifiedUserId. |
LastPrintDate
Gets or sets the LastPrintDate associated with this HousingLease.
Declaration
public DateTime? LastPrintDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The LastPrintDate. |
LeaseAmount
Gets or sets the LeaseAmount associated with this HousingLease.
Declaration
public decimal LeaseAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal | The LeaseAmount. |
MoveOutDate
Gets or sets the MoveOutDate associated with this HousingLease.
Declaration
public DateTime? MoveOutDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The MoveOutDate. |
Reason
Gets or sets the Reason associated with this HousingLease.
Declaration
public string Reason { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The Reason. |
RoomSwitchDate
Gets or sets the RoomSwitchDate associated with this HousingLease.
Declaration
public DateTime? RoomSwitchDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The RoomSwitchDate. |
RoomSwitchStartDate
Gets or sets the RoomSwitchStartDate associated with this HousingLease.
Declaration
public DateTime? RoomSwitchStartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | The RoomSwitchStartDate. |
SelectedDate
Gets or sets the SelectedDate associated with this HousingLease.
Declaration
public string SelectedDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | The SelectedDate. |
StartDate
Gets or sets the StartDate associated with this HousingLease.
Declaration
public DateTime StartDate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.DateTime | The StartDate. |
Student
Declaration
public virtual Student Student { get; set; }
Property Value
| Type | Description |
|---|---|
| Student |
StudentAcademicYear
Declaration
public virtual StudentAcademicYear StudentAcademicYear { get; set; }
Property Value
| Type | Description |
|---|---|
| StudentAcademicYear |
StudentAcademicYearId
Gets or sets the StudentAcademicYearId associated with this HousingLease.
Declaration
public int? StudentAcademicYearId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The StudentAcademicYearId. |
StudentEnrollmentPeriod
Declaration
public virtual StudentEnrollmentPeriod StudentEnrollmentPeriod { get; set; }
Property Value
| Type | Description |
|---|---|
| StudentEnrollmentPeriod |
StudentEnrollmentPeriodId
Gets or sets the StudentEnrollmentPeriodId associated with this HousingLease.
Declaration
public int? StudentEnrollmentPeriodId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The StudentEnrollmentPeriodId. |
StudentId
Gets or sets the StudentId associated with this HousingLease.
Declaration
public int StudentId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 | The StudentId. |
Term
Declaration
public virtual Term Term { get; set; }
Property Value
| Type | Description |
|---|---|
| Term |
TermId
Gets or sets the TermId associated with this HousingLease.
Declaration
public int? TermId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TermId. |
TerminationBillingTransactionCodeId
Gets or sets the TerminationBillingTransactionCodeId associated with this HousingLease.
Declaration
public int? TerminationBillingTransactionCodeId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | The TerminationBillingTransactionCodeId. |
TerminationFee
Gets or sets the TerminationFee associated with this HousingLease.
Declaration
public decimal? TerminationFee { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | The TerminationFee. |
Methods
GeneratedInitializer()
This is the auto-generated initializer that knows how to deal with any relationship initialization for auto-generated relationships.
Declaration
public void GeneratedInitializer()
SetupFluentMappings(DbModelBuilder)
Any type of relationship that can't be inferred from the entity annotations must be done by hand using the Fluent api. Handle those relationships here.
Declaration
public static void SetupFluentMappings(DbModelBuilder modelBuilder)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Data.Entity.DbModelBuilder | modelBuilder | The DbModelBuilder that has all of the model entities. |