ข้ามไปที่เนื้อหา

S4 — ระบบไกล่เกลี่ยข้อพิพาท (Mediation) — Data Dictionary

ทุกตาราง/ทุกคอลัมน์ (โครงสร้างจาก live DB). กลับ ภาพรวม · machine-readable: schema.json

cms_comment_certificate

Column Data Type Constraints Description
comment_certificate_id int PK, IDENTITY รหัสความเห็นใบรับรอง
mediation_id int รหัสการไกล่เกลี่ย
message varchar(max) ข้อความ
status_last varchar(30) สถานะล่าสุด
created_at datetime2 วันที่สร้าง
created_by int ผู้สร้าง
created_ip varchar(30) IP ที่สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by int ผู้แก้ไข
updated_ip varchar(50) IP ที่แก้ไข

cms_compensation_certification_payment

Column Data Type Constraints Description
id int PK, IDENTITY Primary Key
mediation_id int รหัสการไกล่เกลี่ย
skc_code nvarchar(255) ศกช
receive_no nvarchar(255) เลขที่รับ
jsj_code nvarchar(255) สยจ
receive_date date วันที่รับ
firstname nvarchar(255) ชื่อผู้ไกล่เกลี่ย
lastname nvarchar(255) นามสกุล
phone nvarchar(50) เบอร์โทรศัพท์
idcard nvarchar(20) เลขประจำตัวประชาชน
license_number nvarchar(50) ทะเบียนผู้ไกล่เกลี่ยเลขที่
reward_count int DEFAULT 0 จำนวน (เรื่อง)
reward_amount decimal(10,2) DEFAULT 0.00 จำนวนเงิน (บาท) ค่าตอบแทน
travel_amount decimal(10,2) DEFAULT 0.00 ค่าพาหนะเดินทาง (บาท)
hotel_amount decimal(10,2) DEFAULT 0.00 ค่าที่พัก (บาท)
total_amount decimal(10,2) DEFAULT 0.00 รวมเป็นเงินทั้งสิ้น (บาท)
total_amount_text nvarchar(500) รวมเป็นเงินทั้งสิ้น (ตัวอักษร)
bank_name nvarchar(255) ชื่อธนาคาร
bank_account_name nvarchar(255) ชื่อบัญชี
bank_type nvarchar(100) ประเภทบัญชี
bank_no nvarchar(50) เลขที่บัญชีธนาคาร
document_status tinyint DEFAULT 0 สถานะเอกสาร (0=draft, 1=submitted, 2=approved, 3=rejected)
created_at datetime DEFAULT getdate() วันที่สร้าง
created_by int ผู้สร้าง
updated_at datetime DEFAULT getdate() วันที่แก้ไข
updated_by int ผู้แก้ไข
created_ip nvarchar(50) IP ที่สร้าง
updated_ip nvarchar(50) IP ที่แก้ไข
status nvarchar(10) สถานะ
request_no nvarchar(50) เลขที่คำร้อง
recipient_signature varchar(max) ลายเซ็นผู้รับ
applicant_id_card varchar(13) เลขบัตรประชาชนผู้สมัคร

cms_compensation_file_type

Column Data Type Constraints Description
id int PK รหัสอ้างอิง
type_name nvarchar(255)
folder_name varchar(255)
is_enabled nvarchar(20)

cms_compensation_files

Column Data Type Constraints Description
comp_id int รหัสค่าตอบแทน
file_type_id int รหัสประเภทไฟล์
created_at datetime วันที่สร้าง
created_by varchar(255) ผู้สร้าง
updated_at datetime วันที่แก้ไข
updated_by nvarchar(255) ผู้แก้ไข
created_ip nvarchar(255) IP ที่สร้าง
id int IDENTITY, NOT NULL รหัสอ้างอิง
ext nvarchar(255) นามสกุลไฟล์
status int สถานะ
index_other nvarchar(255) ดัชนีอื่น
updated_ip nvarchar(20) IP ที่แก้ไข

cms_compensation_history

Column Data Type Constraints Description
seq int PK, IDENTITY ลำดับ
comp_id varchar(10) NOT NULL
status_id int รหัสสถานะ
is_approve nvarchar(20) สถานะอนุมัติ
comment nvarchar(500) ความเห็น
action_date datetime วันที่ดำเนินการ
action_from varchar(50) ดำเนินการจาก
comp_role_id int รหัสบทบาทค่าตอบแทน
created_by varchar(20) ผู้สร้าง
created_ip varchar(20) IP ที่สร้าง
created_at datetime วันที่สร้าง
updated_at datetime วันที่แก้ไข
updated_by nvarchar(20) ผู้แก้ไข
updated_ip nvarchar(20) IP ที่แก้ไข
rollback_to int ย้อนกลับไปยัง
last_action int การดำเนินการล่าสุด
action_by_admin varchar(20) ดำเนินการโดยผู้ดูแล

cms_compensation_main

Column Data Type Constraints Description
comp_id int PK, IDENTITY เลขที่คำร้อง
mediation_id int รหัสการไกล่เกลี่ย
total_amount decimal(10,3) ยอดเงินรวม
amount_per_person decimal(10,3) ยอดเงินต่อคน
paid_amount decimal(10,3) ยอดเงินที่จ่าย
latest_status int สถานะล่าสุด
created_date date วันที่สร้าง
created_by nvarchar(50) ผู้สร้าง
created_at datetime2 วันที่สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by nvarchar(20) ผู้แก้ไข
created_ip nvarchar(20) IP ที่สร้าง
updated_ip nvarchar(20) IP ที่แก้ไข
applicant_id_card nvarchar(13) เลขบัตรประชาชนผู้สมัคร
travel_amount decimal(10,3) ค่าพาหนะเดินทาง
accommodation_amount decimal(10,3) ค่าที่พัก
ref_number nvarchar(50) เลขที่อ้างอิง

cms_compensation_map_user

Column Data Type Constraints Description
seq int PK, IDENTITY ลำดับ
position_id int NOT NULL รหัสตำแหน่ง
user_id nvarchar(255) NOT NULL รหัสผู้ใช้
status int DEFAULT 0, NOT NULL สถานะ
created_by nvarchar(255)
created_at datetime2 วันที่สร้าง
updated_by nvarchar(255) ผู้แก้ไข
updated_at datetime2 วันที่แก้ไข
created_ip nvarchar(30) IP ที่สร้าง
updated_ip nvarchar(30) IP ที่แก้ไข

cms_compensation_payment_receipt

Column Data Type Constraints Description
receipt_id int PK, IDENTITY รหัสอ้างอิงใบสำคัญรับเงิน
mediation_id int NOT NULL รหัสผู้ไกล่เกลี่ย
recipient_name nvarchar(255) ชื่อผู้รับ
house_number nvarchar(100) บ้านเลขที่
village_no nvarchar(50) หมู่ที่
sub_district nvarchar(100) ตำบล/แขวง
district nvarchar(100) อำเภอ/เขต
province nvarchar(100) จังหวัด
reward_date nvarchar(50) วันที่รับค่าตอบแทน
reward_time nvarchar(50) เวลารับค่าตอบแทน
reward_location nvarchar(255) สถานที่รับค่าตอบแทน
reward_amount decimal(10,3) DEFAULT 0.00 ค่าตอบแทน
travel_date nvarchar(50)
travel_time nvarchar(50)
travel_location nvarchar(255)
travel_amount decimal(10,3) DEFAULT 0.00
travel_total_amount decimal(10,3) DEFAULT 0.00
total_amount decimal(10,3) DEFAULT 0.00
total_amount_text nvarchar(500)
recipient_signature nvarchar(max)
created_at datetime2 วันที่สร้าง
created_by int ผู้สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by int ผู้แก้ไข
created_ip nvarchar(20) IP ที่สร้าง
updated_ip nvarchar(20) IP ที่แก้ไข
status nvarchar(10) สถานะ
has_reward varchar(5) มีค่าตอบแทน
has_travel nvarchar(5) มีค่าเดินทาง
applicant_id_card nvarchar(13) เลขบัตรประชาชนผู้สมัคร

cms_compensation_requisition_form

