Class VehicleInsuranceViewModel
Viewmodel for the VehicleInsurance
Inheritance
System.Object
VehicleInsuranceViewModel
Namespace: Simplic.PlugIn.Logistics.UI.ViewModel
Assembly: Simplic.PlugIn.Logistics.dll
Syntax
public class VehicleInsuranceViewModel : ExtendableViewModel
Constructors
| Improve this Doc View SourceVehicleInsuranceViewModel(VehicleInsurance)
Initialize new VehicleInsurance view model
Declaration
public VehicleInsuranceViewModel(VehicleInsurance model)
Parameters
Type | Name | Description |
---|---|---|
VehicleInsurance | model | VehicleType instance |
VehicleInsuranceViewModel(VehicleInsurance, IViewModelBase)
Gets the an instance of VehicleInsuranceViewModel
Declaration
public VehicleInsuranceViewModel(VehicleInsurance model, IViewModelBase parent)
Parameters
Type | Name | Description |
---|---|---|
VehicleInsurance | model | |
IViewModelBase | parent |
Properties
| Improve this Doc View SourceAnnualPremium
Gets or sets the amount of the annual premium.
Declaration
public decimal AnnualPremium { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
EndDate
Gets or sets the ending date of the insurance.
Declaration
public DateTime EndDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
Guid
Gets or sets the uniqe identifier.
Declaration
public Guid Guid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
InsuranceTypeGuid
Gets or sets the guid of the insurnance type.
Declaration
public Guid InsuranceTypeGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsDeleted
Gets or sets if the insurance is deleted.
Declaration
public bool IsDeleted { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Model
Gets the current VehicleInsurance model
Declaration
public VehicleInsurance Model { get; }
Property Value
Type | Description |
---|---|
VehicleInsurance |
PremiumSum
Gets or sets the sum of the insurance premium over the complete daterange.
Declaration
public decimal PremiumSum { get; set; }
Property Value
Type | Description |
---|---|
System.Decimal |
SelectedInsuranceType
Gets or sets the selected insurance type.
Declaration
public InsuranceType SelectedInsuranceType { get; set; }
Property Value
Type | Description |
---|---|
InsuranceType |
StartDate
Gets or sets the starting date of the insurance.
Declaration
public DateTime StartDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
VehicleGuid
Gets or sets the guid of the related vehicle.
Declaration
public Guid VehicleGuid { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |