hv2-all-in-one/ui/hv2-ui/src/app/data-objects.ts

192 lines
3.5 KiB
TypeScript
Raw Normal View History

2021-08-02 17:03:24 +02:00
2021-08-29 12:50:59 +02:00
// -----------------------------------------
// THIS FILE HAS BEEN GENERATED
// DO NOT EDIT MANUALLY
// -----------------------------------------
2021-08-02 17:03:24 +02:00
export interface Account {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
}
2021-09-02 15:37:43 +02:00
export const NULL_Account: Account = {
id: 0
,description: ''
}
2021-08-02 17:03:24 +02:00
export interface Tenant {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
salutation: string
firstname: string
lastname: string
address1: string
address2: string
address3: string
zip: string
city: string
phone1: string
phone2: string
iban: string
account: number
}
2021-09-02 15:37:43 +02:00
export const NULL_Tenant: Tenant = {
id: 0
,salutation: ''
,firstname: ''
,lastname: ''
,address1: ''
,address2: ''
,address3: ''
,zip: ''
,city: ''
,phone1: ''
,phone2: ''
,iban: ''
2021-09-09 18:00:24 +02:00
,account: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00
export interface Premise {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
street: string
zip: string
city: string
}
2021-09-02 15:37:43 +02:00
export const NULL_Premise: Premise = {
id: 0
,description: ''
,street: ''
,zip: ''
,city: ''
}
2021-08-02 17:03:24 +02:00
export interface Flat {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
premise: number
area: number
flat_no: number
}
2021-09-02 15:37:43 +02:00
export const NULL_Flat: Flat = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,premise: undefined
,area: undefined
,flat_no: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00
export interface OverheadAdvance {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
amount: number
startdate: string
enddate: string
}
2021-09-02 15:37:43 +02:00
export const NULL_OverheadAdvance: OverheadAdvance = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,amount: undefined
2021-09-02 15:37:43 +02:00
,startdate: ''
,enddate: ''
}
2021-08-02 17:03:24 +02:00
export interface OverheadAdvanceFlatMapping {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
overhead_advance: number
flat: number
}
2021-09-02 15:37:43 +02:00
export const NULL_OverheadAdvanceFlatMapping: OverheadAdvanceFlatMapping = {
id: 0
2021-09-09 18:00:24 +02:00
,overhead_advance: undefined
,flat: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00
export interface Parking {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
premise: number
}
2021-09-02 15:37:43 +02:00
export const NULL_Parking: Parking = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,premise: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00
export interface CommercialPremise {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
premise: number
}
2021-09-02 15:37:43 +02:00
export const NULL_CommercialPremise: CommercialPremise = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,premise: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00
export interface Tenancy {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
tenant: number
flat: number
parking: number
commercial_premise: number
startdate: string
enddate: string
}
2021-09-02 15:37:43 +02:00
export const NULL_Tenancy: Tenancy = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,tenant: undefined
,flat: undefined
,parking: undefined
,commercial_premise: undefined
2021-09-02 15:37:43 +02:00
,startdate: ''
,enddate: ''
}
2021-08-02 17:03:24 +02:00
export interface Fee {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
amount: number
fee_type: string
startdate: string
enddate: string
}
2021-09-02 15:37:43 +02:00
export const NULL_Fee: Fee = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,amount: undefined
2021-09-02 15:37:43 +02:00
,fee_type: ''
,startdate: ''
,enddate: ''
}
2021-08-02 17:03:24 +02:00
export interface TenancyFeeMapping {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
tenancy: number
fee: number
}
2021-09-02 15:37:43 +02:00
export const NULL_TenancyFeeMapping: TenancyFeeMapping = {
id: 0
2021-09-09 18:00:24 +02:00
,tenancy: undefined
,fee: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00
export interface AccountEntry {
2021-08-30 19:00:27 +02:00
id: number
2021-08-02 17:03:24 +02:00
description: string
account: number
created_at: string
amount: number
}
2021-09-02 15:37:43 +02:00
export const NULL_AccountEntry: AccountEntry = {
id: 0
,description: ''
2021-09-09 18:00:24 +02:00
,account: undefined
2021-09-02 15:37:43 +02:00
,created_at: ''
2021-09-09 18:00:24 +02:00
,amount: undefined
2021-09-02 15:37:43 +02:00
}
2021-08-02 17:03:24 +02:00