Column Data Type Constraints Description
id int PK, IDENTITY Primary Key
mediation_id int รหัสการไกล่เกลี่ย
from_date date วันที่เริ่มต้น
from_address nvarchar(500) ที่อยู่ต้นทาง
from_moo nvarchar(50) หมู่ต้นทาง
from_province nvarchar(255) จังหวัดต้นทาง
from_amphur nvarchar(255) อำเภอต้นทาง
from_district nvarchar(255) ตำบลต้นทาง
to_address nvarchar(max) ที่อยู่ปลายทาง
amount decimal(10,2) DEFAULT 0.00 จำนวนเงิน
second_date date วันที่ครั้งที่ 2
second_from_address nvarchar(max) ที่อยู่ต้นทางครั้งที่ 2
second_to_address nvarchar(500) ที่อยู่ปลายทางครั้งที่ 2
second_to_moo nvarchar(50) หมู่ปลายทางครั้งที่ 2
second_to_province nvarchar(255) จังหวัดปลายทางครั้งที่ 2
second_to_amphur nvarchar(255) อำเภอปลายทางครั้งที่ 2
second_to_district nvarchar(255) ตำบลปลายทางครั้งที่ 2
second_amount decimal(10,2) DEFAULT 0.00 จำนวนเงินครั้งที่ 2
amount_total decimal(10,2) DEFAULT 0.00 จำนวนเงินรวม
amount_total_text nvarchar(500) จำนวนเงินรวม (ตัวอักษร)
recipient_signature nvarchar(max) ลายเซ็นผู้รับ
document_status tinyint DEFAULT 0 สถานะเอกสาร
created_at datetime DEFAULT getdate() วันที่สร้าง
created_by int ผู้สร้าง
updated_at datetime DEFAULT getdate() วันที่แก้ไข
updated_by int ผู้แก้ไข
created_ip nvarchar(20) IP ที่สร้าง
updated_ip nvarchar(20) IP ที่แก้ไข
prefix_name nvarchar(100) คำนำหน้าชื่อ
firstname nvarchar(100) ชื่อ
lastname nvarchar(100) นามสกุล
status nvarchar(10) สถานะ
applicant_id_card nvarchar(13) เลขบัตรประชาชนผู้สมัคร

cms_compensation_role

Column Data Type Constraints Description
id int PK รหัสอ้างอิง
position_name nvarchar(255) NOT NULL
position_group int NOT NULL กลุ่มตำแหน่ง
status int DEFAULT 0, NOT NULL สถานะ
created_by nvarchar(255) ผู้สร้าง
created_at datetime2 วันที่สร้าง
updated_by nvarchar(1) ผู้แก้ไข
updatedat datetime2 updatedat
created_ip nvarchar(1) IP ที่สร้าง
updated_ip nvarchar(1) IP ที่แก้ไข

cms_compensation_status

Column Data Type Constraints Description
id int NOT NULL รหัสอ้างอิง
name_en nvarchar(100) ชื่อ (ภาษาอังกฤษ)
name_th nvarchar(100) ชื่อ (ภาษาไทย)
mediator_show nvarchar(100) แสดงผู้ไกล่เกลี่ย

cms_complaint

Column Data Type Constraints Description
complaint_id int PK, IDENTITY รหัสเรื่องร้องเรียน
code varchar(100) DEFAULT NULL
firstname varchar(100) DEFAULT NULL
lastname varchar(100) DEFAULT NULL
idcard varchar(13) DEFAULT NULL
phone varchar(100) DEFAULT NULL
email varchar(100) DEFAULT NULL
title varchar(200) DEFAULT NULL
detail varchar(max)
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
institute_mediation_id int รหัสสถาบันไกล่เกลี่ย
subject int เรื่อง

cms_geo_amphur

Column Data Type Constraints Description
amphur_id int PK, IDENTITY รหัสอำเภอ
name varchar(150) NOT NULL
name_en varchar(150) NOT NULL
geo_id int DEFAULT '0', NOT NULL รหัสภูมิศาสตร์
province_id int DEFAULT '0', NOT NULL รหัสจังหวัด

cms_geo_district

Column Data Type Constraints Description
district_id int PK รหัสตำบล
name nvarchar(150) NOT NULL
name_en nvarchar(150) NOT NULL
amphur_id int NOT NULL รหัสอำเภอ
province_id int NOT NULL รหัสจังหวัด
geo_id int NOT NULL รหัสภูมิศาสตร์
people_center_code varchar(20) people center code
people_center_text varchar(20) ข้อความ people center

cms_geo_province

Column Data Type Constraints Description
province_id int PK, IDENTITY รหัสจังหวัด
name varchar(150) NOT NULL
name_en varchar(150) NOT NULL
geo_id int DEFAULT '0', NOT NULL รหัสภูมิศาสตร์
status smallint NOT NULL สถานะ
highlight smallint NOT NULL สถานะไฮไลท์
orderid int NOT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 NOT NULL วันที่แก้ไข
updated_by int NOT NULL ผู้แก้ไข
updated_ip varchar(30) NOT NULL IP ที่แก้ไข
province_short varchar(10) province short

cms_geo_zipcode

Column Data Type Constraints Description
zipcode_id int PK รหัส zipcode
province_id int NOT NULL รหัสจังหวัด
amphur_id int NOT NULL รหัสอำเภอ
district_id int NOT NULL รหัสตำบล
zipcode nvarchar(5) NOT NULL รหัสไปรษณีย์

cms_institute_category

Column Data Type Constraints Description
institute_category_id int PK, IDENTITY รหัส institute category
title varchar(100) DEFAULT NULL
detail varchar(max)
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_institute_mediation

Column Data Type Constraints Description
institute_mediation_id int PK, IDENTITY รหัสสถาบันไกล่เกลี่ย
institute_category_id int DEFAULT NULL รหัส institute category
people_center_id int DEFAULT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(1000) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
address varchar(max) ที่อยู่
province_id int NOT NULL รหัสจังหวัด
amphur_id int NOT NULL รหัสอำเภอ
district_id int NOT NULL รหัสตำบล
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
zipcode int รหัสไปรษณีย์
lat varchar(255) lat
lon varchar(255) lon
no varchar(200) no
moo varchar(200) หมู่
village varchar(200) village
soi varchar(200) ซอย
road varchar(200) ถนน
fax varchar(100) fax

cms_master_assessment

Column Data Type Constraints Description
master_assessment_id int PK, IDENTITY รหัสแบบประเมิน
master_assessment_score_id int NOT NULL รหัส master assessment score
no varchar(100) DEFAULT NULL no
title varchar(max) หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_assessment_category

Column Data Type Constraints Description
master_assessment_category_id int PK, IDENTITY รหัสหมวดแบบประเมิน
title varchar(100) DEFAULT NULL
detail varchar(max)
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
master_assessment_header_id int รหัส master assessment header

cms_master_assessment_header

Column Data Type Constraints Description
master_assessment_header_id int PK รหัส master assessment header
title varchar(100)
status smallint สถานะ
created_at datetime2 วันที่สร้าง
created_by int ผู้สร้าง
created_ip varchar(30) IP ที่สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by int ผู้แก้ไข
updated_ip varchar(50) IP ที่แก้ไข

cms_master_assessment_item

Column Data Type Constraints Description
master_assessment_item_id int PK, IDENTITY รหัส master assessment item
master_assessment_id int DEFAULT NULL รหัสแบบประเมิน
title varchar(255) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
criteria varchar(100) DEFAULT NULL criteria
score int DEFAULT NULL คะแนน
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_assessment_score

Column Data Type Constraints Description
master_assessment_score_id int PK, IDENTITY รหัส master assessment score
master_assessment_category_id int DEFAULT NULL รหัสหมวดแบบประเมิน
score int DEFAULT NULL คะแนน
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_center_position

Column Data Type Constraints Description
master_center_position_id int PK, IDENTITY รหัส master center position
title varchar(100) DEFAULT NULL
detail varchar(max)
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_civil_dispute

Column Data Type Constraints Description
master_civil_dispute_id int IDENTITY, NOT NULL รหัส master civil dispute
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) DEFAULT NULL รายละเอียด
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_document_type

Column Data Type Constraints Description
master_document_type_id int PK, IDENTITY รหัส master document type
title varchar(100) DEFAULT NULL
detail varchar(max)
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_editinfo

Column Data Type Constraints Description
master_editinfo_id int PK, IDENTITY รหัส master editinfo
title varchar(100) DEFAULT NULL
detail varchar(max) DEFAULT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_expertise

Column Data Type Constraints Description
master_expertise_id int PK, IDENTITY รหัส master expertise
title varchar(100) DEFAULT NULL
detail varchar(max) DEFAULT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_performance

Column Data Type Constraints Description
master_performance_id int PK, IDENTITY รหัส master performance
title varchar(100) DEFAULT NULL
detail varchar(max)
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_master_timeframe

Column Data Type Constraints Description
master_timeframe_id int PK, IDENTITY รหัส master timeframe
title varchar(100) DEFAULT NULL
days int DEFAULT NULL days
detail varchar(max) DEFAULT NULL รายละเอียด
status smallint DEFAULT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediation

Column Data Type Constraints Description
mediation_id int PK, IDENTITY รหัสการไกล่เกลี่ย
institute_mediation_id int DEFAULT NULL รหัสสถาบันไกล่เกลี่ย
code varchar(100) DEFAULT NULL รหัส
firstname varchar(100) DEFAULT NULL ชื่อ
lastname varchar(100) DEFAULT NULL นามสกุล
idcard varchar(20) DEFAULT NULL เลขบัตรประชาชน
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
email varchar(100) DEFAULT NULL อีเมล
gender smallint DEFAULT NULL เพศ
litigant_idcard varchar(20) DEFAULT NULL litigant idcard
litigant_firstname varchar(100) DEFAULT NULL litigant firstname
litigant_lastname varchar(100) DEFAULT NULL litigant lastname
litigant_phone varchar(100) DEFAULT NULL litigant phone
contact_idcard varchar(13) DEFAULT NULL contact idcard
contact_firstname varchar(100) DEFAULT NULL contact firstname
contact_lastname varchar(100) DEFAULT NULL contact lastname
contact_phone varchar(100) DEFAULT NULL contact phone
contact_relation varchar(100) DEFAULT NULL contact relation
title varchar(200) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
place varchar(200) DEFAULT NULL place
appoint_request smallint DEFAULT NULL appoint request
accept_date datetime2 DEFAULT NULL วันที่ accept
accept_detail varchar(max) accept detail
voluntary_date datetime2 DEFAULT NULL วันที่ voluntary
voluntary_status int DEFAULT NULL สถานะ voluntary
appoint_date datetime2 DEFAULT NULL วันที่ appoint
appoint_status int DEFAULT NULL สถานะ appoint
mediator_accept_status int DEFAULT NULL สถานะ mediator accept
mediator_accept_date datetime2 DEFAULT NULL วันที่ mediator accept
mediation_final_status int DEFAULT NULL สถานะ mediation final
mediation_final_detail varchar(max) mediation final detail
mediation_final_date datetime2 DEFAULT NULL วันที่ mediation final
mediator_applicant_item_id int DEFAULT NULL รหัส mediator applicant item
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
civil_dispute smallint DEFAULT NULL civil dispute
criminal_dispute smallint DEFAULT NULL criminal dispute
criminal_dispute_compromise text DEFAULT NULL criminal dispute compromise
criminal_dispute_section text DEFAULT NULL criminal dispute section
criminal_dispute_misdemeanor text DEFAULT NULL criminal dispute misdemeanor
criminal_dispute_notall text DEFAULT NULL criminal dispute notall
criminal_dispute_other text DEFAULT NULL criminal dispute other
address varchar(255) ที่อยู่
district_id int รหัสตำบล
amphur_id int รหัสอำเภอ
province_id int รหัสจังหวัด
zipcode int รหัสไปรษณีย์
litigant_address varchar(255) litigant address
litigant_district_id int รหัส litigant district
litigant_amphur_id int รหัส litigant amphur
litigant_province_id int รหัส litigant province
litigant_zipcode int litigant zipcode
litigant_gender int litigant gender
other_expenses varchar(250) other expenses
rate int rate
rate_detail text rate detail
litigant_count int จำนวน litigant
litigant_detail text litigant detail
channel int channel
file_document_ext varchar(10) file document ext
other_expenses_amount varchar(255) จำนวนเงิน other expenses
assign_id int รหัส assign
case_type int case type
prefix_name varchar(255) คำนำหน้าชื่อ
litigant_prefix_name varchar(255) ชื่อ litigant prefix
contact_prefix_name varchar(255) ชื่อ contact prefix
secret int secret
master_civil_dispute_id int รหัส master civil dispute
is_delete int สถานะการลบ
litigant_name varchar(255) ชื่อ litigant
litigant_registered_number varchar(13) litigant registered number
mediation_data_consent int mediation data consent
doc_online_id varchar(50) รหัส doc online
litigant_type int litigant type
detail_topic int detail topic
phone_secondary varchar(100) phone secondary
accept_detail_registrar varchar(max) accept detail registrar
civil_dispute_type int civil dispute type
certificate varbinary(max) certificate
status_mediation_certificate int status mediation certificate
mediation_date_certificate date mediation date certificate
date_record_agreement_certificate date date record agreement certificate
date_issue_certificate date date issue certificate
edition_number_certificate varchar(50) edition number certificate
comment_certificate_1 varchar(255) comment certificate 1
comment_certificate_2 varchar(255) comment certificate 2
comment_certificate_3 varchar(255) comment certificate 3
comment_certificate_4 varchar(255) comment certificate 4
comment_certificate_1_by int comment certificate 1 by
comment_certificate_2_by int comment certificate 2 by
comment_certificate_3_by int comment certificate 3 by
comment_certificate_4_by int comment certificate 4 by
comment_certificate_5 varchar(255) comment certificate 5
comment_certificate_5_by int comment certificate 5 by
status_compensation int status compensation
money int money
evidence varbinary(max) evidence
doc_money varbinary(max) doc money
isForeign varchar(10) isforeign
isLitigantForeign varchar(10) islitigantforeign
isOnline int isonline
eservice varchar(10) eservice

cms_mediation_booking

Column Data Type Constraints Description
mediation_booking_id int PK, IDENTITY รหัส mediation booking
mediation_id int DEFAULT NULL รหัสการไกล่เกลี่ย
no int DEFAULT NULL no
booking_date datetime2 DEFAULT NULL วันที่ booking
email varchar(max) อีเมล
detail varchar(max) รายละเอียด
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
mediation_booking_meeting_id varchar(100) รหัส mediation booking meeting

cms_mediation_booking_mediator

Column Data Type Constraints Description
mediation_booking_mediator_id int PK, IDENTITY รหัส mediation booking mediator
mediation_booking_id int DEFAULT NULL รหัส mediation booking
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediation_booking_online

Column Data Type Constraints Description
mediation_booking_online_id int IDENTITY, NOT NULL รหัส mediation booking online
mediation_booking_online_code varchar(100) mediation booking online code
mediation_id int รหัสการไกล่เกลี่ย
mediation_code varchar(100) mediation code
status smallint สถานะ
username varchar(150) ชื่อผู้ใช้
firstname varchar(50) ชื่อ
lastname varchar(50) นามสกุล
created_at datetime2 วันที่สร้าง
created_by int ผู้สร้าง
created_ip varchar(30) IP ที่สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by int ผู้แก้ไข
updated_ip varchar(30) IP ที่แก้ไข

cms_mediation_books

Column Data Type Constraints Description
mediation_books_id int PK, IDENTITY รหัส mediation books
mediation_id int DEFAULT NULL รหัสการไกล่เกลี่ย
code varchar(100) DEFAULT NULL รหัส
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) DEFAULT NULL รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediation_compensation

Column Data Type Constraints Description
mediation_compensation_id int PK, IDENTITY รหัส mediation compensation
mediation_id int DEFAULT NULL รหัสการไกล่เกลี่ย
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
price int DEFAULT NULL price
detail varchar(max) รายละเอียด
status int NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediation_compensation_rate

Column Data Type Constraints Description
mediation_compensation_rate_id int PK, IDENTITY รหัส mediation compensation rate
mediation_id int NOT NULL รหัสการไกล่เกลี่ย
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
rate_place int DEFAULT NULL rate place
rate_content int DEFAULT NULL rate content
rate_service int DEFAULT NULL rate service
detail varchar(max) DEFAULT NULL รายละเอียด
status smallint DEFAULT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediation_copy1

