<?xml version="1.0" encoding="UTF-8"?>
<TBANNER desc_eng="Banner " desc_thai="แบนเนอร์" editcheck="true" mainhelp="TBANNER_SETUPHELP" referhelp="TBANNER_SETUPHELP" mainkey="BANNERID" fieldsystem="*" protype="table" deleteflag="true" dependlevel="false" >
    <FIELD>
		<BANNERID lang="A" encrypt="false" log="false" type="AutoNumber" Table="TBANNER" init="1">
			<KEY>1</KEY>
			<WIDTH>5</WIDTH>
			<DESC_ENG>Banner ID</DESC_ENG>
			<DESC_THAI>รหัสแบนเนอร์</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>รหัสแบนเนอร์</ALT_THAI>
				<ALT_ENG>Banner ID</ALT_ENG>
				<READONLY>true</READONLY>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</BANNERID>

        <BRANCHID lang="A" encrypt="false" log="false" type="String">
			<WIDTH>5</WIDTH>
			<RELATION>MBRANCH</RELATION>
			<DESC_ENG>Company ID</DESC_ENG>
			<DESC_THAI>รหัสสาขา</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>5</MAXSIZE>
				<SIZE>5</SIZE>
				<ALT_THAI>รหัสสาขา</ALT_THAI>
				<ALT_ENG>Company ID</ALT_ENG>
			</COMPONENT>
			<REQUIRE>true</REQUIRE>
		</BRANCHID>
        
        <COMPANYID lang="A" encrypt="false" log="false" type="String">
            <KEY>2</KEY>
            <WIDTH>10</WIDTH>
            <RELATION>MCOMPANY</RELATION>
            <DESC_ENG>Company ID</DESC_ENG>
            <DESC_THAI>รหัสบริษัท</DESC_THAI>
            <COMPONENT type="Text">
                <SIZE>5</SIZE>
                <MAXSIZE>5</MAXSIZE>
                <ALT_ENG>Company ID</ALT_ENG>
                <ALT_THAI>รหัสบริษัท</ALT_THAI>
                <READONLY>TRUE</READONLY>
            </COMPONENT>
            <REQUIRE>true</REQUIRE>
        </COMPANYID>

		<EMESSAGE lang="E" encrypt="false" log="false" type="String">
			<WIDTH>4000</WIDTH>
			<DESC_ENG>Message. (Eng.)</DESC_ENG>
			<DESC_THAI>ข้อความ (อังกฤษ)</DESC_THAI>
			<REFER_LANG>TMESSAGE</REFER_LANG>
			<COMPONENT type="textarea">
				<ALT_THAI>ข้อความ (อังกฤษ)</ALT_THAI>
				<ALT_ENG>Message. (Eng.)</ALT_ENG>
				<LINES>15</LINES>
				<SIZECHAR>60</SIZECHAR>
			</COMPONENT>
		</EMESSAGE>

		<TMESSAGE lang="T" encrypt="false" log="false" type="String">
			<WIDTH>4000</WIDTH>
			<DESC_ENG>Message. (Thai)</DESC_ENG>
			<DESC_THAI>ข้อความ (ไทย)</DESC_THAI>
			<REFER_LANG>EMESSAGE</REFER_LANG>
			<COMPONENT type="textarea">
				<ALT_THAI>ข้อความ (ไทย)</ALT_THAI>
				<ALT_ENG>Message. (Thai)</ALT_ENG>
				<LINES>15</LINES>
				<SIZECHAR>60</SIZECHAR>
			</COMPONENT>
		</TMESSAGE>

		<BGPIC lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Picture Background</DESC_ENG>
			<DESC_THAI>รูปพื้นหลัง</DESC_THAI>
			<COMPONENT type="Fileupload">
				<DISPLAYLINK>0</DISPLAYLINK>
				<SIZE>100</SIZE>
				<ALT_THAI>รูปพื้นหลัง</ALT_THAI>
				<ALT_ENG>Picture Background</ALT_ENG>
			</COMPONENT>
		</BGPIC>
		
		<LOGOPIC lang="A" encrypt="false" log="false" type="String">
			<WIDTH>15</WIDTH>
			<DESC_ENG>Picture People</DESC_ENG>
			<DESC_THAI>รูปโลโก้</DESC_THAI>
			<COMPONENT type="Fileupload">
				<DISPLAYLINK>0</DISPLAYLINK>
				<SIZE>100</SIZE>
				<ALT_THAI>รูปโลโก้</ALT_THAI>
				<ALT_ENG>Picture People</ALT_ENG>
			</COMPONENT>
		</LOGOPIC>

		<LINK lang="A" encrypt="false" log="false" type="String">
			<WIDTH>300</WIDTH>
			<DESC_ENG>Link</DESC_ENG>
			<DESC_THAI>ชื่อลิ้งค์</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>300</MAXSIZE>
				<SIZE>100</SIZE>
				<ALT_THAI>ชื่อลิ้งค์</ALT_THAI>
				<ALT_ENG>Link</ALT_ENG>
			</COMPONENT>
		</LINK>

		<STATUS lang="A" encrypt="false" log="false" type="String">
			<WIDTH>10</WIDTH>
			<DESC_ENG>Status</DESC_ENG>
			<DESC_THAI>สถานะ</DESC_THAI>
			<COMPONENT type="list">
				<VALIDCODE>statusban</VALIDCODE>
				<MAXSIZE>1</MAXSIZE>
				<SIZE>1</SIZE>
				<ALT_THAI>สถานะ</ALT_THAI>
				<ALT_ENG>Status</ALT_ENG>
				<DEFAULTVALUE>1</DEFAULTVALUE>
			</COMPONENT>
			<REQUIRE>TRUE</REQUIRE>
		</STATUS>

		<ETOPIC lang="E" encrypt="false" log="false" type="String">
			<WIDTH>200</WIDTH>
			<REFER_LANG>TTOPIC</REFER_LANG>
			<DESC_ENG>Topic. (Eng.)</DESC_ENG>
			<DESC_THAI>หัวข้อ (อังกฤษ)</DESC_THAI>
			<COMPONENT type="text">
				<MAXSIZE>200</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_THAI>หัวข้อ (ไทย)</ALT_THAI>
				<ALT_ENG>Topic. (Eng.)</ALT_ENG>
			</COMPONENT>
		</ETOPIC>

		<TTOPIC lang="T" encrypt="false" log="false" type="String">
			<WIDTH>200</WIDTH>
			<REFER_LANG>ETOPIC</REFER_LANG>
			<DESC_ENG>Topic. (Thai)</DESC_ENG>
			<DESC_THAI>หัวข้อ (ไทย)</DESC_THAI>
			<COMPONENT type="Text">
				<MAXSIZE>200</MAXSIZE>
				<SIZE>70</SIZE>
				<ALT_THAI>หัวข้อ (ไทย)</ALT_THAI>
				<ALT_ENG>Topic. (Thai)</ALT_ENG>
			</COMPONENT>
		</TTOPIC>
		<PRESEQ lang="A" encrypt="false" log="false" type="String">
			<WIDTH>1</WIDTH>
			<DESC_ENG>Sequential</DESC_ENG>
			<DESC_THAI>ลำดับการแสดงผล</DESC_THAI>
			<COMPONENT type="list">
				<MAXSIZE>1</MAXSIZE>
				<SIZE>1</SIZE>
				<ALT_THAI>ลำดับการแสดงผล</ALT_THAI>
				<ALT_ENG>Sequential</ALT_ENG>
			</COMPONENT>
		</PRESEQ>
	</FIELD>
		

	<RELATION>
    </RELATION>
</TBANNER>
