|
id
|
int(10) unsigned
|
|
|
|
|
company_id
|
int(10) unsigned
|
|
|
0
|
|
branch_id
|
int(10) unsigned
|
|
|
0
|
|
template_name
|
varchar(180)
|
|
|
|
|
template_code
|
varchar(80)
|
|
|
|
|
letter_type
|
varchar(100)
|
|
|
|
|
subject
|
varchar(255)
|
|
|
|
|
template_body
|
longtext
|
|
|
|
|
available_placeholders
|
text
|
|
|
|
|
approval_required
|
tinyint(1)
|
|
|
1
|
|
is_default
|
tinyint(1)
|
|
|
0
|
|
is_active
|
tinyint(1)
|
|
|
1
|
|
delete_status
|
tinyint(1)
|
|
|
0
|
|
created_by
|
int(10) unsigned
|
|
|
|
|
updated_by
|
int(10) unsigned
|
|
|
|
|
deleted_by
|
int(10) unsigned
|
|
|
|
|
created_at
|
datetime
|
|
|
current_timestamp()
|
|
updated_at
|
datetime
|
|
|
|
|
deleted_at
|
datetime
|
|
|
|