Column Data Type Constraints Description
mediation_id int PK, IDENTITY รหัสการไกล่เกลี่ย
institute_mediation_id int DEFAULT NULL รหัสสถาบันไกล่เกลี่ย
code varchar(100) DEFAULT NULL รหัส
firstname varchar(100) DEFAULT NULL ชื่อ
lastname varchar(100) DEFAULT NULL นามสกุล
idcard varchar(20) DEFAULT NULL เลขบัตรประชาชน
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
email varchar(100) DEFAULT NULL อีเมล
gender smallint DEFAULT NULL เพศ
litigant_idcard varchar(20) DEFAULT NULL litigant idcard
litigant_firstname varchar(100) DEFAULT NULL litigant firstname
litigant_lastname varchar(100) DEFAULT NULL litigant lastname
litigant_phone varchar(100) DEFAULT NULL litigant phone
contact_idcard varchar(13) DEFAULT NULL contact idcard
contact_firstname varchar(100) DEFAULT NULL contact firstname
contact_lastname varchar(100) DEFAULT NULL contact lastname
contact_phone varchar(100) DEFAULT NULL contact phone
contact_relation varchar(100) DEFAULT NULL contact relation
title varchar(200) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
place varchar(200) DEFAULT NULL place
appoint_request smallint DEFAULT NULL appoint request
accept_date datetime2 DEFAULT NULL วันที่ accept
accept_detail varchar(max) accept detail
voluntary_date datetime2 DEFAULT NULL วันที่ voluntary
voluntary_status int DEFAULT NULL สถานะ voluntary
appoint_date datetime2 DEFAULT NULL วันที่ appoint
appoint_status int DEFAULT NULL สถานะ appoint
mediator_accept_status int DEFAULT NULL สถานะ mediator accept
mediator_accept_date datetime2 DEFAULT NULL วันที่ mediator accept
mediation_final_status int DEFAULT NULL สถานะ mediation final
mediation_final_detail varchar(max) mediation final detail
mediation_final_date datetime2 DEFAULT NULL วันที่ mediation final
mediator_applicant_item_id int DEFAULT NULL รหัส mediator applicant item
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
civil_dispute smallint DEFAULT NULL civil dispute
criminal_dispute smallint DEFAULT NULL criminal dispute
criminal_dispute_compromise text DEFAULT NULL criminal dispute compromise
criminal_dispute_section text DEFAULT NULL criminal dispute section
criminal_dispute_misdemeanor text DEFAULT NULL criminal dispute misdemeanor
criminal_dispute_notall text DEFAULT NULL criminal dispute notall
criminal_dispute_other text DEFAULT NULL criminal dispute other
address varchar(255) ที่อยู่
district_id int รหัสตำบล
amphur_id int รหัสอำเภอ
province_id int รหัสจังหวัด
zipcode int รหัสไปรษณีย์
litigant_address varchar(255) litigant address
litigant_district_id int รหัส litigant district
litigant_amphur_id int รหัส litigant amphur
litigant_province_id int รหัส litigant province
litigant_zipcode int litigant zipcode
litigant_gender int litigant gender
other_expenses varchar(250) other expenses
rate int rate
rate_detail text rate detail
litigant_count int จำนวน litigant
litigant_detail text litigant detail
channel int channel
file_document_ext varchar(10) file document ext
other_expenses_amount varchar(255) จำนวนเงิน other expenses
assign_id int รหัส assign
case_type int case type
prefix_name varchar(255) คำนำหน้าชื่อ
litigant_prefix_name varchar(255) ชื่อ litigant prefix
contact_prefix_name varchar(255) ชื่อ contact prefix
secret int secret
master_civil_dispute_id int รหัส master civil dispute
is_delete int สถานะการลบ
litigant_name varchar(255) ชื่อ litigant
litigant_registered_number varchar(13) litigant registered number
mediation_data_consent int mediation data consent
doc_online_id varchar(50) รหัส doc online
litigant_type int litigant type
detail_topic int detail topic
phone_secondary varchar(100) phone secondary
accept_detail_registrar varchar(max) accept detail registrar
civil_dispute_type int civil dispute type
certificate varbinary(max) certificate
status_mediation_certificate int status mediation certificate
mediation_date_certificate date mediation date certificate
date_record_agreement_certificate date date record agreement certificate
date_issue_certificate date date issue certificate
edition_number_certificate varchar(50) edition number certificate
comment_certificate_1 varchar(255) comment certificate 1
comment_certificate_2 varchar(255) comment certificate 2
comment_certificate_3 varchar(255) comment certificate 3
comment_certificate_4 varchar(255) comment certificate 4
comment_certificate_1_by int comment certificate 1 by
comment_certificate_2_by int comment certificate 2 by
comment_certificate_3_by int comment certificate 3 by
comment_certificate_4_by int comment certificate 4 by
comment_certificate_5 varchar(255) comment certificate 5
comment_certificate_5_by int comment certificate 5 by
status_compensation int status compensation
money int money
evidence varbinary(max) evidence
doc_money varbinary(max) doc money
isForeign varchar(10) isforeign
isLitigantForeign varchar(10) islitigantforeign
isOnline int isonline
eservice varchar(10) eservice

cms_mediation_docs

Column Data Type Constraints Description
mediation_docs_id int PK, IDENTITY รหัส mediation docs
mediation_id int DEFAULT NULL รหัสการไกล่เกลี่ย
code varchar(100) DEFAULT NULL รหัส
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) DEFAULT NULL รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediation_mediator

Column Data Type Constraints Description
mediation_mediator_id int PK, IDENTITY รหัส mediation mediator
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
mediation_id int DEFAULT NULL รหัสการไกล่เกลี่ย
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
amount int จำนวนเงิน
status_receiving_money int status receiving money

cms_mediation_pdf

Column Data Type Constraints Description
mediation_pdf_id int IDENTITY, NOT NULL รหัส mediation pdf
mediation_id int DEFAULT NULL รหัสการไกล่เกลี่ย
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
pdf_ext varchar(10) DEFAULT NULL pdf ext

cms_mediation_witness

Column Data Type Constraints Description
mediation_witness_id int PK, IDENTITY รหัส mediation witness
idcard varchar(50)
phone varchar(20)
prefix_name varchar(10)
firstname varchar(100) NOT NULL
lastname varchar(100) NOT NULL
type_witness varchar(50)
mediation_id int รหัสการไกล่เกลี่ย
status smallint NOT NULL สถานะ
created_at datetime2 DEFAULT getdate(), NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(45) NOT NULL IP ที่สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by int ผู้แก้ไข
updated_ip varchar(45) IP ที่แก้ไข

cms_mediator_applicant

Column Data Type Constraints Description
mediator_applicant_id int PK, IDENTITY รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
code varchar(100) DEFAULT NULL
prefix_name varchar(30) DEFAULT NULL
firstname varchar(100) DEFAULT NULL
lastname varchar(100) DEFAULT NULL
birthdate date DEFAULT NULL วันเกิด
nationality varchar(100) DEFAULT NULL สัญชาติ
idcard varchar(13) DEFAULT NULL เลขบัตรประชาชน
idcard_issue varchar(100) DEFAULT NULL idcard issue
idcard_start date DEFAULT NULL idcard start
idcard_end date DEFAULT NULL idcard end
government_no varchar(100) DEFAULT NULL เลขที่ government
government_issue varchar(100) DEFAULT NULL government issue
government_start date DEFAULT NULL government start
government_end date DEFAULT NULL government end
address varchar(250) DEFAULT NULL ที่อยู่
address_moo varchar(100) DEFAULT NULL address moo
address_road varchar(100) DEFAULT NULL address road
province_id int DEFAULT NULL รหัสจังหวัด
amphur_id int DEFAULT NULL รหัสอำเภอ
district_id int DEFAULT NULL รหัสตำบล
zipcode int DEFAULT NULL รหัสไปรษณีย์
current_address varchar(100) DEFAULT NULL current address
current_address_moo varchar(100) DEFAULT NULL current address moo
current_address_road varchar(100) DEFAULT NULL current address road
current_province_id int DEFAULT NULL รหัส current province
current_amphur_id int DEFAULT NULL รหัส current amphur
current_district_id int DEFAULT NULL รหัส current district
current_zipcode int DEFAULT NULL current zipcode
mobile varchar(100) DEFAULT NULL mobile
fax varchar(100) DEFAULT NULL fax
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
email varchar(100) DEFAULT NULL อีเมล
institute_mediation_id int DEFAULT NULL รหัสสถาบันไกล่เกลี่ย
training_topic_id int DEFAULT NULL รหัสหัวข้อการอบรม
training_name varchar(200) DEFAULT NULL ชื่อ training
training_issue varchar(200) DEFAULT NULL training issue
training_no varchar(200) DEFAULT NULL เลขที่ training
training_date date DEFAULT NULL วันที่อบรม
approve int DEFAULT NULL approve
approve_detail varchar(max) approve detail
channel smallint DEFAULT NULL channel
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
expertise nvarchar(4000) expertise
cover_ext varchar(10) cover ext
idcard_ext varchar(10) idcard ext
education_ext varchar(10) education ext
homebook_ext varchar(10) homebook ext
training_ext varchar(10) training ext
experience_ext varchar(10) experience ext
password varchar(100) รหัสผ่าน
two_factor varchar(100) two factor
last_login_date datetime2 วันที่ last login
last_login_ip varchar(100) last login ip
expertises varchar(255) expertises
expertises_level varchar(255) expertises level
master_expertise1 int master expertise1
master_expertise2 int master expertise2
master_expertise3 int master expertise3
master_expertise_ids varchar(1000) master expertise ids
status_text varchar(255) ข้อความ status
training_status varchar(255) สถานะ training
training_code varchar(255) training code
training_year varchar(255) training year
line_id varchar(255) รหัส line
social_position text social position
experience text experience
gender int เพศ
link_url text link url
link_download int link download
is_mediator_devote_time int เวลา is mediator devote
is_mediator_not_immoral int สถานะ mediator not immoral
is_mediator_not_disgrace int สถานะ mediator not disgrace
is_mediator_not_bankruptcy int สถานะ mediator not bankruptcy
is_mediator_not_incompetent int สถานะ mediator not incompetent
is_mediator_not_prison int สถานะ mediator not prison
is_mediator_not_revoked int สถานะ mediator not revoked
is_mediator_request int สถานะ mediator request
is_mediator_cardfirst int สถานะ mediator cardfirst
is_mediator_not_bookfirst int สถานะ mediator not bookfirst
criminal_ext varchar(10) criminal ext
firstname_eng varchar(100) firstname eng
lastname_eng varchar(100) lastname eng
idcard_lifetime int idcard lifetime
prefix_name_eng varchar(30) prefix name eng
mediator_applicant_data_consent int mediator applicant data consent
conduct_ext varchar(100) conduct ext
bankruptcy_ext varchar(100) bankruptcy ext
isOnline int isonline
esignature varchar(max) esignature
ktbcorp_ext varchar(10) ktbcorp ext
bookbank_ext varchar(10) bookbank ext
document_status int สถานะเอกสาร

