<?xml version="1.0" encoding="UTF-8"?>
<WB_USER desc_thai="เว็บบอร์ดผู้ใช้" desc_eng="Webboard User" editcheck="true" mainhelp="WB_USERHELP" referhelp="WB_USERHELP" mainkey="USER_ID" fieldsystem="*" protype="table" deleteflag="true" config_field="">
	<FIELD>
		<USER_ID lang="A" encrypt="N" verify="false" log="false" type="String">
			<KEY>1</KEY>
			<WIDTH>10</WIDTH>
			<DESC_ENG>USER ID</DESC_ENG>
			<DESC_THAI>รหัสผู้ใช้</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>รหัสผู้ใช้</ALT_THAI>
				<ALT_ENG>USER ID</ALT_ENG>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</USER_ID>		
		<USER_NAME lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>USER NAME</DESC_ENG>
			<DESC_THAI>ชื่อผู้ใช้</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>USER NAME</ALT_ENG>
				<ALT_THAI>ชื่อผู้ใช้</ALT_THAI>				
			</COMPONENT>
		</USER_NAME>
		<USER_LOGIN lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>USER LOGIN</DESC_ENG>
			<DESC_THAI>ชื่อเข้าสู่ระบบ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>USER LOGIN</ALT_ENG>
				<ALT_THAI>ชื่อเข้าสู่ระบบ</ALT_THAI>				
			</COMPONENT>
		</USER_LOGIN>
		<USER_PASSWORD lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>USER PASSWORD</DESC_ENG>
			<DESC_THAI>รหัสผ่าน</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>USER PASSWORD</ALT_ENG>
				<ALT_THAI>รหัสผ่าน</ALT_THAI>				
			</COMPONENT>
		</USER_PASSWORD>
		<USER_GROUP lang="A" encrypt="false" log="false" type="String">
			<WIDTH>2</WIDTH>
			<DESC_ENG>USER GROUP</DESC_ENG>
			<DESC_THAI>กลุ่มผู้ใช้</DESC_THAI>
			<COMPONENT type="radio">
				<MAXSIZE>2</MAXSIZE>
				<SIZE>5</SIZE>
				<READONLY>true</READONLY>
				<ALT_ENG>USER GROUP</ALT_ENG>
				<ALT_THAI>กลุ่มผู้ใช้</ALT_THAI>
				<VALIDCODE>WB_USER_TYPE</VALIDCODE>
				<DEFAULTVALUE>0</DEFAULTVALUE>
			</COMPONENT>
		</USER_GROUP>	
		<POSITION_ID lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<DESC_ENG>Position</DESC_ENG>
			<DESC_THAI>ตำแหน่ง</DESC_THAI>
			<RELATION>WB_POSITION</RELATION>
			<COMPONENT type="list">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>ตำแหน่ง</ALT_THAI>
				<ALT_ENG>Position</ALT_ENG>	
				<TABLE>WB_POSITIONHELP,POSITION_ID,TDESC</TABLE>			
			</COMPONENT>
		</POSITION_ID>		
		<TEL lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>20</WIDTH>
			<DESC_ENG>TEL</DESC_ENG>
			<DESC_THAI>โทรศัพท์</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>20</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>TEL</ALT_ENG>
				<ALT_THAI>โทรศัพท์</ALT_THAI>				
			</COMPONENT>
		</TEL>
		<TEL_INNER lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>20</WIDTH>
			<DESC_ENG>TEL INNER</DESC_ENG>
			<DESC_THAI>โทรศัพท์ภายใน</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>20</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>TEL INNER</ALT_ENG>
				<ALT_THAI>โทรศัพท์ภายใน</ALT_THAI>				
			</COMPONENT>
		</TEL_INNER>
		<EMAIL lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>EMAIL</DESC_ENG>
			<DESC_THAI>อีเมล์</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>EMAIL</ALT_ENG>
				<ALT_THAI>อีเมล์</ALT_THAI>			
			</COMPONENT>
		</EMAIL>		
		<MSN lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>MSN</DESC_ENG>
			<DESC_THAI>MSN</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>MSN</ALT_ENG>
				<ALT_THAI>MSN</ALT_THAI>				
			</COMPONENT>
		</MSN>				
		<YAHOO lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>YAHOO</DESC_ENG>
			<DESC_THAI>Yahoo</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>YAHOO</ALT_ENG>
				<ALT_THAI>Yahoo</ALT_THAI>				
			</COMPONENT>
		</YAHOO>		
		<AIM lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>AIM</DESC_ENG>
			<DESC_THAI>AIM</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>AIM</ALT_ENG>
				<ALT_THAI>AIM</ALT_THAI>				
			</COMPONENT>
		</AIM>		
		<ICQ lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>ICQ</DESC_ENG>
			<DESC_THAI>ICQ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>ICQ</ALT_ENG>
				<ALT_THAI>ICQ</ALT_THAI>				
			</COMPONENT>
		</ICQ>		
		<WEBSITE lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>WEBSITE</DESC_ENG>
			<DESC_THAI>เว็บไซต์</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>WEBSITE</ALT_ENG>
				<ALT_THAI>เว็บไซต์</ALT_THAI>				
			</COMPONENT>
		</WEBSITE>
		<INTEREST lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>2000</WIDTH>
			<DESC_ENG>INTEREST</DESC_ENG>
			<DESC_THAI>ความสนใจ</DESC_THAI>
			<COMPONENT type="textarea">
				<MAXSIZE>2000</MAXSIZE>
				<SIZECHAR>50</SIZECHAR>
				<LINES>5</LINES>
				<ALT_ENG>INTEREST</ALT_ENG>
				<ALT_THAI>ความสนใจ</ALT_THAI>				
			</COMPONENT>
		</INTEREST>
		<PHOTO lang="A" encrypt="N" verify="false" log="false" type="String">			
			<WIDTH>100</WIDTH>
			<DESC_ENG>Photo</DESC_ENG>
			<DESC_THAI>รูปภาพ</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>100</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_ENG>Photo</ALT_ENG>
				<ALT_THAI>รูปภาพ</ALT_THAI>				
			</COMPONENT>
		</PHOTO>		
		<JOIN_DATE lang="A" encrypt="N" verify="false" log="false" type="Date">
			<WIDTH>10</WIDTH>
			<DESC_ENG>JOIN DATE</DESC_ENG>
			<DESC_THAI>วันที่เข้าร่วม</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_ENG>JOIN DATE</ALT_ENG>
				<ALT_THAI>วันที่เข้าร่วม</ALT_THAI>
				<ONKEYUP>formatDate(this);</ONKEYUP>
				<ONKEYPRESS>chkInteger();</ONKEYPRESS>
				<ONFOCUS>this.select();</ONFOCUS>				
			</COMPONENT>
		</JOIN_DATE>
		<ACTIVE_STATUS lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Lock Status</DESC_ENG>
			<DESC_THAI>ล็อค การใช้งาน</DESC_THAI>
			<COMPONENT type="radio">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>ล็อค การใช้งาน</ALT_THAI>
				<ALT_ENG>Lock Status</ALT_ENG>
				<VALIDCODE>YESNO</VALIDCODE>	
				<DEFAULTVALUE>0</DEFAULTVALUE>			
			</COMPONENT>
		</ACTIVE_STATUS>	
		<TRAINING_STATUS lang="A" encrypt="N" verify="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Traing</DESC_ENG>
			<DESC_THAI>ผ่านการฝึกอบรม</DESC_THAI>
			<COMPONENT type="radio">
				<MAXSIZE>15</MAXSIZE>
				<SIZE>10</SIZE>
				<ALT_THAI>ผ่านการฝึกอบรม</ALT_THAI>
				<ALT_ENG>Training</ALT_ENG>
				<VALIDCODE>YESNO</VALIDCODE>
				<DEFAULTVALUE>0</DEFAULTVALUE>
			</COMPONENT>
		</TRAINING_STATUS>	
		<COMPANY_ID lang="A" encrypt="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<DESC_ENG>Company</DESC_ENG>
			<DESC_THAI>บริษัท</DESC_THAI>
			<RELATION>WB_COMPANY</RELATION>
			<COMPONENT type="list">
				<MAXSIZE>10</MAXSIZE>
				<SIZE>10</SIZE>
				<READONLY>true</READONLY>
				<ALT_ENG>Company</ALT_ENG>
				<ALT_THAI>บริษัท</ALT_THAI>
				<TABLE>WB_COMPANYHELP,COMPANY_ID,TDESC</TABLE>
			</COMPONENT>
		</COMPANY_ID>			
		<COMPANYID lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<DESC_ENG>Company</DESC_ENG>
			<DESC_THAI>บริษัท</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<READONLY>true</READONLY>
				<ALT_ENG>Company</ALT_ENG>
				<ALT_THAI>บริษัท</ALT_THAI>
			</COMPONENT>
		</COMPANYID>	
		</FIELD>
		<RELATION>
			<WB_USER_SCORE mode="-1">
				<PARENT>WB_USER.USER_ID</PARENT>
				<CHILD>WB_USER_SCORE.USER_ID</CHILD>
			</WB_USER_SCORE>
			<WB_USER_VIEW mode="-1">
				<PARENT>WB_USER.USER_ID</PARENT>
				<CHILD>WB_USER_VIEW.USER_ID</CHILD>
			</WB_USER_VIEW>		
			<WB_TOPIC mode="-1">
				<PARENT>WB_USER.USER_ID</PARENT>
				<CHILD>WB_TOPIC.CREATE_BY</CHILD>
			</WB_TOPIC>	
			<WB_TOPIC_VIEW mode="-1">
				<PARENT>WB_USER.USER_ID</PARENT>
				<CHILD>WB_TOPIC_VIEW.CREATE_BY</CHILD>
			</WB_TOPIC_VIEW>			
			<WB_REPLY mode="-1">
				<PARENT>UB_USER.USER_ID</PARENT>
				<CHILD>WB_REPLY.CREATE_BY</CHILD>
			</WB_REPLY>					
		</RELATION>
</WB_USER>
