structures: include reference to orbtk

* make structures accessible for orbtk
* documentation update

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-07-03 00:57:34 +02:00
parent 9beeaa7190
commit 40896c6b8e

View File

@@ -6,6 +6,7 @@
*/
use chrono::NaiveDateTime;
use orbtk::prelude::*;
use serde::{Deserialize, Serialize};
/// An enumeration of valid policy codes.
@@ -144,10 +145,14 @@ pub struct HarmType {
pub struct PolicyCheck {
/// Versicherungsschein-Prüfnummer
pub policy_check_number: String,
/// Referenz zum Versicherungsschein-Typ
pub dion: u8,
/// Referenz zum Versicherungsschein-Typ
pub policy_code: PolicyCode,
/// Referenz zur Versicherungsschein-Nummer
pub policy_number: String,
pub policy_number: usize,
/// Validitätsergebnis
pub policy_number_valid: bool
pub policy_number_status: Status
}
impl PolicyCheck {
@@ -335,3 +340,7 @@ pub struct AllianzPolicyNumber {
// pub struct AllianzPolicyNumberList {
// records: Vec<AllianzPolicyNumber>
// }
into_property_source!(PolicyCheck);
into_property_source!(PolicyDataList);
into_property_source!(PolicyList);