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

222 lines
4.1 KiB
TypeScript

// -----------------------------------------
// THIS FILE HAS BEEN GENERATED
// DO NOT EDIT MANUALLY
// -----------------------------------------
export interface Account {
id: number
description: string
}
export const NULL_Account: Account = {
id: 0
,description: ''
}
export interface Tenant {
id: number
salutation: string
firstname: string
lastname: string
address1: string
address2: string
address3: string
zip: string
city: string
phone1: string
phone2: string
iban: string
account: number
}
export const NULL_Tenant: Tenant = {
id: 0
,salutation: ''
,firstname: ''
,lastname: ''
,address1: ''
,address2: ''
,address3: ''
,zip: ''
,city: ''
,phone1: ''
,phone2: ''
,iban: ''
,account: undefined
}
export interface Premise {
id: number
description: string
street: string
zip: string
city: string
account: number
}
export const NULL_Premise: Premise = {
id: 0
,description: ''
,street: ''
,zip: ''
,city: ''
,account: undefined
}
export interface Flat {
id: number
description: string
premise: number
area: number
flat_no: number
}
export const NULL_Flat: Flat = {
id: 0
,description: ''
,premise: undefined
,area: undefined
,flat_no: undefined
}
export interface OverheadAdvance {
id: number
description: string
amount: number
startdate: string
enddate: string
}
export const NULL_OverheadAdvance: OverheadAdvance = {
id: 0
,description: ''
,amount: undefined
,startdate: ''
,enddate: ''
}
export interface OverheadAdvanceFlatMapping {
id: number
overhead_advance: number
flat: number
}
export const NULL_OverheadAdvanceFlatMapping: OverheadAdvanceFlatMapping = {
id: 0
,overhead_advance: undefined
,flat: undefined
}
export interface Parking {
id: number
description: string
premise: number
}
export const NULL_Parking: Parking = {
id: 0
,description: ''
,premise: undefined
}
export interface CommercialPremise {
id: number
description: string
premise: number
}
export const NULL_CommercialPremise: CommercialPremise = {
id: 0
,description: ''
,premise: undefined
}
export interface Tenancy {
id: number
description: string
tenant: number
flat: number
parking: number
commercial_premise: number
startdate: string
enddate: string
}
export const NULL_Tenancy: Tenancy = {
id: 0
,description: ''
,tenant: undefined
,flat: undefined
,parking: undefined
,commercial_premise: undefined
,startdate: ''
,enddate: ''
}
export interface Fee {
id: number
description: string
amount: number
fee_type: string
startdate: string
enddate: string
}
export const NULL_Fee: Fee = {
id: 0
,description: ''
,amount: undefined
,fee_type: ''
,startdate: ''
,enddate: ''
}
export interface TenancyFeeMapping {
id: number
tenancy: number
fee: number
}
export const NULL_TenancyFeeMapping: TenancyFeeMapping = {
id: 0
,tenancy: undefined
,fee: undefined
}
export interface AccountEntryCategory {
id: number
description: string
overhead_relevant: boolean
}
export const NULL_AccountEntryCategory: AccountEntryCategory = {
id: 0
,description: ''
,overhead_relevant: false
}
export interface AccountEntry {
id: number
description: string
account: number
created_at: string
amount: number
document_no: number
account_entry_category: number
}
export const NULL_AccountEntry: AccountEntry = {
id: 0
,description: ''
,account: undefined
,created_at: ''
,amount: undefined
,document_no: undefined
,account_entry_category: undefined
}
export interface Note {
id: number
created_at: string
tenant: number
note: string
}
export const NULL_Note: Note = {
id: 0
,created_at: ''
,tenant: undefined
,note: ''
}