Class CashDrawerSession
This class represents the EntityModel interface to the saCashDrawerSession database table.
Inheritance
Inherited Members
Namespace: Cmc.Nexus.Models.StudentAccounts
Assembly: Cmc.Nexus.Models.dll
Syntax
public class CashDrawerSession
Constructors
CashDrawerSession()
Declaration
public CashDrawerSession()
Properties
Campus
Declaration
public virtual Campus Campus { get; set; }
Property Value
Type | Description |
---|---|
Campus |
CampusId
Gets or sets the CampusId associated with this CashDrawerSession.
Declaration
public int? CampusId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The CampusId. |
CashDrawer
Declaration
public virtual CashDrawer CashDrawer { get; set; }
Property Value
Type | Description |
---|---|
CashDrawer |
CashDrawerId
Gets or sets the CashDrawerId associated with this CashDrawerSession.
Declaration
public int CashDrawerId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The CashDrawerId. |
Code
Gets or sets the Code associated with this CashDrawerSession.
Declaration
public string Code { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Code. |
CreatedDateTime
Gets or sets the CreatedDateTime associated with this CashDrawerSession.
Declaration
public DateTime CreatedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The CreatedDateTime. |
Drn
Gets or sets the Drn associated with this CashDrawerSession.
Declaration
public string Drn { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Drn. |
Id
Gets or sets the Id associated with this CashDrawerSession.
Declaration
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The Id. |
IsDeposited
Gets or sets the IsDeposited associated with this CashDrawerSession.
Declaration
public bool IsDeposited { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsDeposited. |
IsReconciled
Gets or sets the IsReconciled associated with this CashDrawerSession.
Declaration
public bool IsReconciled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsReconciled. |
IsReconcileInProgress
Gets or sets the IsReconcileInProgress associated with this CashDrawerSession.
Declaration
public bool IsReconcileInProgress { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The IsReconcileInProgress. |
LastModifiedDateTime
Gets or sets the LastModifiedDateTime associated with this CashDrawerSession.
Declaration
public DateTime LastModifiedDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | The LastModifiedDateTime. |
LastModifiedUserId
Gets or sets the LastModifiedUserId associated with this CashDrawerSession.
Declaration
public int LastModifiedUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The LastModifiedUserId. |
LastTransactionDateTime
Gets or sets the LastTransactionDateTime associated with this CashDrawerSession.
Declaration
public DateTime? LastTransactionDateTime { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | The LastTransactionDateTime. |
LastTransactionUserId
Gets or sets the LastTransactionUserId associated with this CashDrawerSession.
Declaration
public int? LastTransactionUserId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | The LastTransactionUserId. |
Name
Gets or sets the Name associated with this CashDrawerSession.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The Name. |
OpeningBalance
Gets or sets the OpeningBalance associated with this CashDrawerSession.
Declaration
public decimal? OpeningBalance { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Decimal> | The OpeningBalance. |
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. |