Table core.late_fee
This table stores information on late fees and other associated information.
# Column Name Nullable Data Type Max Length Description
1late_fee_idinteger0The primary key of this table, which is also a serial field.
2late_fee_codecharacter varying12Late fee code.
3late_fee_namecharacter varying50The name given to the late fee code, which is a unique field.
4is_flat_amountboolean0Select "Yes" if the late fee amount is fixed or vice-versa.
5ratenumeric1572868The rate on which late fee will be charged.
6audit_user_idinteger0Contains the id of the user who last inserted or updated the corresponding row.
7audit_tstimestamp with time zone0Contains the date and timestamp of the last insert or update action.

Foreign Keys

# Column Name Key Name References
6 audit_user_id late_fee_audit_user_id_fkey office.users.user_id

Indices

Index Name Owner Access Method Definition Description
late_fee_pkey postgres btree late_fee_id
late_fee_is_flat_amount_inx postgres btree is_flat_amount
late_fee_late_fee_name_uix postgres btree upper(late_fee_name::text)
late_fee_late_fee_code_uix postgres btree upper(late_fee_code::text)

Check Constraints

Constraint Name Description

Default Values

# Column Name Default
1 late_fee_id nextval('core.late_fee_late_fee_id_seq'::regclass)
4 is_flat_amount false
7 audit_ts now()

Triggers

Trigger Name Targets On Event Timing Condition Order Orientation Description