cms_mediator_applicant_copy1

Column Data Type Constraints Description
mediator_applicant_id int PK, IDENTITY รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
code varchar(100) DEFAULT NULL
prefix_name varchar(30) DEFAULT NULL
firstname varchar(100) DEFAULT NULL
lastname varchar(100) DEFAULT NULL
birthdate date DEFAULT NULL วันเกิด
nationality varchar(100) DEFAULT NULL สัญชาติ
idcard varchar(13) DEFAULT NULL เลขบัตรประชาชน
idcard_issue varchar(100) DEFAULT NULL idcard issue
idcard_start date DEFAULT NULL idcard start
idcard_end date DEFAULT NULL idcard end
government_no varchar(100) DEFAULT NULL เลขที่ government
government_issue varchar(100) DEFAULT NULL government issue
government_start date DEFAULT NULL government start
government_end date DEFAULT NULL government end
address varchar(250) DEFAULT NULL ที่อยู่
address_moo varchar(100) DEFAULT NULL address moo
address_road varchar(100) DEFAULT NULL address road
province_id int DEFAULT NULL รหัสจังหวัด
amphur_id int DEFAULT NULL รหัสอำเภอ
district_id int DEFAULT NULL รหัสตำบล
zipcode int DEFAULT NULL รหัสไปรษณีย์
current_address varchar(100) DEFAULT NULL current address
current_address_moo varchar(100) DEFAULT NULL current address moo
current_address_road varchar(100) DEFAULT NULL current address road
current_province_id int DEFAULT NULL รหัส current province
current_amphur_id int DEFAULT NULL รหัส current amphur
current_district_id int DEFAULT NULL รหัส current district
current_zipcode int DEFAULT NULL current zipcode
mobile varchar(100) DEFAULT NULL mobile
fax varchar(100) DEFAULT NULL fax
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
email varchar(100) DEFAULT NULL อีเมล
institute_mediation_id int DEFAULT NULL รหัสสถาบันไกล่เกลี่ย
training_topic_id int DEFAULT NULL รหัสหัวข้อการอบรม
training_name varchar(200) DEFAULT NULL ชื่อ training
training_issue varchar(200) DEFAULT NULL training issue
training_no varchar(200) DEFAULT NULL เลขที่ training
training_date date DEFAULT NULL วันที่อบรม
approve int DEFAULT NULL approve
approve_detail varchar(max) approve detail
channel smallint DEFAULT NULL channel
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
expertise nvarchar(4000) expertise
cover_ext varchar(10) cover ext
idcard_ext varchar(10) idcard ext
education_ext varchar(10) education ext
homebook_ext varchar(10) homebook ext
training_ext varchar(10) training ext
experience_ext varchar(10) experience ext
password varchar(100) รหัสผ่าน
two_factor varchar(100) two factor
last_login_date datetime2 วันที่ last login
last_login_ip varchar(100) last login ip
expertises varchar(255) expertises
expertises_level varchar(255) expertises level
master_expertise1 int master expertise1
master_expertise2 int master expertise2
master_expertise3 int master expertise3
master_expertise_ids varchar(1000) master expertise ids
status_text varchar(255) ข้อความ status
training_status varchar(255) สถานะ training
training_code varchar(255) training code
training_year varchar(255) training year
line_id varchar(255) รหัส line
social_position text social position
experience text experience
gender int เพศ
link_url text link url
link_download int link download
is_mediator_devote_time int เวลา is mediator devote
is_mediator_not_immoral int สถานะ mediator not immoral
is_mediator_not_disgrace int สถานะ mediator not disgrace
is_mediator_not_bankruptcy int สถานะ mediator not bankruptcy
is_mediator_not_incompetent int สถานะ mediator not incompetent
is_mediator_not_prison int สถานะ mediator not prison
is_mediator_not_revoked int สถานะ mediator not revoked
is_mediator_request int สถานะ mediator request
is_mediator_cardfirst int สถานะ mediator cardfirst
is_mediator_not_bookfirst int สถานะ mediator not bookfirst
criminal_ext varchar(10) criminal ext
firstname_eng varchar(100) firstname eng
lastname_eng varchar(100) lastname eng
idcard_lifetime int idcard lifetime
prefix_name_eng varchar(30) prefix name eng
mediator_applicant_data_consent int mediator applicant data consent
conduct_ext varchar(100) conduct ext
bankruptcy_ext varchar(100) bankruptcy ext
isOnline int isonline
esignature varchar(max) esignature
ktbcorp_ext varchar(10) ktbcorp ext
bookbank_ext varchar(10) bookbank ext
document_status int สถานะเอกสาร

cms_mediator_applicant_item

Column Data Type Constraints Description
mediator_applicant_item_id int PK, IDENTITY รหัส mediator applicant item
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
province_id int DEFAULT NULL รหัสจังหวัด
institute_category_id int DEFAULT NULL รหัส institute category
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
amphur_id int รหัสอำเภอ

cms_mediator_appointment

Column Data Type Constraints Description
mediator_appointment_id int PK, IDENTITY รหัส mediator appointment
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
mediator_registra_id int DEFAULT NULL รหัส mediator registra
firstname varchar(100) DEFAULT NULL ชื่อ
lastname varchar(100) DEFAULT NULL นามสกุล
idcard varchar(13) DEFAULT NULL เลขบัตรประชาชน
registra_no1 varchar(100) DEFAULT NULL registra no1
registra_no2 varchar(100) DEFAULT NULL registra no2
registra_type smallint DEFAULT NULL registra type
startdate date DEFAULT NULL startdate
enddate date DEFAULT NULL enddate
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
prefix_name varchar(30) คำนำหน้าชื่อ

cms_mediator_cert

Column Data Type Constraints Description
mediator_cert_id int PK, IDENTITY รหัส mediator cert
institute_category_id int DEFAULT NULL รหัส institute category
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
firstname varchar(100) DEFAULT NULL ชื่อ
lastname varchar(100) DEFAULT NULL นามสกุล
idcard varchar(13) DEFAULT NULL เลขบัตรประชาชน
registra_no1 varchar(100) DEFAULT NULL registra no1
registra_no2 varchar(100) DEFAULT NULL registra no2
registra_time varchar(100) DEFAULT NULL เวลา registra
registra_name varchar(100) DEFAULT NULL ชื่อ registra
startdate date DEFAULT NULL startdate
enddate date DEFAULT NULL enddate
signature varchar(10) DEFAULT NULL signature
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
signature_position varchar(100) signature position
prefix_name varchar(30) คำนำหน้าชื่อ

cms_mediator_ending

Column Data Type Constraints Description
mediator_ending_id int PK, IDENTITY รหัส mediator ending
title varchar(250) DEFAULT NULL
detail varchar(max) DEFAULT NULL
doc_ext varchar(10) DEFAULT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediator_ending_item

Column Data Type Constraints Description
mediator_ending_item_id int PK, IDENTITY รหัส mediator ending item
mediator_ending_id int DEFAULT NULL รหัส mediator ending
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediator_portfolio

Column Data Type Constraints Description
mediator_portfolio_id int PK, IDENTITY รหัส mediator portfolio
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) DEFAULT NULL รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_mediator_registra

Column Data Type Constraints Description
mediator_registra_id int PK, IDENTITY รหัส mediator registra
institute_category_id int DEFAULT NULL รหัส institute category
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
signature varchar(10) DEFAULT NULL signature
signature_name varchar(100) DEFAULT NULL ชื่อ signature
signature_position varchar(100) DEFAULT NULL signature position
file_document_ext varchar(10) DEFAULT NULL file document ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
registra_type smallint registra type

