You can buy this project and download/modify it how often you want.
insert into pim_individual (surname, name, patr_name, birth_dt, gender_id, nationality_id) values (:surname,:name, :patrName, :birthday, :genderId, :nationalityId); update pim_individual set surname = :surname, name = :name, patr_name = :patrName, birth_dt = :birthday, gender_id = :genderId, nationality_id = :nationalityId where id = :id; delete from pim_individual where id = :id; update pim_individual set vip = :vip where id = :id update pim_individual set has_citizenship = :hasCitizenship where id= :id update pim_individual set vip = NOT :vip where id = :id select 1