cms_mediator_request_edit

Column Data Type Constraints Description
mediator_request_edit_id int PK, IDENTITY รหัส mediator request edit
mediator_applicant_id int DEFAULT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) DEFAULT NULL รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
master_editinfo_id int รหัส master editinfo

cms_member

Column Data Type Constraints Description
member_id int PK, IDENTITY รหัส member
member_title_th varchar(250) DEFAULT NULL
member_firstname_th varchar(250) DEFAULT NULL
member_lastname_th varchar(250) DEFAULT NULL
member_cover_th varchar(50) DEFAULT NULL
member_pageview int DEFAULT NULL member pageview
member_status varchar(50) DEFAULT 'enable' สถานะ member
member_highlight int DEFAULT NULL member highlight
member_orderid int DEFAULT NULL member orderid
member_createby int DEFAULT NULL member createby
member_updateby int DEFAULT NULL member updateby
member_createdate datetime DEFAULT NULL member createdate
member_updatedate datetime DEFAULT NULL member updatedate
member_createip varchar(30) DEFAULT NULL member createip
member_updateip varchar(30) DEFAULT NULL member updateip
member_createagent text member createagent
member_updateagent text member updateagent
member_email varchar(250) DEFAULT NULL member email
member_password varchar(250) DEFAULT NULL member password
member_phone varchar(250) DEFAULT NULL member phone
member_shipping_firstname varchar(250) DEFAULT NULL member shipping firstname
member_shipping_lastname varchar(250) DEFAULT NULL member shipping lastname
member_shipping_phone varchar(250) DEFAULT NULL member shipping phone
member_shipping_company varchar(250) DEFAULT NULL member shipping company
member_shipping_address text member shipping address
member_shipping_district int NOT NULL member shipping district
member_shipping_amphure int NOT NULL member shipping amphure
member_shipping_province int DEFAULT NULL member shipping province
member_shipping_zipcode int DEFAULT NULL member shipping zipcode
member_shipping_message text member shipping message
member_category_id int DEFAULT NULL รหัส member category
member_billing_firstname varchar(250) DEFAULT NULL member billing firstname
member_billing_lastname varchar(250) DEFAULT NULL member billing lastname
member_billing_phone varchar(250) DEFAULT NULL member billing phone
member_billing_company varchar(250) DEFAULT NULL member billing company
member_billing_address text member billing address
member_billing_amphure int NOT NULL member billing amphure
member_billing_district int NOT NULL member billing district
member_billing_province int DEFAULT NULL member billing province
member_billing_zipcode int DEFAULT NULL member billing zipcode
member_subscribe int DEFAULT NULL member subscribe
member_lastlogin_ip varchar(30) DEFAULT NULL member lastlogin ip
member_lastlogin_date datetime DEFAULT NULL วันที่ member lastlogin
member_lastlogin_agent text member lastlogin agent
member_point int DEFAULT NULL member point
member_idcard varchar(250) NOT NULL member idcard
member_facebook_id varchar(150) NOT NULL รหัส member facebook
member_billing_idcard varchar(250) NOT NULL member billing idcard
member_billing_fax varchar(250) NOT NULL member billing fax
member_billing_branch varchar(5) NOT NULL member billing branch

cms_menu

Column Data Type Constraints Description
menu_id int PK, IDENTITY รหัสเมนู
menu_group_id int NOT NULL รหัสกลุ่มเมนู
parent_id int DEFAULT NULL รหัสหมวดหมู่แม่
title varchar(100) NOT NULL หัวข้อ/ชื่อเรื่อง
label varchar(100) DEFAULT NULL label
group_name varchar(100) DEFAULT NULL ชื่อ group
detail varchar(100) DEFAULT NULL รายละเอียด
flag varchar(100) NOT NULL flag
action_listing smallint DEFAULT NULL action listing
action_view smallint DEFAULT NULL action view
action_edit smallint DEFAULT NULL action edit
action_delete smallint DEFAULT NULL action delete
action_publish smallint DEFAULT NULL action publish
action_highlight smallint DEFAULT NULL action highlight
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_menu_group

Column Data Type Constraints Description
menu_group_id int PK, IDENTITY รหัสกลุ่มเมนู
title varchar(50) NOT NULL
detail varchar(50) DEFAULT NULL
flag varchar(30) NOT NULL
icon varchar(30) NOT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_news

Column Data Type Constraints Description
news_id int PK, IDENTITY รหัส news
title varchar(250) DEFAULT NULL
detail varchar(max) DEFAULT NULL
cover_ext varchar(10) DEFAULT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_notify

Column Data Type Constraints Description
notify_id int PK, IDENTITY รหัสการแจ้งเตือน
category int NOT NULL หมวดหมู่
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
link varchar(255) DEFAULT NULL ลิงก์
checked smallint DEFAULT NULL checked
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center

Column Data Type Constraints Description
people_center_id int PK, IDENTITY รหัสศูนย์ไกล่เกลี่ย
title varchar(1000) DEFAULT NULL
detail varchar(max)
lat varchar(100) DEFAULT NULL
lon varchar(100) DEFAULT NULL
no varchar(100) DEFAULT NULL
moo varchar(100) DEFAULT NULL
soi varchar(100) DEFAULT NULL
road varchar(100) DEFAULT NULL
province_id int DEFAULT NULL รหัสจังหวัด
amphur_id int DEFAULT NULL รหัสอำเภอ
district_id int DEFAULT NULL รหัสตำบล
zipcode int DEFAULT NULL รหัสไปรษณีย์
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
fax varchar(100) DEFAULT NULL fax
map_ext varchar(10) DEFAULT NULL map ext
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
village varchar(200) village
code varchar(200) รหัส
abbr varchar(200) abbr
current_type varchar(200) current type
org_type varchar(200) org type
new_type varchar(200) new type
area_code varchar(200) area code
area_abbr varchar(200) area abbr
area_no varchar(200) เลขที่ area
rowkey varchar(200) rowkey
command_no varchar(200) เลขที่ command
command_year varchar(200) command year
place_detail varchar(200) place detail
request_date varchar(200) วันที่ request
status_text varchar(200) ข้อความ status
org_center int org center
code_owner varchar(200) code owner
map_link varchar(600) map link
location_style int location style
location_type int location type
isOnline int isonline

cms_people_center_announcement

Column Data Type Constraints Description
people_center_announcement_id int PK, IDENTITY รหัส people center announcement
people_center_id int รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
appoint_ext varchar(10) appoint ext
number_ext varchar(10) number ext
people_center_ids text people center ids
province_id int รหัสจังหวัด
registrar varchar(255) registrar
register_date datetime2 วันที่ register
register_title varchar(255) register title
register_year varchar(4) register year
signature varchar(10) signature
register_date_participant datetime2 register date participant
register_title_participant varchar(255) register title participant
register_year_participant varchar(4) register year participant

cms_people_center_assessment

Column Data Type Constraints Description
people_center_assessment_id int PK, IDENTITY รหัสการประเมินศูนย์
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
check_type smallint NOT NULL check type
score int DEFAULT NULL คะแนน
level varchar(100) DEFAULT NULL ระดับ
booking_date3 datetime2 DEFAULT NULL booking date3
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
booking_date date วันที่ booking

cms_people_center_assessment_detail

Column Data Type Constraints Description
people_center_assessment_detail_id int IDENTITY, NOT NULL รหัส people center assessment detail
people_center_assessment_id int รหัสการประเมินศูนย์
assessment_result_no int เลขที่ assessment result
detail varchar(max) รายละเอียด
check_type smallint check type
score varchar(50) คะแนน
level varchar(100) ระดับ
booking_date date วันที่ booking
assessment_year varchar(4) ปีที่ประเมิน
status smallint สถานะ
highlight smallint สถานะไฮไลท์
orderid int ลำดับการแสดงผล
created_at datetime2 วันที่สร้าง
created_by int ผู้สร้าง
created_ip varchar(30) IP ที่สร้าง
updated_at datetime2 วันที่แก้ไข
updated_by int ผู้แก้ไข
updated_ip varchar(30) IP ที่แก้ไข
doc_ext varchar(10) doc ext

cms_people_center_assessment_result

Column Data Type Constraints Description
people_center_assessment_result_id int PK, IDENTITY รหัส people center assessment result
master_assessment_item_id int DEFAULT NULL รหัส master assessment item
people_center_assessment_id int DEFAULT NULL รหัสการประเมินศูนย์
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
assessment_result_no int เลขที่ assessment result
image_path varbinary(max) image path
details varchar(255) details

cms_people_center_book

Column Data Type Constraints Description
people_center_book_id int PK, IDENTITY รหัส people center book
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
master_document_type_id int DEFAULT NULL รหัส master document type
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_highlight

Column Data Type Constraints Description
people_center_highlight_id int PK, IDENTITY รหัส people center highlight
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_level

Column Data Type Constraints Description
people_center_level_id int PK, IDENTITY รหัส people center level
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) DEFAULT NULL รายละเอียด
is_report smallint DEFAULT NULL สถานะ report
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_meeting

Column Data Type Constraints Description
people_center_meeting_id int PK, IDENTITY รหัส people center meeting
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
is_report smallint DEFAULT NULL สถานะ report
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_participant

Column Data Type Constraints Description
people_center_participant_id int PK, IDENTITY รหัส people center participant
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
firstname varchar(100) DEFAULT NULL ชื่อ
lastname varchar(100) DEFAULT NULL นามสกุล
idcard varchar(100) DEFAULT NULL เลขบัตรประชาชน
no varchar(100) DEFAULT NULL no
moo varchar(100) DEFAULT NULL หมู่
soi varchar(100) DEFAULT NULL ซอย
road varchar(100) DEFAULT NULL ถนน
province_id int DEFAULT NULL รหัสจังหวัด
amphur_id int DEFAULT NULL รหัสอำเภอ
district_id int DEFAULT NULL รหัสตำบล
zipcode int DEFAULT NULL รหัสไปรษณีย์
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
race varchar(100) DEFAULT NULL เชื้อชาติ
nationality varchar(100) DEFAULT NULL สัญชาติ
cover_ext varchar(10) DEFAULT NULL cover ext
center_position varchar(max) center position
social_position varchar(max) social position
training_status smallint DEFAULT NULL สถานะ training
mediation_training_title varchar(250) DEFAULT NULL mediation training title
mediation_training_gen varchar(250) DEFAULT NULL mediation training gen
mediation_training_by varchar(250) DEFAULT NULL mediation training by
is_mediator smallint DEFAULT NULL สถานะ mediator
is_thai smallint DEFAULT NULL สถานะ thai
is_legalage smallint DEFAULT NULL สถานะ legalage
is_homeland smallint DEFAULT NULL สถานะ homeland
is_not_bankrupt smallint DEFAULT NULL สถานะ not bankrupt
is_not_incompetent smallint DEFAULT NULL สถานะ not incompetent
is_not_prison smallint DEFAULT NULL สถานะ not prison
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
idcard_ext varchar(10) idcard ext
expiry_date date วันที่ expiry
housebook_ext varchar(10) housebook ext
command_no varchar(100) เลขที่ command
command_year varchar(100) command year
command_time varchar(100) เวลา command
code varchar(100) รหัส
fax varchar(100) fax
is_request int สถานะ request
is_training_mediation int สถานะ training mediation
is_training_center int สถานะ training center
address varchar(100) ที่อยู่
email varchar(255) อีเมล
is_process_management_course int สถานะ process management course
people_center_participant_data_consent int people center participant data consent
is_training_center_gen varchar(250) สถานะ training center gen
certificate_ext varchar(10) certificate ext

cms_people_center_report

Column Data Type Constraints Description
people_center_report_id int PK, IDENTITY รหัส people center report
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_result

Column Data Type Constraints Description
people_center_result_id int PK, IDENTITY รหัสผลการดำเนินงานศูนย์
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_result_item

Column Data Type Constraints Description
people_center_result_item_id int PK, IDENTITY รหัส people center result item
people_center_result_id int NOT NULL รหัสผลการดำเนินงานศูนย์
master_performance_id int DEFAULT NULL รหัส master performance
detail varchar(max) รายละเอียด
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_support

Column Data Type Constraints Description
people_center_support_id int PK, IDENTITY รหัส people center support
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_training

Column Data Type Constraints Description
people_center_training_id int PK, IDENTITY รหัส people center training
people_center_id int NOT NULL รหัสศูนย์ไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
doc_ext varchar(10) DEFAULT NULL doc ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_people_center_training_item

Column Data Type Constraints Description
people_center_training_item_id int PK, IDENTITY รหัส people center training item
people_center_training_id int DEFAULT NULL รหัส people center training
people_center_participant_id int DEFAULT NULL รหัส people center participant
remark varchar(max) หมายเหตุ
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_profile_ktbcorp

Column Data Type Constraints Description
profile_ktbcorp_id int PK, IDENTITY รหัส profile ktbcorp
mediator_applicant_id int NOT NULL รหัสผู้สมัครเป็นผู้ไกล่เกลี่ย
firstname nvarchar(100) NOT NULL ชื่อ
lastname nvarchar(100) NOT NULL นามสกุล
position nvarchar(100) position
id_card nvarchar(20) id card
department nvarchar(200) department
department_head nvarchar(200) department head
house_no nvarchar(100) เลขที่ house
soi nvarchar(100) ซอย
road nvarchar(100) ถนน
district_name nvarchar(100) ชื่อตำบล
district_id int รหัสตำบล
amphur_name nvarchar(100) ชื่ออำเภอ
amphur_id int รหัสอำเภอ
province_name nvarchar(100) ชื่อจังหวัด
province_id int รหัสจังหวัด
account_type nvarchar(50) account type
bank_name nvarchar(100) ชื่อธนาคาร
bank_branch nvarchar(100) bank branch
bank_type nvarchar(50) ประเภทบัญชี
bank_no nvarchar(50) เลขที่บัญชีธนาคาร
sms_phone nvarchar(20) sms phone
email_address nvarchar(100) email address
signature nvarchar(max) signature
created_by int ผู้สร้าง
created_at datetime2 วันที่สร้าง
updated_by int ผู้แก้ไข
updated_at datetime2 วันที่แก้ไข
created_ip nvarchar(30) IP ที่สร้าง
updated_ip nvarchar(30) IP ที่แก้ไข
zipcode varchar(5) รหัสไปรษณีย์

cms_profile_ktbcorp_addr

Column Data Type Constraints Description
seq_no int PK เลขที่ seq
kcorp_id int NOT NULL รหัส kcorp
house_no nvarchar(50) เลขที่ house
soi nvarchar(100) ซอย
road nvarchar(100) ถนน
sub_district nvarchar(100) ตำบล/แขวง
district nvarchar(100) อำเภอ/เขต
province nvarchar(100) จังหวัด
zipcode nvarchar(10) รหัสไปรษณีย์
created_by int ผู้สร้าง
created_at datetime2 วันที่สร้าง
updated_by int ผู้แก้ไข
updated_at datetime2 วันที่แก้ไข

cms_profile_ktbcorp_bank

Column Data Type Constraints Description
profile_ktbcorp_bank_id int PK, IDENTITY รหัส profile ktbcorp bank
name_th nvarchar(100)
name_en nvarchar(100)
is_enabled tinyint สถานะเปิดใช้งาน
created_by int ผู้สร้าง
created_at datetime2 วันที่สร้าง
updated_by int ผู้แก้ไข
updated_at datetime2 วันที่แก้ไข

cms_profile_ktbcorp_typebank

Column Data Type Constraints Description
profile_ktbcorp_typebank_id int NOT NULL รหัส profile ktbcorp typebank
name_th nvarchar(100) ชื่อ (ภาษาไทย)
name_en nvarchar(100) ชื่อ (ภาษาอังกฤษ)
is_enabled tinyint สถานะเปิดใช้งาน
created_by int ผู้สร้าง
created_at datetime2 วันที่สร้าง
updated_by int ผู้แก้ไข
updated_at datetime2 วันที่แก้ไข

cms_setting

Column Data Type Constraints Description
setting_id int PK, IDENTITY รหัส setting
setting_type varchar(50) NOT NULL
setting_var varchar(100) NOT NULL
setting_data varchar(max)
orderid int NOT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง

cms_training_certificate

Column Data Type Constraints Description
training_certificate_id int PK, IDENTITY รหัส training certificate
institute_mediation_id int DEFAULT NULL รหัสสถาบันไกล่เกลี่ย
training_topic_id int NOT NULL รหัสหัวข้อการอบรม
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
at_year varchar(100) DEFAULT NULL at year
generation varchar(100) DEFAULT NULL generation
cert_date date DEFAULT NULL วันที่ cert
signature varchar(10) DEFAULT NULL signature
signature_name varchar(100) DEFAULT NULL ชื่อ signature
signature_position varchar(100) DEFAULT NULL signature position
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_form

Column Data Type Constraints Description
training_form_id int PK, IDENTITY รหัส training form
title varchar(250) DEFAULT NULL
detail varchar(max) DEFAULT NULL
doc_ext varchar(10) DEFAULT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_management_checkin

Column Data Type Constraints Description
training_management_checkin_id int PK, IDENTITY รหัส training management checkin
training_register_result_item_id int DEFAULT NULL รหัส training register result item
training_date date DEFAULT NULL วันที่อบรม
checkin time DEFAULT NULL checkin
checkout time DEFAULT NULL checkout
remark varchar(max) หมายเหตุ
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
check_type int check type

cms_training_management_rate

Column Data Type Constraints Description
training_management_rate_id int PK, IDENTITY รหัส training management rate
training_topic_id int NOT NULL รหัสหัวข้อการอบรม
training_register_id int NOT NULL รหัสการลงทะเบียนอบรม
rate_place int DEFAULT NULL rate place
detail varchar(max) รายละเอียด
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
rate_content int rate content
rate_service int rate service

cms_training_management_result

Column Data Type Constraints Description
training_management_result_id int PK, IDENTITY รหัสผลการจัดอบรม
training_topic_id int NOT NULL รหัสหัวข้อการอบรม
title varchar(100) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
file_document_ext varchar(10) DEFAULT NULL file document ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_management_result_item

Column Data Type Constraints Description
training_management_result_item_id int PK, IDENTITY รหัส training management result item
training_management_result_id int DEFAULT NULL รหัสผลการจัดอบรม
training_register_id int DEFAULT NULL รหัสการลงทะเบียนอบรม
remark varchar(max) หมายเหตุ
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_management_score

Column Data Type Constraints Description
training_management_score_id int PK, IDENTITY รหัส training management score
training_register_result_item_id int DEFAULT NULL รหัส training register result item
training_date date DEFAULT NULL วันที่อบรม
before int DEFAULT NULL before
after int DEFAULT NULL after
remark varchar(max) หมายเหตุ
status smallint สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_privacy

Column Data Type Constraints Description
training_privacy_id int PK, IDENTITY รหัส training privacy
title varchar(250) DEFAULT NULL
detail varchar(max) DEFAULT NULL
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_register

Column Data Type Constraints Description
training_register_id int PK, IDENTITY รหัสการลงทะเบียนอบรม
training_topic_id int NOT NULL รหัสหัวข้อการอบรม
code varchar(100) DEFAULT NULL รหัส
prefix_name varchar(30) DEFAULT NULL คำนำหน้าชื่อ
firstname varchar(100) DEFAULT NULL ชื่อ
lastname varchar(100) DEFAULT NULL นามสกุล
birthdate date DEFAULT NULL วันเกิด
idcard varchar(13) DEFAULT NULL เลขบัตรประชาชน
address varchar(250) DEFAULT NULL ที่อยู่
province_id int DEFAULT NULL รหัสจังหวัด
amphur_id int DEFAULT NULL รหัสอำเภอ
district_id int DEFAULT NULL รหัสตำบล
zipcode int DEFAULT NULL รหัสไปรษณีย์
education varchar(100) DEFAULT NULL การศึกษา
education_major varchar(100) DEFAULT NULL education major
work varchar(100) DEFAULT NULL work
work_position varchar(100) DEFAULT NULL work position
work_place varchar(max) work place
work_exp varchar(max) work exp
islamic smallint DEFAULT NULL islamic
halan smallint DEFAULT NULL halan
stay smallint DEFAULT NULL stay
travel_cost varchar(100) DEFAULT NULL travel cost
food_none varchar(100) DEFAULT NULL food none
phone varchar(100) DEFAULT NULL เบอร์โทรศัพท์
email varchar(100) DEFAULT NULL อีเมล
approve int DEFAULT NULL approve
approve_detail varchar(max) approve detail
channel smallint DEFAULT NULL channel
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
gender smallint เพศ
social_position varchar(100) social position
experience text experience
file_document_ext varchar(10) file document ext

cms_training_register_result

Column Data Type Constraints Description
training_register_result_id int PK, IDENTITY รหัส training register result
training_topic_id int NOT NULL รหัสหัวข้อการอบรม
title varchar(200) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
file_document_ext varchar(10) DEFAULT NULL file document ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_register_result_item

Column Data Type Constraints Description
training_register_result_item_id int PK, IDENTITY รหัส training register result item
training_register_result_id int DEFAULT NULL รหัส training register result
training_register_id int DEFAULT NULL รหัสการลงทะเบียนอบรม
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_training_topic

Column Data Type Constraints Description
training_topic_id int PK, IDENTITY รหัสหัวข้อการอบรม
institute_mediation_id int DEFAULT NULL รหัสสถาบันไกล่เกลี่ย
title varchar(250) DEFAULT NULL หัวข้อ/ชื่อเรื่อง
detail varchar(max) รายละเอียด
open_status smallint DEFAULT NULL สถานะ open
open_date datetime2 DEFAULT NULL วันที่ open
close_date datetime2 DEFAULT NULL วันที่ close
amount int DEFAULT NULL จำนวนเงิน
place_name varchar(250) DEFAULT NULL ชื่อ place
place_stay varchar(250) DEFAULT NULL place stay
file_approve_ext varchar(10) DEFAULT NULL file approve ext
file_invite_ext varchar(10) DEFAULT NULL file invite ext
file_register_ext varchar(10) DEFAULT NULL file register ext
file_document_ext varchar(10) DEFAULT NULL file document ext
cover_ext varchar(10) DEFAULT NULL cover ext
status smallint NOT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
gallery_status smallint DEFAULT NULL สถานะ gallery
min_age int min age
max_age int max age
publish_title varchar(255) publish title
publish_detail text publish detail
publish_status int สถานะ publish
training_date text วันที่อบรม
hour_approve int hour approve
Column Data Type Constraints Description
gallery_id int PK, IDENTITY รหัส gallery
training_topic_id int NOT NULL รหัสหัวข้อการอบรม
cover_ext varchar(10) NOT NULL cover ext
cover_title varchar(100) DEFAULT NULL cover title
cover_alt varchar(100) DEFAULT NULL cover alt
status smallint DEFAULT NULL สถานะ
highlight smallint DEFAULT NULL สถานะไฮไลท์
orderid int DEFAULT NULL ลำดับการแสดงผล
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_user_logs

Column Data Type Constraints Description
log_id int PK, IDENTITY รหัส log
component varchar(100) NOT NULL
action varchar(100) NOT NULL
status smallint NOT NULL สถานะ
user_id int DEFAULT NULL รหัสผู้ใช้
email varchar(150) NOT NULL อีเมล
created_at datetime2 NOT NULL วันที่สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง

cms_user_permission

Column Data Type Constraints Description
id int PK, IDENTITY รหัสอ้างอิง
role_id int NOT NULL รหัสบทบาท
menu_group_id int NOT NULL รหัสกลุ่มเมนู
menu_id int NOT NULL รหัสเมนู
action_listing smallint NOT NULL action listing
action_view smallint NOT NULL action view
action_edit smallint NOT NULL action edit
action_delete smallint NOT NULL action delete
action_publish smallint NOT NULL action publish
action_highlight smallint NOT NULL action highlight

cms_user_role

Column Data Type Constraints Description
role_id int PK, IDENTITY รหัสบทบาท
title varchar(100) NOT NULL
detail varchar(100) DEFAULT NULL
status smallint NOT NULL สถานะ
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข

cms_users

Column Data Type Constraints Description
user_id int PK, IDENTITY รหัสผู้ใช้
role_id int NOT NULL รหัสบทบาท
email varchar(150) อีเมล
password varchar(150) รหัสผ่าน
firstname varchar(50) DEFAULT NULL ชื่อ
lastname varchar(50) DEFAULT NULL นามสกุล
nickname varchar(30) DEFAULT NULL nickname
gender smallint เพศ
phone varchar(30) DEFAULT NULL เบอร์โทรศัพท์
cover_ext varchar(10) DEFAULT NULL cover ext
status smallint สถานะ
created_at datetime2 NOT NULL วันที่สร้าง
created_by int NOT NULL ผู้สร้าง
created_ip varchar(30) NOT NULL IP ที่สร้าง
updated_at datetime2 DEFAULT NULL วันที่แก้ไข
updated_by int DEFAULT NULL ผู้แก้ไข
updated_ip varchar(30) DEFAULT NULL IP ที่แก้ไข
lastlogin_at datetime2 DEFAULT NULL lastlogin at
lastlogin_ip varchar(30) DEFAULT NULL lastlogin ip
lastlogin_status smallint DEFAULT NULL สถานะ lastlogin
lastlogin_answer int lastlogin answer
login_attempts smallint DEFAULT NULL login attempts
locked smallint DEFAULT NULL locked
locked_at datetime2 DEFAULT NULL locked at
mediation_admin smallint DEFAULT NULL mediation admin
institute_mediation_id int รหัสสถาบันไกล่เกลี่ย
admin_province int admin province
signature_data varbinary(max) signature data
position nvarchar(240) position