postgresql-V1.0.0.sql 228 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849
  1. --
  2. -- PostgreSQL database dump
  3. --
  4. -- Dumped from database version 16.1 (Debian 16.1-1.pgdg120+1)
  5. -- Dumped by pg_dump version 16.0
  6. SET statement_timeout = 0;
  7. SET lock_timeout = 0;
  8. SET idle_in_transaction_session_timeout = 0;
  9. SET client_encoding = 'UTF8';
  10. SET standard_conforming_strings = on;
  11. SELECT pg_catalog.set_config('search_path', '', false);
  12. SET check_function_bodies = false;
  13. SET xmloption = content;
  14. SET client_min_messages = warning;
  15. SET row_security = off;
  16. DROP DATABASE IF EXISTS taais;
  17. --
  18. -- Name: taais; Type: DATABASE; Schema: -; Owner: postgres
  19. --
  20. CREATE DATABASE taais WITH TEMPLATE = template0 ENCODING = 'UTF8' LOCALE_PROVIDER = libc LOCALE = 'en_US.utf8';
  21. ALTER DATABASE taais OWNER TO postgres;
  22. \connect taais
  23. SET statement_timeout = 0;
  24. SET lock_timeout = 0;
  25. SET idle_in_transaction_session_timeout = 0;
  26. SET client_encoding = 'UTF8';
  27. SET standard_conforming_strings = on;
  28. SELECT pg_catalog.set_config('search_path', '', false);
  29. SET check_function_bodies = false;
  30. SET xmloption = content;
  31. SET client_min_messages = warning;
  32. SET row_security = off;
  33. --
  34. -- Name: cast_varchar_to_timestamp(character varying); Type: FUNCTION; Schema: public; Owner: postgres
  35. --
  36. CREATE FUNCTION public.cast_varchar_to_timestamp(character varying) RETURNS timestamp with time zone
  37. LANGUAGE sql
  38. STRICT
  39. AS
  40. $_$
  41. select to_timestamp($1, 'yyyy-mm-dd hh24:mi:ss');
  42. $_$;
  43. ALTER FUNCTION public.cast_varchar_to_timestamp(character varying) OWNER TO postgres;
  44. --
  45. -- Name: CAST (character varying AS timestamp with time zone); Type: CAST; Schema: -; Owner: -
  46. --
  47. CREATE CAST (character varying AS timestamp with time zone) WITH FUNCTION public.cast_varchar_to_timestamp(character varying) AS IMPLICIT;
  48. --
  49. -- Name: find_in_set(anyelement, text); Type: FUNCTION; Schema: public; Owner: postgres
  50. --
  51. CREATE FUNCTION public.find_in_set(value anyelement, string_list text) RETURNS integer
  52. LANGUAGE plpgsql
  53. AS
  54. $$
  55. DECLARE
  56. position INTEGER;
  57. BEGIN
  58. IF string_list = '' THEN
  59. RETURN 0;
  60. ELSE
  61. position := array_position(string_to_array(string_list, ','), value::TEXT);
  62. RETURN position;
  63. END IF;
  64. END;
  65. $$;
  66. ALTER FUNCTION public.find_in_set(value anyelement, string_list text) OWNER TO postgres;
  67. SET default_tablespace = '';
  68. SET default_table_access_method = heap;
  69. --
  70. -- Name: demo_customer; Type: TABLE; Schema: public; Owner: postgres
  71. --
  72. CREATE TABLE public.demo_customer
  73. (
  74. customer_id bigint NOT NULL,
  75. customer_name character varying(30) DEFAULT ''::character varying NOT NULL,
  76. phonenumber character varying(11) DEFAULT NULL::character varying,
  77. sex character(1) DEFAULT NULL::bpchar,
  78. birthday timestamp without time zone,
  79. remark character varying(500) DEFAULT NULL::character varying
  80. );
  81. ALTER TABLE public.demo_customer
  82. OWNER TO postgres;
  83. --
  84. -- Name: TABLE demo_customer; Type: COMMENT; Schema: public; Owner: postgres
  85. --
  86. COMMENT ON TABLE public.demo_customer IS '客户主表(mb)';
  87. --
  88. -- Name: COLUMN demo_customer.customer_id; Type: COMMENT; Schema: public; Owner: postgres
  89. --
  90. COMMENT ON COLUMN public.demo_customer.customer_id IS '客户id';
  91. --
  92. -- Name: COLUMN demo_customer.customer_name; Type: COMMENT; Schema: public; Owner: postgres
  93. --
  94. COMMENT ON COLUMN public.demo_customer.customer_name IS '客户姓名';
  95. --
  96. -- Name: COLUMN demo_customer.phonenumber; Type: COMMENT; Schema: public; Owner: postgres
  97. --
  98. COMMENT ON COLUMN public.demo_customer.phonenumber IS '手机号码';
  99. --
  100. -- Name: COLUMN demo_customer.sex; Type: COMMENT; Schema: public; Owner: postgres
  101. --
  102. COMMENT ON COLUMN public.demo_customer.sex IS '客户性别';
  103. --
  104. -- Name: COLUMN demo_customer.birthday; Type: COMMENT; Schema: public; Owner: postgres
  105. --
  106. COMMENT ON COLUMN public.demo_customer.birthday IS '客户生日';
  107. --
  108. -- Name: COLUMN demo_customer.remark; Type: COMMENT; Schema: public; Owner: postgres
  109. --
  110. COMMENT ON COLUMN public.demo_customer.remark IS '客户描述';
  111. --
  112. -- Name: demo_customer_customer_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
  113. --
  114. CREATE SEQUENCE public.demo_customer_customer_id_seq
  115. START WITH 1
  116. INCREMENT BY 1
  117. NO MINVALUE
  118. NO MAXVALUE
  119. CACHE 1;
  120. ALTER SEQUENCE public.demo_customer_customer_id_seq OWNER TO postgres;
  121. --
  122. -- Name: demo_customer_customer_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
  123. --
  124. ALTER SEQUENCE public.demo_customer_customer_id_seq OWNED BY public.demo_customer.customer_id;
  125. --
  126. -- Name: demo_goods; Type: TABLE; Schema: public; Owner: postgres
  127. --
  128. CREATE TABLE public.demo_goods
  129. (
  130. goods_id bigint NOT NULL,
  131. customer_id bigint NOT NULL,
  132. name character varying(30) DEFAULT NULL::character varying,
  133. weight integer DEFAULT 0,
  134. price numeric(6, 2) DEFAULT NULL::numeric,
  135. date timestamp without time zone,
  136. type character(1) DEFAULT NULL::bpchar
  137. );
  138. ALTER TABLE public.demo_goods
  139. OWNER TO postgres;
  140. --
  141. -- Name: TABLE demo_goods; Type: COMMENT; Schema: public; Owner: postgres
  142. --
  143. COMMENT ON TABLE public.demo_goods IS '商品子表(mb)';
  144. --
  145. -- Name: COLUMN demo_goods.goods_id; Type: COMMENT; Schema: public; Owner: postgres
  146. --
  147. COMMENT ON COLUMN public.demo_goods.goods_id IS '商品id';
  148. --
  149. -- Name: COLUMN demo_goods.customer_id; Type: COMMENT; Schema: public; Owner: postgres
  150. --
  151. COMMENT ON COLUMN public.demo_goods.customer_id IS '客户id';
  152. --
  153. -- Name: COLUMN demo_goods.name; Type: COMMENT; Schema: public; Owner: postgres
  154. --
  155. COMMENT ON COLUMN public.demo_goods.name IS '商品名称';
  156. --
  157. -- Name: COLUMN demo_goods.weight; Type: COMMENT; Schema: public; Owner: postgres
  158. --
  159. COMMENT ON COLUMN public.demo_goods.weight IS '商品重量';
  160. --
  161. -- Name: COLUMN demo_goods.price; Type: COMMENT; Schema: public; Owner: postgres
  162. --
  163. COMMENT ON COLUMN public.demo_goods.price IS '商品价格';
  164. --
  165. -- Name: COLUMN demo_goods.date; Type: COMMENT; Schema: public; Owner: postgres
  166. --
  167. COMMENT ON COLUMN public.demo_goods.date IS '商品时间';
  168. --
  169. -- Name: COLUMN demo_goods.type; Type: COMMENT; Schema: public; Owner: postgres
  170. --
  171. COMMENT ON COLUMN public.demo_goods.type IS '商品种类';
  172. --
  173. -- Name: demo_goods_goods_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
  174. --
  175. CREATE SEQUENCE public.demo_goods_goods_id_seq
  176. START WITH 1
  177. INCREMENT BY 1
  178. NO MINVALUE
  179. NO MAXVALUE
  180. CACHE 1;
  181. ALTER SEQUENCE public.demo_goods_goods_id_seq OWNER TO postgres;
  182. --
  183. -- Name: demo_goods_goods_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
  184. --
  185. ALTER SEQUENCE public.demo_goods_goods_id_seq OWNED BY public.demo_goods.goods_id;
  186. --
  187. -- Name: demo_product; Type: TABLE; Schema: public; Owner: postgres
  188. --
  189. CREATE TABLE public.demo_product
  190. (
  191. product_id bigint NOT NULL,
  192. parent_id bigint DEFAULT 0,
  193. product_name character varying(30) NOT NULL,
  194. order_num integer DEFAULT 0,
  195. status character(1) DEFAULT '0'::bpchar
  196. );
  197. ALTER TABLE public.demo_product
  198. OWNER TO postgres;
  199. --
  200. -- Name: TABLE demo_product; Type: COMMENT; Schema: public; Owner: postgres
  201. --
  202. COMMENT ON TABLE public.demo_product IS '产品树表(mb)';
  203. --
  204. -- Name: COLUMN demo_product.product_id; Type: COMMENT; Schema: public; Owner: postgres
  205. --
  206. COMMENT ON COLUMN public.demo_product.product_id IS '产品id';
  207. --
  208. -- Name: COLUMN demo_product.parent_id; Type: COMMENT; Schema: public; Owner: postgres
  209. --
  210. COMMENT ON COLUMN public.demo_product.parent_id IS '父产品id';
  211. --
  212. -- Name: COLUMN demo_product.product_name; Type: COMMENT; Schema: public; Owner: postgres
  213. --
  214. COMMENT ON COLUMN public.demo_product.product_name IS '产品名称';
  215. --
  216. -- Name: COLUMN demo_product.order_num; Type: COMMENT; Schema: public; Owner: postgres
  217. --
  218. COMMENT ON COLUMN public.demo_product.order_num IS '显示顺序';
  219. --
  220. -- Name: COLUMN demo_product.status; Type: COMMENT; Schema: public; Owner: postgres
  221. --
  222. COMMENT ON COLUMN public.demo_product.status IS '产品状态(0正常 1停用)';
  223. --
  224. -- Name: demo_product_product_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
  225. --
  226. CREATE SEQUENCE public.demo_product_product_id_seq
  227. START WITH 1
  228. INCREMENT BY 1
  229. NO MINVALUE
  230. NO MAXVALUE
  231. CACHE 1;
  232. ALTER SEQUENCE public.demo_product_product_id_seq OWNER TO postgres;
  233. --
  234. -- Name: demo_product_product_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
  235. --
  236. ALTER SEQUENCE public.demo_product_product_id_seq OWNED BY public.demo_product.product_id;
  237. --
  238. -- Name: demo_student; Type: TABLE; Schema: public; Owner: postgres
  239. --
  240. CREATE TABLE public.demo_student
  241. (
  242. student_id bigint NOT NULL,
  243. student_name character varying(30) NOT NULL,
  244. student_age integer,
  245. student_hobby character varying(30) NOT NULL,
  246. student_sex character(1) NOT NULL,
  247. student_status character(1) DEFAULT '0'::bpchar,
  248. student_birthday timestamp without time zone
  249. );
  250. ALTER TABLE public.demo_student
  251. OWNER TO postgres;
  252. --
  253. -- Name: TABLE demo_student; Type: COMMENT; Schema: public; Owner: postgres
  254. --
  255. COMMENT ON TABLE public.demo_student IS '学生信息单表(mb)';
  256. --
  257. -- Name: COLUMN demo_student.student_id; Type: COMMENT; Schema: public; Owner: postgres
  258. --
  259. COMMENT ON COLUMN public.demo_student.student_id IS '编号';
  260. --
  261. -- Name: COLUMN demo_student.student_name; Type: COMMENT; Schema: public; Owner: postgres
  262. --
  263. COMMENT ON COLUMN public.demo_student.student_name IS '学生名称';
  264. --
  265. -- Name: COLUMN demo_student.student_age; Type: COMMENT; Schema: public; Owner: postgres
  266. --
  267. COMMENT ON COLUMN public.demo_student.student_age IS '年龄';
  268. --
  269. -- Name: COLUMN demo_student.student_hobby; Type: COMMENT; Schema: public; Owner: postgres
  270. --
  271. COMMENT ON COLUMN public.demo_student.student_hobby IS '爱好(0代码 1音乐 2电影)';
  272. --
  273. -- Name: COLUMN demo_student.student_sex; Type: COMMENT; Schema: public; Owner: postgres
  274. --
  275. COMMENT ON COLUMN public.demo_student.student_sex IS '性别(1男 2女 3未知)';
  276. --
  277. -- Name: COLUMN demo_student.student_status; Type: COMMENT; Schema: public; Owner: postgres
  278. --
  279. COMMENT ON COLUMN public.demo_student.student_status IS '状态(0正常 1停用)';
  280. --
  281. -- Name: COLUMN demo_student.student_birthday; Type: COMMENT; Schema: public; Owner: postgres
  282. --
  283. COMMENT ON COLUMN public.demo_student.student_birthday IS '生日';
  284. --
  285. -- Name: demo_student_student_id_seq; Type: SEQUENCE; Schema: public; Owner: postgres
  286. --
  287. CREATE SEQUENCE public.demo_student_student_id_seq
  288. START WITH 1
  289. INCREMENT BY 1
  290. NO MINVALUE
  291. NO MAXVALUE
  292. CACHE 1;
  293. ALTER SEQUENCE public.demo_student_student_id_seq OWNER TO postgres;
  294. --
  295. -- Name: demo_student_student_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
  296. --
  297. ALTER SEQUENCE public.demo_student_student_id_seq OWNED BY public.demo_student.student_id;
  298. --
  299. -- Name: gen_table; Type: TABLE; Schema: public; Owner: postgres
  300. --
  301. CREATE TABLE public.gen_table
  302. (
  303. table_id bigint NOT NULL,
  304. table_name character varying(200) DEFAULT ''::character varying,
  305. table_comment character varying(500) DEFAULT ''::character varying,
  306. sub_table_name character varying(64) DEFAULT ''::character varying,
  307. sub_table_fk_name character varying(64) DEFAULT ''::character varying,
  308. class_name character varying(100) DEFAULT ''::character varying,
  309. tpl_category character varying(200) DEFAULT 'crud'::character varying,
  310. package_name character varying(100) DEFAULT NULL::character varying,
  311. module_name character varying(30) DEFAULT NULL::character varying,
  312. business_name character varying(30) DEFAULT NULL::character varying,
  313. function_name character varying(50) DEFAULT NULL::character varying,
  314. function_author character varying(50) DEFAULT NULL::character varying,
  315. gen_type character(1) DEFAULT '0'::bpchar NOT NULL,
  316. gen_path character varying(200) DEFAULT '/'::character varying,
  317. options character varying(1000) DEFAULT NULL::character varying,
  318. version integer DEFAULT 0,
  319. create_by bigint,
  320. create_time timestamp without time zone,
  321. update_by bigint,
  322. update_time timestamp without time zone,
  323. remark character varying(500) DEFAULT NULL::character varying
  324. );
  325. ALTER TABLE public.gen_table
  326. OWNER TO postgres;
  327. --
  328. -- Name: TABLE gen_table; Type: COMMENT; Schema: public; Owner: postgres
  329. --
  330. COMMENT ON TABLE public.gen_table IS '代码生成业务表';
  331. --
  332. -- Name: COLUMN gen_table.table_id; Type: COMMENT; Schema: public; Owner: postgres
  333. --
  334. COMMENT ON COLUMN public.gen_table.table_id IS '编号';
  335. --
  336. -- Name: COLUMN gen_table.table_name; Type: COMMENT; Schema: public; Owner: postgres
  337. --
  338. COMMENT ON COLUMN public.gen_table.table_name IS '表名称';
  339. --
  340. -- Name: COLUMN gen_table.table_comment; Type: COMMENT; Schema: public; Owner: postgres
  341. --
  342. COMMENT ON COLUMN public.gen_table.table_comment IS '表描述';
  343. --
  344. -- Name: COLUMN gen_table.sub_table_name; Type: COMMENT; Schema: public; Owner: postgres
  345. --
  346. COMMENT ON COLUMN public.gen_table.sub_table_name IS '关联子表的表名';
  347. --
  348. -- Name: COLUMN gen_table.sub_table_fk_name; Type: COMMENT; Schema: public; Owner: postgres
  349. --
  350. COMMENT ON COLUMN public.gen_table.sub_table_fk_name IS '子表关联的外键名';
  351. --
  352. -- Name: COLUMN gen_table.class_name; Type: COMMENT; Schema: public; Owner: postgres
  353. --
  354. COMMENT ON COLUMN public.gen_table.class_name IS '实体类名称';
  355. --
  356. -- Name: COLUMN gen_table.tpl_category; Type: COMMENT; Schema: public; Owner: postgres
  357. --
  358. COMMENT ON COLUMN public.gen_table.tpl_category IS '使用的模板(CRUD单表操作 TREE树表操作)';
  359. --
  360. -- Name: COLUMN gen_table.package_name; Type: COMMENT; Schema: public; Owner: postgres
  361. --
  362. COMMENT ON COLUMN public.gen_table.package_name IS '生成包路径';
  363. --
  364. -- Name: COLUMN gen_table.module_name; Type: COMMENT; Schema: public; Owner: postgres
  365. --
  366. COMMENT ON COLUMN public.gen_table.module_name IS '生成模块名';
  367. --
  368. -- Name: COLUMN gen_table.business_name; Type: COMMENT; Schema: public; Owner: postgres
  369. --
  370. COMMENT ON COLUMN public.gen_table.business_name IS '生成业务名';
  371. --
  372. -- Name: COLUMN gen_table.function_name; Type: COMMENT; Schema: public; Owner: postgres
  373. --
  374. COMMENT ON COLUMN public.gen_table.function_name IS '生成功能名';
  375. --
  376. -- Name: COLUMN gen_table.function_author; Type: COMMENT; Schema: public; Owner: postgres
  377. --
  378. COMMENT ON COLUMN public.gen_table.function_author IS '生成功能作者';
  379. --
  380. -- Name: COLUMN gen_table.gen_type; Type: COMMENT; Schema: public; Owner: postgres
  381. --
  382. COMMENT ON COLUMN public.gen_table.gen_type IS '生成代码方式(0zip压缩包 1自定义路径)';
  383. --
  384. -- Name: COLUMN gen_table.gen_path; Type: COMMENT; Schema: public; Owner: postgres
  385. --
  386. COMMENT ON COLUMN public.gen_table.gen_path IS '生成路径(不填默认项目路径)';
  387. --
  388. -- Name: COLUMN gen_table.options; Type: COMMENT; Schema: public; Owner: postgres
  389. --
  390. COMMENT ON COLUMN public.gen_table.options IS '其它生成选项';
  391. --
  392. -- Name: COLUMN gen_table.version; Type: COMMENT; Schema: public; Owner: postgres
  393. --
  394. COMMENT ON COLUMN public.gen_table.version IS '乐观锁';
  395. --
  396. -- Name: COLUMN gen_table.create_by; Type: COMMENT; Schema: public; Owner: postgres
  397. --
  398. COMMENT ON COLUMN public.gen_table.create_by IS '创建者';
  399. --
  400. -- Name: COLUMN gen_table.create_time; Type: COMMENT; Schema: public; Owner: postgres
  401. --
  402. COMMENT ON COLUMN public.gen_table.create_time IS '创建时间';
  403. --
  404. -- Name: COLUMN gen_table.update_by; Type: COMMENT; Schema: public; Owner: postgres
  405. --
  406. COMMENT ON COLUMN public.gen_table.update_by IS '更新者';
  407. --
  408. -- Name: COLUMN gen_table.update_time; Type: COMMENT; Schema: public; Owner: postgres
  409. --
  410. COMMENT ON COLUMN public.gen_table.update_time IS '更新时间';
  411. --
  412. -- Name: COLUMN gen_table.remark; Type: COMMENT; Schema: public; Owner: postgres
  413. --
  414. COMMENT ON COLUMN public.gen_table.remark IS '备注';
  415. --
  416. -- Name: gen_table_column; Type: TABLE; Schema: public; Owner: postgres
  417. --
  418. CREATE TABLE public.gen_table_column
  419. (
  420. column_id bigint NOT NULL,
  421. table_id bigint,
  422. column_name character varying(200) DEFAULT NULL::character varying,
  423. column_comment character varying(500) DEFAULT NULL::character varying,
  424. column_type character varying(100) DEFAULT NULL::character varying,
  425. java_type character varying(500) DEFAULT NULL::character varying,
  426. java_field character varying(200) DEFAULT NULL::character varying,
  427. is_pk character(1) DEFAULT NULL::bpchar,
  428. is_increment character(1) DEFAULT NULL::bpchar,
  429. is_required character(1) DEFAULT NULL::bpchar,
  430. is_insert character(1) DEFAULT NULL::bpchar,
  431. is_edit character(1) DEFAULT NULL::bpchar,
  432. is_list character(1) DEFAULT NULL::bpchar,
  433. is_query character(1) DEFAULT NULL::bpchar,
  434. query_type character varying(200) DEFAULT 'EQ'::character varying,
  435. html_type character varying(200) DEFAULT NULL::character varying,
  436. dict_type character varying(200) DEFAULT ''::character varying,
  437. sort integer,
  438. version integer DEFAULT 0,
  439. create_by bigint,
  440. create_time timestamp without time zone,
  441. update_by bigint,
  442. update_time timestamp without time zone
  443. );
  444. ALTER TABLE public.gen_table_column
  445. OWNER TO postgres;
  446. --
  447. -- Name: TABLE gen_table_column; Type: COMMENT; Schema: public; Owner: postgres
  448. --
  449. COMMENT ON TABLE public.gen_table_column IS '代码生成业务表字段';
  450. --
  451. -- Name: COLUMN gen_table_column.column_id; Type: COMMENT; Schema: public; Owner: postgres
  452. --
  453. COMMENT ON COLUMN public.gen_table_column.column_id IS '编号';
  454. --
  455. -- Name: COLUMN gen_table_column.table_id; Type: COMMENT; Schema: public; Owner: postgres
  456. --
  457. COMMENT ON COLUMN public.gen_table_column.table_id IS '归属表编号';
  458. --
  459. -- Name: COLUMN gen_table_column.column_name; Type: COMMENT; Schema: public; Owner: postgres
  460. --
  461. COMMENT ON COLUMN public.gen_table_column.column_name IS '列名称';
  462. --
  463. -- Name: COLUMN gen_table_column.column_comment; Type: COMMENT; Schema: public; Owner: postgres
  464. --
  465. COMMENT ON COLUMN public.gen_table_column.column_comment IS '列描述';
  466. --
  467. -- Name: COLUMN gen_table_column.column_type; Type: COMMENT; Schema: public; Owner: postgres
  468. --
  469. COMMENT ON COLUMN public.gen_table_column.column_type IS '列类型';
  470. --
  471. -- Name: COLUMN gen_table_column.java_type; Type: COMMENT; Schema: public; Owner: postgres
  472. --
  473. COMMENT ON COLUMN public.gen_table_column.java_type IS 'JAVA类型';
  474. --
  475. -- Name: COLUMN gen_table_column.java_field; Type: COMMENT; Schema: public; Owner: postgres
  476. --
  477. COMMENT ON COLUMN public.gen_table_column.java_field IS 'JAVA字段名';
  478. --
  479. -- Name: COLUMN gen_table_column.is_pk; Type: COMMENT; Schema: public; Owner: postgres
  480. --
  481. COMMENT ON COLUMN public.gen_table_column.is_pk IS '是否主键(1是)';
  482. --
  483. -- Name: COLUMN gen_table_column.is_increment; Type: COMMENT; Schema: public; Owner: postgres
  484. --
  485. COMMENT ON COLUMN public.gen_table_column.is_increment IS '是否自增(1是)';
  486. --
  487. -- Name: COLUMN gen_table_column.is_required; Type: COMMENT; Schema: public; Owner: postgres
  488. --
  489. COMMENT ON COLUMN public.gen_table_column.is_required IS '是否必填(1是)';
  490. --
  491. -- Name: COLUMN gen_table_column.is_insert; Type: COMMENT; Schema: public; Owner: postgres
  492. --
  493. COMMENT ON COLUMN public.gen_table_column.is_insert IS '是否为插入字段(1是)';
  494. --
  495. -- Name: COLUMN gen_table_column.is_edit; Type: COMMENT; Schema: public; Owner: postgres
  496. --
  497. COMMENT ON COLUMN public.gen_table_column.is_edit IS '是否编辑字段(1是)';
  498. --
  499. -- Name: COLUMN gen_table_column.is_list; Type: COMMENT; Schema: public; Owner: postgres
  500. --
  501. COMMENT ON COLUMN public.gen_table_column.is_list IS '是否列表字段(1是)';
  502. --
  503. -- Name: COLUMN gen_table_column.is_query; Type: COMMENT; Schema: public; Owner: postgres
  504. --
  505. COMMENT ON COLUMN public.gen_table_column.is_query IS '是否查询字段(1是)';
  506. --
  507. -- Name: COLUMN gen_table_column.query_type; Type: COMMENT; Schema: public; Owner: postgres
  508. --
  509. COMMENT ON COLUMN public.gen_table_column.query_type IS '查询方式(等于、不等于、大于、小于、范围)';
  510. --
  511. -- Name: COLUMN gen_table_column.html_type; Type: COMMENT; Schema: public; Owner: postgres
  512. --
  513. COMMENT ON COLUMN public.gen_table_column.html_type IS '显示类型(文本框、文本域、下拉框、复选框、单选框、日期控件)';
  514. --
  515. -- Name: COLUMN gen_table_column.dict_type; Type: COMMENT; Schema: public; Owner: postgres
  516. --
  517. COMMENT ON COLUMN public.gen_table_column.dict_type IS '字典类型';
  518. --
  519. -- Name: COLUMN gen_table_column.sort; Type: COMMENT; Schema: public; Owner: postgres
  520. --
  521. COMMENT ON COLUMN public.gen_table_column.sort IS '排序';
  522. --
  523. -- Name: COLUMN gen_table_column.version; Type: COMMENT; Schema: public; Owner: postgres
  524. --
  525. COMMENT ON COLUMN public.gen_table_column.version IS '乐观锁';
  526. --
  527. -- Name: COLUMN gen_table_column.create_by; Type: COMMENT; Schema: public; Owner: postgres
  528. --
  529. COMMENT ON COLUMN public.gen_table_column.create_by IS '创建者';
  530. --
  531. -- Name: COLUMN gen_table_column.create_time; Type: COMMENT; Schema: public; Owner: postgres
  532. --
  533. COMMENT ON COLUMN public.gen_table_column.create_time IS '创建时间';
  534. --
  535. -- Name: COLUMN gen_table_column.update_by; Type: COMMENT; Schema: public; Owner: postgres
  536. --
  537. COMMENT ON COLUMN public.gen_table_column.update_by IS '更新者';
  538. --
  539. -- Name: COLUMN gen_table_column.update_time; Type: COMMENT; Schema: public; Owner: postgres
  540. --
  541. COMMENT ON COLUMN public.gen_table_column.update_time IS '更新时间';
  542. --
  543. -- Name: mf_customer; Type: TABLE; Schema: public; Owner: postgres
  544. --
  545. CREATE TABLE public.mf_customer
  546. (
  547. customer_id bigint NOT NULL,
  548. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  549. customer_name character varying(30) DEFAULT ''::character varying NOT NULL,
  550. phonenumber character varying(11) DEFAULT NULL::character varying,
  551. gender character(1) DEFAULT NULL::bpchar,
  552. birthday timestamp without time zone,
  553. remark character varying(500) DEFAULT NULL::character varying,
  554. version integer DEFAULT 0 NOT NULL,
  555. del_flag smallint DEFAULT '0'::smallint NOT NULL,
  556. create_by bigint,
  557. create_time timestamp without time zone,
  558. update_by bigint,
  559. update_time timestamp without time zone
  560. );
  561. ALTER TABLE public.mf_customer
  562. OWNER TO postgres;
  563. --
  564. -- Name: TABLE mf_customer; Type: COMMENT; Schema: public; Owner: postgres
  565. --
  566. COMMENT ON TABLE public.mf_customer IS '客户主表';
  567. --
  568. -- Name: COLUMN mf_customer.customer_id; Type: COMMENT; Schema: public; Owner: postgres
  569. --
  570. COMMENT ON COLUMN public.mf_customer.customer_id IS '客户id';
  571. --
  572. -- Name: COLUMN mf_customer.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  573. --
  574. COMMENT ON COLUMN public.mf_customer.tenant_id IS '租户编码';
  575. --
  576. -- Name: COLUMN mf_customer.customer_name; Type: COMMENT; Schema: public; Owner: postgres
  577. --
  578. COMMENT ON COLUMN public.mf_customer.customer_name IS '客户姓名';
  579. --
  580. -- Name: COLUMN mf_customer.phonenumber; Type: COMMENT; Schema: public; Owner: postgres
  581. --
  582. COMMENT ON COLUMN public.mf_customer.phonenumber IS '手机号码';
  583. --
  584. -- Name: COLUMN mf_customer.gender; Type: COMMENT; Schema: public; Owner: postgres
  585. --
  586. COMMENT ON COLUMN public.mf_customer.gender IS '客户性别';
  587. --
  588. -- Name: COLUMN mf_customer.birthday; Type: COMMENT; Schema: public; Owner: postgres
  589. --
  590. COMMENT ON COLUMN public.mf_customer.birthday IS '客户生日';
  591. --
  592. -- Name: COLUMN mf_customer.remark; Type: COMMENT; Schema: public; Owner: postgres
  593. --
  594. COMMENT ON COLUMN public.mf_customer.remark IS '客户描述';
  595. --
  596. -- Name: COLUMN mf_customer.version; Type: COMMENT; Schema: public; Owner: postgres
  597. --
  598. COMMENT ON COLUMN public.mf_customer.version IS '乐观锁';
  599. --
  600. -- Name: COLUMN mf_customer.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  601. --
  602. COMMENT ON COLUMN public.mf_customer.del_flag IS '逻辑删除标志(0代表存在 1代表删除)';
  603. --
  604. -- Name: COLUMN mf_customer.create_by; Type: COMMENT; Schema: public; Owner: postgres
  605. --
  606. COMMENT ON COLUMN public.mf_customer.create_by IS '创建者';
  607. --
  608. -- Name: COLUMN mf_customer.create_time; Type: COMMENT; Schema: public; Owner: postgres
  609. --
  610. COMMENT ON COLUMN public.mf_customer.create_time IS '创建时间';
  611. --
  612. -- Name: COLUMN mf_customer.update_by; Type: COMMENT; Schema: public; Owner: postgres
  613. --
  614. COMMENT ON COLUMN public.mf_customer.update_by IS '更新者';
  615. --
  616. -- Name: COLUMN mf_customer.update_time; Type: COMMENT; Schema: public; Owner: postgres
  617. --
  618. COMMENT ON COLUMN public.mf_customer.update_time IS '更新时间';
  619. --
  620. -- Name: mf_goods; Type: TABLE; Schema: public; Owner: postgres
  621. --
  622. CREATE TABLE public.mf_goods
  623. (
  624. goods_id bigint NOT NULL,
  625. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  626. customer_id bigint NOT NULL,
  627. name character varying(30) DEFAULT NULL::character varying,
  628. weight integer DEFAULT 0,
  629. price numeric(6, 2) DEFAULT NULL::numeric,
  630. date timestamp without time zone,
  631. type character(1) DEFAULT NULL::bpchar,
  632. create_by bigint,
  633. create_time timestamp without time zone,
  634. update_by bigint,
  635. update_time timestamp without time zone
  636. );
  637. ALTER TABLE public.mf_goods
  638. OWNER TO postgres;
  639. --
  640. -- Name: TABLE mf_goods; Type: COMMENT; Schema: public; Owner: postgres
  641. --
  642. COMMENT ON TABLE public.mf_goods IS '商品子表';
  643. --
  644. -- Name: COLUMN mf_goods.goods_id; Type: COMMENT; Schema: public; Owner: postgres
  645. --
  646. COMMENT ON COLUMN public.mf_goods.goods_id IS '商品id';
  647. --
  648. -- Name: COLUMN mf_goods.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  649. --
  650. COMMENT ON COLUMN public.mf_goods.tenant_id IS '租户编码';
  651. --
  652. -- Name: COLUMN mf_goods.customer_id; Type: COMMENT; Schema: public; Owner: postgres
  653. --
  654. COMMENT ON COLUMN public.mf_goods.customer_id IS '客户id';
  655. --
  656. -- Name: COLUMN mf_goods.name; Type: COMMENT; Schema: public; Owner: postgres
  657. --
  658. COMMENT ON COLUMN public.mf_goods.name IS '商品名称';
  659. --
  660. -- Name: COLUMN mf_goods.weight; Type: COMMENT; Schema: public; Owner: postgres
  661. --
  662. COMMENT ON COLUMN public.mf_goods.weight IS '商品重量';
  663. --
  664. -- Name: COLUMN mf_goods.price; Type: COMMENT; Schema: public; Owner: postgres
  665. --
  666. COMMENT ON COLUMN public.mf_goods.price IS '商品价格';
  667. --
  668. -- Name: COLUMN mf_goods.date; Type: COMMENT; Schema: public; Owner: postgres
  669. --
  670. COMMENT ON COLUMN public.mf_goods.date IS '商品时间';
  671. --
  672. -- Name: COLUMN mf_goods.type; Type: COMMENT; Schema: public; Owner: postgres
  673. --
  674. COMMENT ON COLUMN public.mf_goods.type IS '商品种类';
  675. --
  676. -- Name: COLUMN mf_goods.create_by; Type: COMMENT; Schema: public; Owner: postgres
  677. --
  678. COMMENT ON COLUMN public.mf_goods.create_by IS '创建者';
  679. --
  680. -- Name: COLUMN mf_goods.create_time; Type: COMMENT; Schema: public; Owner: postgres
  681. --
  682. COMMENT ON COLUMN public.mf_goods.create_time IS '创建时间';
  683. --
  684. -- Name: COLUMN mf_goods.update_by; Type: COMMENT; Schema: public; Owner: postgres
  685. --
  686. COMMENT ON COLUMN public.mf_goods.update_by IS '更新者';
  687. --
  688. -- Name: COLUMN mf_goods.update_time; Type: COMMENT; Schema: public; Owner: postgres
  689. --
  690. COMMENT ON COLUMN public.mf_goods.update_time IS '更新时间';
  691. --
  692. -- Name: mf_product; Type: TABLE; Schema: public; Owner: postgres
  693. --
  694. CREATE TABLE public.mf_product
  695. (
  696. product_id bigint NOT NULL,
  697. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  698. parent_id bigint DEFAULT 0,
  699. product_name character varying(30) NOT NULL,
  700. order_num integer DEFAULT 0,
  701. status character(1) DEFAULT '0'::bpchar,
  702. version integer DEFAULT 0 NOT NULL,
  703. del_flag smallint DEFAULT '0'::smallint NOT NULL,
  704. create_by bigint,
  705. create_time timestamp without time zone,
  706. update_by bigint,
  707. update_time timestamp without time zone
  708. );
  709. ALTER TABLE public.mf_product
  710. OWNER TO postgres;
  711. --
  712. -- Name: TABLE mf_product; Type: COMMENT; Schema: public; Owner: postgres
  713. --
  714. COMMENT ON TABLE public.mf_product IS '产品树表';
  715. --
  716. -- Name: COLUMN mf_product.product_id; Type: COMMENT; Schema: public; Owner: postgres
  717. --
  718. COMMENT ON COLUMN public.mf_product.product_id IS '产品id';
  719. --
  720. -- Name: COLUMN mf_product.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  721. --
  722. COMMENT ON COLUMN public.mf_product.tenant_id IS '租户编码';
  723. --
  724. -- Name: COLUMN mf_product.parent_id; Type: COMMENT; Schema: public; Owner: postgres
  725. --
  726. COMMENT ON COLUMN public.mf_product.parent_id IS '父产品id';
  727. --
  728. -- Name: COLUMN mf_product.product_name; Type: COMMENT; Schema: public; Owner: postgres
  729. --
  730. COMMENT ON COLUMN public.mf_product.product_name IS '产品名称';
  731. --
  732. -- Name: COLUMN mf_product.order_num; Type: COMMENT; Schema: public; Owner: postgres
  733. --
  734. COMMENT ON COLUMN public.mf_product.order_num IS '显示顺序';
  735. --
  736. -- Name: COLUMN mf_product.status; Type: COMMENT; Schema: public; Owner: postgres
  737. --
  738. COMMENT ON COLUMN public.mf_product.status IS '产品状态(0正常 1停用)';
  739. --
  740. -- Name: COLUMN mf_product.version; Type: COMMENT; Schema: public; Owner: postgres
  741. --
  742. COMMENT ON COLUMN public.mf_product.version IS '乐观锁';
  743. --
  744. -- Name: COLUMN mf_product.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  745. --
  746. COMMENT ON COLUMN public.mf_product.del_flag IS '逻辑删除标志(0代表存在 1代表删除)';
  747. --
  748. -- Name: COLUMN mf_product.create_by; Type: COMMENT; Schema: public; Owner: postgres
  749. --
  750. COMMENT ON COLUMN public.mf_product.create_by IS '创建者';
  751. --
  752. -- Name: COLUMN mf_product.create_time; Type: COMMENT; Schema: public; Owner: postgres
  753. --
  754. COMMENT ON COLUMN public.mf_product.create_time IS '创建时间';
  755. --
  756. -- Name: COLUMN mf_product.update_by; Type: COMMENT; Schema: public; Owner: postgres
  757. --
  758. COMMENT ON COLUMN public.mf_product.update_by IS '更新者';
  759. --
  760. -- Name: COLUMN mf_product.update_time; Type: COMMENT; Schema: public; Owner: postgres
  761. --
  762. COMMENT ON COLUMN public.mf_product.update_time IS '更新时间';
  763. --
  764. -- Name: mf_student; Type: TABLE; Schema: public; Owner: postgres
  765. --
  766. CREATE TABLE public.mf_student
  767. (
  768. student_id bigint NOT NULL,
  769. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  770. student_name character varying(30) NOT NULL,
  771. student_age integer,
  772. student_hobby character varying(30) NOT NULL,
  773. student_gender character(1) NOT NULL,
  774. student_status character(1) DEFAULT '0'::bpchar,
  775. student_birthday timestamp without time zone,
  776. version integer DEFAULT 0,
  777. del_flag smallint DEFAULT '0'::smallint,
  778. create_by bigint,
  779. create_time timestamp without time zone,
  780. update_by bigint,
  781. update_time timestamp without time zone
  782. );
  783. ALTER TABLE public.mf_student
  784. OWNER TO postgres;
  785. --
  786. -- Name: TABLE mf_student; Type: COMMENT; Schema: public; Owner: postgres
  787. --
  788. COMMENT ON TABLE public.mf_student IS '学生信息单表';
  789. --
  790. -- Name: COLUMN mf_student.student_id; Type: COMMENT; Schema: public; Owner: postgres
  791. --
  792. COMMENT ON COLUMN public.mf_student.student_id IS '编号';
  793. --
  794. -- Name: COLUMN mf_student.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  795. --
  796. COMMENT ON COLUMN public.mf_student.tenant_id IS '租户编码';
  797. --
  798. -- Name: COLUMN mf_student.student_name; Type: COMMENT; Schema: public; Owner: postgres
  799. --
  800. COMMENT ON COLUMN public.mf_student.student_name IS '学生名称';
  801. --
  802. -- Name: COLUMN mf_student.student_age; Type: COMMENT; Schema: public; Owner: postgres
  803. --
  804. COMMENT ON COLUMN public.mf_student.student_age IS '年龄';
  805. --
  806. -- Name: COLUMN mf_student.student_hobby; Type: COMMENT; Schema: public; Owner: postgres
  807. --
  808. COMMENT ON COLUMN public.mf_student.student_hobby IS '爱好(0代码 1音乐 2电影)';
  809. --
  810. -- Name: COLUMN mf_student.student_gender; Type: COMMENT; Schema: public; Owner: postgres
  811. --
  812. COMMENT ON COLUMN public.mf_student.student_gender IS '性别(1男 2女 3未知)';
  813. --
  814. -- Name: COLUMN mf_student.student_status; Type: COMMENT; Schema: public; Owner: postgres
  815. --
  816. COMMENT ON COLUMN public.mf_student.student_status IS '状态(0正常 1停用)';
  817. --
  818. -- Name: COLUMN mf_student.student_birthday; Type: COMMENT; Schema: public; Owner: postgres
  819. --
  820. COMMENT ON COLUMN public.mf_student.student_birthday IS '生日';
  821. --
  822. -- Name: COLUMN mf_student.version; Type: COMMENT; Schema: public; Owner: postgres
  823. --
  824. COMMENT ON COLUMN public.mf_student.version IS '乐观锁';
  825. --
  826. -- Name: COLUMN mf_student.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  827. --
  828. COMMENT ON COLUMN public.mf_student.del_flag IS '逻辑删除标志(0代表存在 1代表删除)';
  829. --
  830. -- Name: COLUMN mf_student.create_by; Type: COMMENT; Schema: public; Owner: postgres
  831. --
  832. COMMENT ON COLUMN public.mf_student.create_by IS '创建者';
  833. --
  834. -- Name: COLUMN mf_student.create_time; Type: COMMENT; Schema: public; Owner: postgres
  835. --
  836. COMMENT ON COLUMN public.mf_student.create_time IS '创建时间';
  837. --
  838. -- Name: COLUMN mf_student.update_by; Type: COMMENT; Schema: public; Owner: postgres
  839. --
  840. COMMENT ON COLUMN public.mf_student.update_by IS '更新者';
  841. --
  842. -- Name: COLUMN mf_student.update_time; Type: COMMENT; Schema: public; Owner: postgres
  843. --
  844. COMMENT ON COLUMN public.mf_student.update_time IS '更新时间';
  845. --
  846. -- Name: pj_app_info; Type: TABLE; Schema: public; Owner: postgres
  847. --
  848. CREATE TABLE public.pj_app_info
  849. (
  850. id bigint NOT NULL,
  851. app_name character varying(255) DEFAULT NULL::character varying,
  852. current_server character varying(255) DEFAULT NULL::character varying,
  853. gmt_create timestamp without time zone,
  854. gmt_modified timestamp without time zone,
  855. password character varying(255) DEFAULT NULL::character varying
  856. );
  857. ALTER TABLE public.pj_app_info
  858. OWNER TO postgres;
  859. --
  860. -- Name: pj_container_info; Type: TABLE; Schema: public; Owner: postgres
  861. --
  862. CREATE TABLE public.pj_container_info
  863. (
  864. id bigint NOT NULL,
  865. app_id bigint,
  866. container_name character varying(255) DEFAULT NULL::character varying,
  867. gmt_create timestamp without time zone,
  868. gmt_modified timestamp without time zone,
  869. last_deploy_time timestamp without time zone,
  870. source_info character varying(255) DEFAULT NULL::character varying,
  871. source_type integer,
  872. status integer,
  873. version character varying(255) DEFAULT NULL::character varying
  874. );
  875. ALTER TABLE public.pj_container_info
  876. OWNER TO postgres;
  877. --
  878. -- Name: pj_instance_info; Type: TABLE; Schema: public; Owner: postgres
  879. --
  880. CREATE TABLE public.pj_instance_info
  881. (
  882. id bigint NOT NULL,
  883. actual_trigger_time bigint,
  884. app_id bigint,
  885. expected_trigger_time bigint,
  886. finished_time bigint,
  887. gmt_create timestamp without time zone,
  888. gmt_modified timestamp without time zone,
  889. instance_id bigint,
  890. instance_params text,
  891. job_id bigint,
  892. job_params text,
  893. last_report_time bigint,
  894. result text,
  895. running_times bigint,
  896. status integer,
  897. task_tracker_address character varying(255) DEFAULT NULL::character varying,
  898. type integer,
  899. wf_instance_id bigint
  900. );
  901. ALTER TABLE public.pj_instance_info
  902. OWNER TO postgres;
  903. --
  904. -- Name: pj_job_info; Type: TABLE; Schema: public; Owner: postgres
  905. --
  906. CREATE TABLE public.pj_job_info
  907. (
  908. id bigint NOT NULL,
  909. alarm_config character varying(255) DEFAULT NULL::character varying,
  910. app_id bigint,
  911. concurrency integer,
  912. designated_workers character varying(255) DEFAULT NULL::character varying,
  913. dispatch_strategy integer,
  914. execute_type integer,
  915. extra character varying(255) DEFAULT NULL::character varying,
  916. gmt_create timestamp without time zone,
  917. gmt_modified timestamp without time zone,
  918. instance_retry_num integer,
  919. instance_time_limit bigint,
  920. job_description character varying(255) DEFAULT NULL::character varying,
  921. job_name character varying(255) DEFAULT NULL::character varying,
  922. job_params text,
  923. lifecycle character varying(255) DEFAULT NULL::character varying,
  924. log_config character varying(255) DEFAULT NULL::character varying,
  925. max_instance_num integer,
  926. max_worker_count integer,
  927. min_cpu_cores double precision NOT NULL,
  928. min_disk_space double precision NOT NULL,
  929. min_memory_space double precision NOT NULL,
  930. next_trigger_time bigint,
  931. notify_user_ids character varying(255) DEFAULT NULL::character varying,
  932. processor_info character varying(255) DEFAULT NULL::character varying,
  933. processor_type integer,
  934. status integer,
  935. tag character varying(255) DEFAULT NULL::character varying,
  936. task_retry_num integer,
  937. time_expression character varying(255) DEFAULT NULL::character varying,
  938. time_expression_type integer
  939. );
  940. ALTER TABLE public.pj_job_info
  941. OWNER TO postgres;
  942. --
  943. -- Name: pj_oms_lock; Type: TABLE; Schema: public; Owner: postgres
  944. --
  945. CREATE TABLE public.pj_oms_lock
  946. (
  947. id bigint NOT NULL,
  948. gmt_create timestamp without time zone,
  949. gmt_modified timestamp without time zone,
  950. lock_name character varying(255) DEFAULT NULL::character varying,
  951. max_lock_time bigint,
  952. ownerip character varying(255) DEFAULT NULL::character varying
  953. );
  954. ALTER TABLE public.pj_oms_lock
  955. OWNER TO postgres;
  956. --
  957. -- Name: pj_server_info; Type: TABLE; Schema: public; Owner: postgres
  958. --
  959. CREATE TABLE public.pj_server_info
  960. (
  961. id bigint NOT NULL,
  962. gmt_create timestamp without time zone,
  963. gmt_modified timestamp without time zone,
  964. ip character varying(255) DEFAULT NULL::character varying
  965. );
  966. ALTER TABLE public.pj_server_info
  967. OWNER TO postgres;
  968. --
  969. -- Name: pj_user_info; Type: TABLE; Schema: public; Owner: postgres
  970. --
  971. CREATE TABLE public.pj_user_info
  972. (
  973. id bigint NOT NULL,
  974. email character varying(255) DEFAULT NULL::character varying,
  975. extra character varying(255) DEFAULT NULL::character varying,
  976. gmt_create timestamp without time zone,
  977. gmt_modified timestamp without time zone,
  978. password character varying(255) DEFAULT NULL::character varying,
  979. phone character varying(255) DEFAULT NULL::character varying,
  980. username character varying(255) DEFAULT NULL::character varying,
  981. web_hook character varying(255) DEFAULT NULL::character varying
  982. );
  983. ALTER TABLE public.pj_user_info
  984. OWNER TO postgres;
  985. --
  986. -- Name: pj_workflow_info; Type: TABLE; Schema: public; Owner: postgres
  987. --
  988. CREATE TABLE public.pj_workflow_info
  989. (
  990. id bigint NOT NULL,
  991. app_id bigint,
  992. extra character varying(255) DEFAULT NULL::character varying,
  993. gmt_create timestamp without time zone,
  994. gmt_modified timestamp without time zone,
  995. lifecycle character varying(255) DEFAULT NULL::character varying,
  996. max_wf_instance_num integer,
  997. next_trigger_time bigint,
  998. notify_user_ids character varying(255) DEFAULT NULL::character varying,
  999. pedag text,
  1000. status integer,
  1001. time_expression character varying(255) DEFAULT NULL::character varying,
  1002. time_expression_type integer,
  1003. wf_description character varying(255) DEFAULT NULL::character varying,
  1004. wf_name character varying(255) DEFAULT NULL::character varying
  1005. );
  1006. ALTER TABLE public.pj_workflow_info
  1007. OWNER TO postgres;
  1008. --
  1009. -- Name: pj_workflow_instance_info; Type: TABLE; Schema: public; Owner: postgres
  1010. --
  1011. CREATE TABLE public.pj_workflow_instance_info
  1012. (
  1013. id bigint NOT NULL,
  1014. actual_trigger_time bigint,
  1015. app_id bigint,
  1016. dag text,
  1017. expected_trigger_time bigint,
  1018. finished_time bigint,
  1019. gmt_create timestamp without time zone,
  1020. gmt_modified timestamp without time zone,
  1021. parent_wf_instance_id bigint,
  1022. result text,
  1023. status integer,
  1024. wf_context text,
  1025. wf_init_params text,
  1026. wf_instance_id bigint,
  1027. workflow_id bigint
  1028. );
  1029. ALTER TABLE public.pj_workflow_instance_info
  1030. OWNER TO postgres;
  1031. --
  1032. -- Name: pj_workflow_node_info; Type: TABLE; Schema: public; Owner: postgres
  1033. --
  1034. CREATE TABLE public.pj_workflow_node_info
  1035. (
  1036. id bigint NOT NULL,
  1037. app_id bigint NOT NULL,
  1038. enable boolean NOT NULL,
  1039. extra text,
  1040. gmt_create timestamp without time zone NOT NULL,
  1041. gmt_modified timestamp without time zone NOT NULL,
  1042. job_id bigint,
  1043. node_name character varying(255) DEFAULT NULL::character varying,
  1044. node_params text,
  1045. skip_when_failed boolean NOT NULL,
  1046. type integer,
  1047. workflow_id bigint
  1048. );
  1049. ALTER TABLE public.pj_workflow_node_info
  1050. OWNER TO postgres;
  1051. --
  1052. -- Name: sys_client; Type: TABLE; Schema: public; Owner: postgres
  1053. --
  1054. CREATE TABLE public.sys_client
  1055. (
  1056. id bigint NOT NULL,
  1057. client_id character varying(64) DEFAULT ''::character varying,
  1058. client_key character varying(32) DEFAULT ''::character varying,
  1059. client_secret character varying(255) DEFAULT ''::character varying,
  1060. grant_type character varying(255) DEFAULT ''::character varying,
  1061. device_type character varying(32) DEFAULT ''::character varying,
  1062. active_timeout integer DEFAULT 1800,
  1063. timeout integer DEFAULT 604800,
  1064. status character(1) DEFAULT '0'::bpchar,
  1065. version integer DEFAULT 0,
  1066. del_flag smallint DEFAULT 0,
  1067. create_by bigint,
  1068. create_time timestamp without time zone,
  1069. update_by bigint,
  1070. update_time timestamp without time zone
  1071. );
  1072. ALTER TABLE public.sys_client
  1073. OWNER TO postgres;
  1074. --
  1075. -- Name: TABLE sys_client; Type: COMMENT; Schema: public; Owner: postgres
  1076. --
  1077. COMMENT ON TABLE public.sys_client IS '系统授权表';
  1078. --
  1079. -- Name: COLUMN sys_client.id; Type: COMMENT; Schema: public; Owner: postgres
  1080. --
  1081. COMMENT ON COLUMN public.sys_client.id IS '主建';
  1082. --
  1083. -- Name: COLUMN sys_client.client_id; Type: COMMENT; Schema: public; Owner: postgres
  1084. --
  1085. COMMENT ON COLUMN public.sys_client.client_id IS '客户端id';
  1086. --
  1087. -- Name: COLUMN sys_client.client_key; Type: COMMENT; Schema: public; Owner: postgres
  1088. --
  1089. COMMENT ON COLUMN public.sys_client.client_key IS '客户端key';
  1090. --
  1091. -- Name: COLUMN sys_client.client_secret; Type: COMMENT; Schema: public; Owner: postgres
  1092. --
  1093. COMMENT ON COLUMN public.sys_client.client_secret IS '客户端秘钥';
  1094. --
  1095. -- Name: COLUMN sys_client.grant_type; Type: COMMENT; Schema: public; Owner: postgres
  1096. --
  1097. COMMENT ON COLUMN public.sys_client.grant_type IS '授权类型';
  1098. --
  1099. -- Name: COLUMN sys_client.device_type; Type: COMMENT; Schema: public; Owner: postgres
  1100. --
  1101. COMMENT ON COLUMN public.sys_client.device_type IS '设备类型';
  1102. --
  1103. -- Name: COLUMN sys_client.active_timeout; Type: COMMENT; Schema: public; Owner: postgres
  1104. --
  1105. COMMENT ON COLUMN public.sys_client.active_timeout IS 'token活跃超时时间';
  1106. --
  1107. -- Name: COLUMN sys_client.timeout; Type: COMMENT; Schema: public; Owner: postgres
  1108. --
  1109. COMMENT ON COLUMN public.sys_client.timeout IS 'token固定超时';
  1110. --
  1111. -- Name: COLUMN sys_client.status; Type: COMMENT; Schema: public; Owner: postgres
  1112. --
  1113. COMMENT ON COLUMN public.sys_client.status IS '状态(0正常 1停用)';
  1114. --
  1115. -- Name: COLUMN sys_client.version; Type: COMMENT; Schema: public; Owner: postgres
  1116. --
  1117. COMMENT ON COLUMN public.sys_client.version IS '乐观锁';
  1118. --
  1119. -- Name: COLUMN sys_client.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  1120. --
  1121. COMMENT ON COLUMN public.sys_client.del_flag IS '删除标志(0代表存在 1代表删除)';
  1122. --
  1123. -- Name: COLUMN sys_client.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1124. --
  1125. COMMENT ON COLUMN public.sys_client.create_by IS '创建者';
  1126. --
  1127. -- Name: COLUMN sys_client.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1128. --
  1129. COMMENT ON COLUMN public.sys_client.create_time IS '创建时间';
  1130. --
  1131. -- Name: COLUMN sys_client.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1132. --
  1133. COMMENT ON COLUMN public.sys_client.update_by IS '更新者';
  1134. --
  1135. -- Name: COLUMN sys_client.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1136. --
  1137. COMMENT ON COLUMN public.sys_client.update_time IS '更新时间';
  1138. --
  1139. -- Name: sys_config; Type: TABLE; Schema: public; Owner: postgres
  1140. --
  1141. CREATE TABLE public.sys_config
  1142. (
  1143. config_id bigint NOT NULL,
  1144. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1145. config_name character varying(100) DEFAULT ''::character varying,
  1146. config_key character varying(100) DEFAULT ''::character varying,
  1147. config_value character varying(500) DEFAULT ''::character varying,
  1148. config_type character(1) DEFAULT 'N'::bpchar,
  1149. version integer DEFAULT 0,
  1150. create_by bigint,
  1151. create_time timestamp without time zone,
  1152. update_by bigint,
  1153. update_time timestamp without time zone,
  1154. remark character varying(500) DEFAULT NULL::character varying
  1155. );
  1156. ALTER TABLE public.sys_config
  1157. OWNER TO postgres;
  1158. --
  1159. -- Name: TABLE sys_config; Type: COMMENT; Schema: public; Owner: postgres
  1160. --
  1161. COMMENT ON TABLE public.sys_config IS '参数配置表';
  1162. --
  1163. -- Name: COLUMN sys_config.config_id; Type: COMMENT; Schema: public; Owner: postgres
  1164. --
  1165. COMMENT ON COLUMN public.sys_config.config_id IS '参数主键';
  1166. --
  1167. -- Name: COLUMN sys_config.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1168. --
  1169. COMMENT ON COLUMN public.sys_config.tenant_id IS '租户编号';
  1170. --
  1171. -- Name: COLUMN sys_config.config_name; Type: COMMENT; Schema: public; Owner: postgres
  1172. --
  1173. COMMENT ON COLUMN public.sys_config.config_name IS '参数名称';
  1174. --
  1175. -- Name: COLUMN sys_config.config_key; Type: COMMENT; Schema: public; Owner: postgres
  1176. --
  1177. COMMENT ON COLUMN public.sys_config.config_key IS '参数键名';
  1178. --
  1179. -- Name: COLUMN sys_config.config_value; Type: COMMENT; Schema: public; Owner: postgres
  1180. --
  1181. COMMENT ON COLUMN public.sys_config.config_value IS '参数键值';
  1182. --
  1183. -- Name: COLUMN sys_config.config_type; Type: COMMENT; Schema: public; Owner: postgres
  1184. --
  1185. COMMENT ON COLUMN public.sys_config.config_type IS '系统内置(Y是 N否)';
  1186. --
  1187. -- Name: COLUMN sys_config.version; Type: COMMENT; Schema: public; Owner: postgres
  1188. --
  1189. COMMENT ON COLUMN public.sys_config.version IS '乐观锁';
  1190. --
  1191. -- Name: COLUMN sys_config.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1192. --
  1193. COMMENT ON COLUMN public.sys_config.create_by IS '创建者';
  1194. --
  1195. -- Name: COLUMN sys_config.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1196. --
  1197. COMMENT ON COLUMN public.sys_config.create_time IS '创建时间';
  1198. --
  1199. -- Name: COLUMN sys_config.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1200. --
  1201. COMMENT ON COLUMN public.sys_config.update_by IS '更新者';
  1202. --
  1203. -- Name: COLUMN sys_config.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1204. --
  1205. COMMENT ON COLUMN public.sys_config.update_time IS '更新时间';
  1206. --
  1207. -- Name: COLUMN sys_config.remark; Type: COMMENT; Schema: public; Owner: postgres
  1208. --
  1209. COMMENT ON COLUMN public.sys_config.remark IS '备注';
  1210. --
  1211. -- Name: sys_dept; Type: TABLE; Schema: public; Owner: postgres
  1212. --
  1213. CREATE TABLE public.sys_dept
  1214. (
  1215. dept_id bigint NOT NULL,
  1216. tenant_id bigint DEFAULT 0,
  1217. parent_id bigint DEFAULT 0,
  1218. ancestors character varying(760) DEFAULT ''::character varying,
  1219. dept_name character varying(30) DEFAULT ''::character varying,
  1220. order_num integer DEFAULT 0,
  1221. leader character varying(20) DEFAULT ''::character varying,
  1222. phone character varying(11) DEFAULT NULL::character varying,
  1223. email character varying(50) DEFAULT NULL::character varying,
  1224. status character(1) DEFAULT '0'::bpchar,
  1225. version integer DEFAULT 0,
  1226. del_flag smallint DEFAULT 0,
  1227. create_by bigint,
  1228. create_time timestamp without time zone,
  1229. update_by bigint,
  1230. update_time timestamp without time zone
  1231. );
  1232. ALTER TABLE public.sys_dept
  1233. OWNER TO postgres;
  1234. --
  1235. -- Name: TABLE sys_dept; Type: COMMENT; Schema: public; Owner: postgres
  1236. --
  1237. COMMENT ON TABLE public.sys_dept IS '部门表';
  1238. --
  1239. -- Name: COLUMN sys_dept.dept_id; Type: COMMENT; Schema: public; Owner: postgres
  1240. --
  1241. COMMENT ON COLUMN public.sys_dept.dept_id IS '部门ID';
  1242. --
  1243. -- Name: COLUMN sys_dept.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1244. --
  1245. COMMENT ON COLUMN public.sys_dept.tenant_id IS '租户编号';
  1246. --
  1247. -- Name: COLUMN sys_dept.parent_id; Type: COMMENT; Schema: public; Owner: postgres
  1248. --
  1249. COMMENT ON COLUMN public.sys_dept.parent_id IS '父部门ID';
  1250. --
  1251. -- Name: COLUMN sys_dept.ancestors; Type: COMMENT; Schema: public; Owner: postgres
  1252. --
  1253. COMMENT ON COLUMN public.sys_dept.ancestors IS '祖级列表';
  1254. --
  1255. -- Name: COLUMN sys_dept.dept_name; Type: COMMENT; Schema: public; Owner: postgres
  1256. --
  1257. COMMENT ON COLUMN public.sys_dept.dept_name IS '部门名称';
  1258. --
  1259. -- Name: COLUMN sys_dept.order_num; Type: COMMENT; Schema: public; Owner: postgres
  1260. --
  1261. COMMENT ON COLUMN public.sys_dept.order_num IS '显示顺序';
  1262. --
  1263. -- Name: COLUMN sys_dept.leader; Type: COMMENT; Schema: public; Owner: postgres
  1264. --
  1265. COMMENT ON COLUMN public.sys_dept.leader IS '负责人';
  1266. --
  1267. -- Name: COLUMN sys_dept.phone; Type: COMMENT; Schema: public; Owner: postgres
  1268. --
  1269. COMMENT ON COLUMN public.sys_dept.phone IS '联系电话';
  1270. --
  1271. -- Name: COLUMN sys_dept.email; Type: COMMENT; Schema: public; Owner: postgres
  1272. --
  1273. COMMENT ON COLUMN public.sys_dept.email IS '邮箱';
  1274. --
  1275. -- Name: COLUMN sys_dept.status; Type: COMMENT; Schema: public; Owner: postgres
  1276. --
  1277. COMMENT ON COLUMN public.sys_dept.status IS '部门状态(0正常 1停用)';
  1278. --
  1279. -- Name: COLUMN sys_dept.version; Type: COMMENT; Schema: public; Owner: postgres
  1280. --
  1281. COMMENT ON COLUMN public.sys_dept.version IS '乐观锁';
  1282. --
  1283. -- Name: COLUMN sys_dept.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  1284. --
  1285. COMMENT ON COLUMN public.sys_dept.del_flag IS '删除标志(0代表存在 1代表删除)';
  1286. --
  1287. -- Name: COLUMN sys_dept.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1288. --
  1289. COMMENT ON COLUMN public.sys_dept.create_by IS '创建者';
  1290. --
  1291. -- Name: COLUMN sys_dept.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1292. --
  1293. COMMENT ON COLUMN public.sys_dept.create_time IS '创建时间';
  1294. --
  1295. -- Name: COLUMN sys_dept.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1296. --
  1297. COMMENT ON COLUMN public.sys_dept.update_by IS '更新者';
  1298. --
  1299. -- Name: COLUMN sys_dept.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1300. --
  1301. COMMENT ON COLUMN public.sys_dept.update_time IS '更新时间';
  1302. --
  1303. -- Name: sys_dict_data; Type: TABLE; Schema: public; Owner: postgres
  1304. --
  1305. CREATE TABLE public.sys_dict_data
  1306. (
  1307. dict_code bigint NOT NULL,
  1308. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1309. dict_sort integer DEFAULT 0,
  1310. dict_label character varying(100) DEFAULT ''::character varying,
  1311. dict_value character varying(100) DEFAULT ''::character varying,
  1312. dict_type character varying(100) DEFAULT ''::character varying,
  1313. css_class character varying(100) DEFAULT NULL::character varying,
  1314. list_class character varying(100) DEFAULT NULL::character varying,
  1315. is_default character(1) DEFAULT 'N'::bpchar,
  1316. version integer DEFAULT 0,
  1317. create_by bigint,
  1318. create_time timestamp without time zone,
  1319. update_by bigint,
  1320. update_time timestamp without time zone,
  1321. remark character varying(2000) DEFAULT NULL::character varying
  1322. );
  1323. ALTER TABLE public.sys_dict_data
  1324. OWNER TO postgres;
  1325. --
  1326. -- Name: TABLE sys_dict_data; Type: COMMENT; Schema: public; Owner: postgres
  1327. --
  1328. COMMENT ON TABLE public.sys_dict_data IS '字典数据表';
  1329. --
  1330. -- Name: COLUMN sys_dict_data.dict_code; Type: COMMENT; Schema: public; Owner: postgres
  1331. --
  1332. COMMENT ON COLUMN public.sys_dict_data.dict_code IS '字典编码';
  1333. --
  1334. -- Name: COLUMN sys_dict_data.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1335. --
  1336. COMMENT ON COLUMN public.sys_dict_data.tenant_id IS '租户编号';
  1337. --
  1338. -- Name: COLUMN sys_dict_data.dict_sort; Type: COMMENT; Schema: public; Owner: postgres
  1339. --
  1340. COMMENT ON COLUMN public.sys_dict_data.dict_sort IS '字典排序';
  1341. --
  1342. -- Name: COLUMN sys_dict_data.dict_label; Type: COMMENT; Schema: public; Owner: postgres
  1343. --
  1344. COMMENT ON COLUMN public.sys_dict_data.dict_label IS '字典标签';
  1345. --
  1346. -- Name: COLUMN sys_dict_data.dict_value; Type: COMMENT; Schema: public; Owner: postgres
  1347. --
  1348. COMMENT ON COLUMN public.sys_dict_data.dict_value IS '字典键值';
  1349. --
  1350. -- Name: COLUMN sys_dict_data.dict_type; Type: COMMENT; Schema: public; Owner: postgres
  1351. --
  1352. COMMENT ON COLUMN public.sys_dict_data.dict_type IS '字典类型';
  1353. --
  1354. -- Name: COLUMN sys_dict_data.css_class; Type: COMMENT; Schema: public; Owner: postgres
  1355. --
  1356. COMMENT ON COLUMN public.sys_dict_data.css_class IS '样式属性(其他样式扩展)';
  1357. --
  1358. -- Name: COLUMN sys_dict_data.list_class; Type: COMMENT; Schema: public; Owner: postgres
  1359. --
  1360. COMMENT ON COLUMN public.sys_dict_data.list_class IS '表格回显样式';
  1361. --
  1362. -- Name: COLUMN sys_dict_data.is_default; Type: COMMENT; Schema: public; Owner: postgres
  1363. --
  1364. COMMENT ON COLUMN public.sys_dict_data.is_default IS '是否默认(Y是 N否)';
  1365. --
  1366. -- Name: COLUMN sys_dict_data.version; Type: COMMENT; Schema: public; Owner: postgres
  1367. --
  1368. COMMENT ON COLUMN public.sys_dict_data.version IS '乐观锁';
  1369. --
  1370. -- Name: COLUMN sys_dict_data.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1371. --
  1372. COMMENT ON COLUMN public.sys_dict_data.create_by IS '创建者';
  1373. --
  1374. -- Name: COLUMN sys_dict_data.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1375. --
  1376. COMMENT ON COLUMN public.sys_dict_data.create_time IS '创建时间';
  1377. --
  1378. -- Name: COLUMN sys_dict_data.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1379. --
  1380. COMMENT ON COLUMN public.sys_dict_data.update_by IS '更新者';
  1381. --
  1382. -- Name: COLUMN sys_dict_data.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1383. --
  1384. COMMENT ON COLUMN public.sys_dict_data.update_time IS '更新时间';
  1385. --
  1386. -- Name: COLUMN sys_dict_data.remark; Type: COMMENT; Schema: public; Owner: postgres
  1387. --
  1388. COMMENT ON COLUMN public.sys_dict_data.remark IS '备注';
  1389. --
  1390. -- Name: sys_dict_type; Type: TABLE; Schema: public; Owner: postgres
  1391. --
  1392. CREATE TABLE public.sys_dict_type
  1393. (
  1394. dict_id bigint NOT NULL,
  1395. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1396. dict_name character varying(100) DEFAULT ''::character varying,
  1397. dict_type character varying(100) DEFAULT ''::character varying,
  1398. version integer DEFAULT 0,
  1399. create_by bigint,
  1400. create_time timestamp without time zone,
  1401. update_by bigint,
  1402. update_time timestamp without time zone,
  1403. remark character varying(500) DEFAULT NULL::character varying
  1404. );
  1405. ALTER TABLE public.sys_dict_type
  1406. OWNER TO postgres;
  1407. --
  1408. -- Name: TABLE sys_dict_type; Type: COMMENT; Schema: public; Owner: postgres
  1409. --
  1410. COMMENT ON TABLE public.sys_dict_type IS '字典类型表';
  1411. --
  1412. -- Name: COLUMN sys_dict_type.dict_id; Type: COMMENT; Schema: public; Owner: postgres
  1413. --
  1414. COMMENT ON COLUMN public.sys_dict_type.dict_id IS '字典主键';
  1415. --
  1416. -- Name: COLUMN sys_dict_type.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1417. --
  1418. COMMENT ON COLUMN public.sys_dict_type.tenant_id IS '租户编号';
  1419. --
  1420. -- Name: COLUMN sys_dict_type.dict_name; Type: COMMENT; Schema: public; Owner: postgres
  1421. --
  1422. COMMENT ON COLUMN public.sys_dict_type.dict_name IS '字典名称';
  1423. --
  1424. -- Name: COLUMN sys_dict_type.dict_type; Type: COMMENT; Schema: public; Owner: postgres
  1425. --
  1426. COMMENT ON COLUMN public.sys_dict_type.dict_type IS '字典类型';
  1427. --
  1428. -- Name: COLUMN sys_dict_type.version; Type: COMMENT; Schema: public; Owner: postgres
  1429. --
  1430. COMMENT ON COLUMN public.sys_dict_type.version IS '乐观锁';
  1431. --
  1432. -- Name: COLUMN sys_dict_type.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1433. --
  1434. COMMENT ON COLUMN public.sys_dict_type.create_by IS '创建者';
  1435. --
  1436. -- Name: COLUMN sys_dict_type.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1437. --
  1438. COMMENT ON COLUMN public.sys_dict_type.create_time IS '创建时间';
  1439. --
  1440. -- Name: COLUMN sys_dict_type.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1441. --
  1442. COMMENT ON COLUMN public.sys_dict_type.update_by IS '更新者';
  1443. --
  1444. -- Name: COLUMN sys_dict_type.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1445. --
  1446. COMMENT ON COLUMN public.sys_dict_type.update_time IS '更新时间';
  1447. --
  1448. -- Name: COLUMN sys_dict_type.remark; Type: COMMENT; Schema: public; Owner: postgres
  1449. --
  1450. COMMENT ON COLUMN public.sys_dict_type.remark IS '备注';
  1451. --
  1452. -- Name: sys_logininfor; Type: TABLE; Schema: public; Owner: postgres
  1453. --
  1454. CREATE TABLE public.sys_logininfor
  1455. (
  1456. info_id bigint NOT NULL,
  1457. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1458. user_name character varying(50) DEFAULT ''::character varying,
  1459. client_key character varying(32) DEFAULT ''::character varying,
  1460. device_type character varying(32) DEFAULT ''::character varying,
  1461. ipaddr character varying(128) DEFAULT ''::character varying,
  1462. login_location character varying(255) DEFAULT ''::character varying,
  1463. browser character varying(50) DEFAULT ''::character varying,
  1464. os character varying(50) DEFAULT ''::character varying,
  1465. status character(1) DEFAULT '0'::bpchar,
  1466. msg character varying(255) DEFAULT ''::character varying,
  1467. login_time timestamp without time zone
  1468. );
  1469. ALTER TABLE public.sys_logininfor
  1470. OWNER TO postgres;
  1471. --
  1472. -- Name: TABLE sys_logininfor; Type: COMMENT; Schema: public; Owner: postgres
  1473. --
  1474. COMMENT ON TABLE public.sys_logininfor IS '系统访问记录';
  1475. --
  1476. -- Name: COLUMN sys_logininfor.info_id; Type: COMMENT; Schema: public; Owner: postgres
  1477. --
  1478. COMMENT ON COLUMN public.sys_logininfor.info_id IS '访问ID';
  1479. --
  1480. -- Name: COLUMN sys_logininfor.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1481. --
  1482. COMMENT ON COLUMN public.sys_logininfor.tenant_id IS '租户编号';
  1483. --
  1484. -- Name: COLUMN sys_logininfor.user_name; Type: COMMENT; Schema: public; Owner: postgres
  1485. --
  1486. COMMENT ON COLUMN public.sys_logininfor.user_name IS '用户账号';
  1487. --
  1488. -- Name: COLUMN sys_logininfor.client_key; Type: COMMENT; Schema: public; Owner: postgres
  1489. --
  1490. COMMENT ON COLUMN public.sys_logininfor.client_key IS '客户端';
  1491. --
  1492. -- Name: COLUMN sys_logininfor.device_type; Type: COMMENT; Schema: public; Owner: postgres
  1493. --
  1494. COMMENT ON COLUMN public.sys_logininfor.device_type IS '设备类型';
  1495. --
  1496. -- Name: COLUMN sys_logininfor.ipaddr; Type: COMMENT; Schema: public; Owner: postgres
  1497. --
  1498. COMMENT ON COLUMN public.sys_logininfor.ipaddr IS '登录IP地址';
  1499. --
  1500. -- Name: COLUMN sys_logininfor.login_location; Type: COMMENT; Schema: public; Owner: postgres
  1501. --
  1502. COMMENT ON COLUMN public.sys_logininfor.login_location IS '登录地点';
  1503. --
  1504. -- Name: COLUMN sys_logininfor.browser; Type: COMMENT; Schema: public; Owner: postgres
  1505. --
  1506. COMMENT ON COLUMN public.sys_logininfor.browser IS '浏览器类型';
  1507. --
  1508. -- Name: COLUMN sys_logininfor.os; Type: COMMENT; Schema: public; Owner: postgres
  1509. --
  1510. COMMENT ON COLUMN public.sys_logininfor.os IS '操作系统';
  1511. --
  1512. -- Name: COLUMN sys_logininfor.status; Type: COMMENT; Schema: public; Owner: postgres
  1513. --
  1514. COMMENT ON COLUMN public.sys_logininfor.status IS '登录状态(0成功 1失败)';
  1515. --
  1516. -- Name: COLUMN sys_logininfor.msg; Type: COMMENT; Schema: public; Owner: postgres
  1517. --
  1518. COMMENT ON COLUMN public.sys_logininfor.msg IS '提示消息';
  1519. --
  1520. -- Name: COLUMN sys_logininfor.login_time; Type: COMMENT; Schema: public; Owner: postgres
  1521. --
  1522. COMMENT ON COLUMN public.sys_logininfor.login_time IS '访问时间';
  1523. --
  1524. -- Name: sys_menu; Type: TABLE; Schema: public; Owner: postgres
  1525. --
  1526. CREATE TABLE public.sys_menu
  1527. (
  1528. menu_id bigint NOT NULL,
  1529. menu_name character varying(50) NOT NULL,
  1530. parent_id bigint DEFAULT 0,
  1531. order_num integer DEFAULT 0,
  1532. path character varying(200) DEFAULT ''::character varying,
  1533. component character varying(255) DEFAULT NULL::character varying,
  1534. component_name character varying(255) DEFAULT NULL::character varying,
  1535. query_param character varying(255) DEFAULT NULL::character varying,
  1536. is_frame character(1) DEFAULT '1'::bpchar,
  1537. is_cache character(1) DEFAULT '0'::bpchar,
  1538. menu_type character(1) DEFAULT ''::bpchar,
  1539. visible character(1) DEFAULT '0'::bpchar,
  1540. status character(1) DEFAULT '0'::bpchar,
  1541. perms character varying(100) DEFAULT NULL::character varying,
  1542. icon character varying(100) DEFAULT '#'::character varying,
  1543. version integer DEFAULT 0,
  1544. create_by bigint,
  1545. create_time timestamp without time zone,
  1546. update_by bigint,
  1547. update_time timestamp without time zone,
  1548. remark character varying(500) DEFAULT ''::character varying
  1549. );
  1550. ALTER TABLE public.sys_menu
  1551. OWNER TO postgres;
  1552. --
  1553. -- Name: TABLE sys_menu; Type: COMMENT; Schema: public; Owner: postgres
  1554. --
  1555. COMMENT ON TABLE public.sys_menu IS '菜单权限表';
  1556. --
  1557. -- Name: COLUMN sys_menu.menu_id; Type: COMMENT; Schema: public; Owner: postgres
  1558. --
  1559. COMMENT ON COLUMN public.sys_menu.menu_id IS '菜单ID';
  1560. --
  1561. -- Name: COLUMN sys_menu.menu_name; Type: COMMENT; Schema: public; Owner: postgres
  1562. --
  1563. COMMENT ON COLUMN public.sys_menu.menu_name IS '菜单名称';
  1564. --
  1565. -- Name: COLUMN sys_menu.parent_id; Type: COMMENT; Schema: public; Owner: postgres
  1566. --
  1567. COMMENT ON COLUMN public.sys_menu.parent_id IS '父菜单ID';
  1568. --
  1569. -- Name: COLUMN sys_menu.order_num; Type: COMMENT; Schema: public; Owner: postgres
  1570. --
  1571. COMMENT ON COLUMN public.sys_menu.order_num IS '显示顺序';
  1572. --
  1573. -- Name: COLUMN sys_menu.path; Type: COMMENT; Schema: public; Owner: postgres
  1574. --
  1575. COMMENT ON COLUMN public.sys_menu.path IS '路由地址';
  1576. --
  1577. -- Name: COLUMN sys_menu.component; Type: COMMENT; Schema: public; Owner: postgres
  1578. --
  1579. COMMENT ON COLUMN public.sys_menu.component IS '组件路径';
  1580. --
  1581. -- Name: COLUMN sys_menu.component_name; Type: COMMENT; Schema: public; Owner: postgres
  1582. --
  1583. COMMENT ON COLUMN public.sys_menu.component_name IS '组件名称';
  1584. --
  1585. -- Name: COLUMN sys_menu.query_param; Type: COMMENT; Schema: public; Owner: postgres
  1586. --
  1587. COMMENT ON COLUMN public.sys_menu.query_param IS '路由参数';
  1588. --
  1589. -- Name: COLUMN sys_menu.is_frame; Type: COMMENT; Schema: public; Owner: postgres
  1590. --
  1591. COMMENT ON COLUMN public.sys_menu.is_frame IS '是否为外链(0是 1否)';
  1592. --
  1593. -- Name: COLUMN sys_menu.is_cache; Type: COMMENT; Schema: public; Owner: postgres
  1594. --
  1595. COMMENT ON COLUMN public.sys_menu.is_cache IS '是否缓存(0缓存 1不缓存)';
  1596. --
  1597. -- Name: COLUMN sys_menu.menu_type; Type: COMMENT; Schema: public; Owner: postgres
  1598. --
  1599. COMMENT ON COLUMN public.sys_menu.menu_type IS '菜单类型(M目录 C菜单 F按钮)';
  1600. --
  1601. -- Name: COLUMN sys_menu.visible; Type: COMMENT; Schema: public; Owner: postgres
  1602. --
  1603. COMMENT ON COLUMN public.sys_menu.visible IS '显示状态(0显示 1隐藏)';
  1604. --
  1605. -- Name: COLUMN sys_menu.status; Type: COMMENT; Schema: public; Owner: postgres
  1606. --
  1607. COMMENT ON COLUMN public.sys_menu.status IS '菜单状态(0正常 1停用)';
  1608. --
  1609. -- Name: COLUMN sys_menu.perms; Type: COMMENT; Schema: public; Owner: postgres
  1610. --
  1611. COMMENT ON COLUMN public.sys_menu.perms IS '权限标识';
  1612. --
  1613. -- Name: COLUMN sys_menu.icon; Type: COMMENT; Schema: public; Owner: postgres
  1614. --
  1615. COMMENT ON COLUMN public.sys_menu.icon IS '菜单图标';
  1616. --
  1617. -- Name: COLUMN sys_menu.version; Type: COMMENT; Schema: public; Owner: postgres
  1618. --
  1619. COMMENT ON COLUMN public.sys_menu.version IS '乐观锁';
  1620. --
  1621. -- Name: COLUMN sys_menu.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1622. --
  1623. COMMENT ON COLUMN public.sys_menu.create_by IS '创建者';
  1624. --
  1625. -- Name: COLUMN sys_menu.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1626. --
  1627. COMMENT ON COLUMN public.sys_menu.create_time IS '创建时间';
  1628. --
  1629. -- Name: COLUMN sys_menu.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1630. --
  1631. COMMENT ON COLUMN public.sys_menu.update_by IS '更新者';
  1632. --
  1633. -- Name: COLUMN sys_menu.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1634. --
  1635. COMMENT ON COLUMN public.sys_menu.update_time IS '更新时间';
  1636. --
  1637. -- Name: COLUMN sys_menu.remark; Type: COMMENT; Schema: public; Owner: postgres
  1638. --
  1639. COMMENT ON COLUMN public.sys_menu.remark IS '备注';
  1640. --
  1641. -- Name: sys_notice; Type: TABLE; Schema: public; Owner: postgres
  1642. --
  1643. CREATE TABLE public.sys_notice
  1644. (
  1645. notice_id bigint NOT NULL,
  1646. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1647. notice_title character varying(50) NOT NULL,
  1648. notice_type character(1) NOT NULL,
  1649. notice_content text,
  1650. status character(1) DEFAULT '0'::bpchar,
  1651. version integer DEFAULT 0,
  1652. create_by bigint,
  1653. create_time timestamp without time zone,
  1654. update_by bigint,
  1655. update_time timestamp without time zone,
  1656. remark character varying(255) DEFAULT NULL::character varying
  1657. );
  1658. ALTER TABLE public.sys_notice
  1659. OWNER TO postgres;
  1660. --
  1661. -- Name: TABLE sys_notice; Type: COMMENT; Schema: public; Owner: postgres
  1662. --
  1663. COMMENT ON TABLE public.sys_notice IS '通知公告表';
  1664. --
  1665. -- Name: COLUMN sys_notice.notice_id; Type: COMMENT; Schema: public; Owner: postgres
  1666. --
  1667. COMMENT ON COLUMN public.sys_notice.notice_id IS '公告ID';
  1668. --
  1669. -- Name: COLUMN sys_notice.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1670. --
  1671. COMMENT ON COLUMN public.sys_notice.tenant_id IS '租户编号';
  1672. --
  1673. -- Name: COLUMN sys_notice.notice_title; Type: COMMENT; Schema: public; Owner: postgres
  1674. --
  1675. COMMENT ON COLUMN public.sys_notice.notice_title IS '公告标题';
  1676. --
  1677. -- Name: COLUMN sys_notice.notice_type; Type: COMMENT; Schema: public; Owner: postgres
  1678. --
  1679. COMMENT ON COLUMN public.sys_notice.notice_type IS '公告类型(1通知 2公告)';
  1680. --
  1681. -- Name: COLUMN sys_notice.notice_content; Type: COMMENT; Schema: public; Owner: postgres
  1682. --
  1683. COMMENT ON COLUMN public.sys_notice.notice_content IS '公告内容';
  1684. --
  1685. -- Name: COLUMN sys_notice.status; Type: COMMENT; Schema: public; Owner: postgres
  1686. --
  1687. COMMENT ON COLUMN public.sys_notice.status IS '公告状态(0正常 1关闭)';
  1688. --
  1689. -- Name: COLUMN sys_notice.version; Type: COMMENT; Schema: public; Owner: postgres
  1690. --
  1691. COMMENT ON COLUMN public.sys_notice.version IS '乐观锁';
  1692. --
  1693. -- Name: COLUMN sys_notice.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1694. --
  1695. COMMENT ON COLUMN public.sys_notice.create_by IS '创建者';
  1696. --
  1697. -- Name: COLUMN sys_notice.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1698. --
  1699. COMMENT ON COLUMN public.sys_notice.create_time IS '创建时间';
  1700. --
  1701. -- Name: COLUMN sys_notice.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1702. --
  1703. COMMENT ON COLUMN public.sys_notice.update_by IS '更新者';
  1704. --
  1705. -- Name: COLUMN sys_notice.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1706. --
  1707. COMMENT ON COLUMN public.sys_notice.update_time IS '更新时间';
  1708. --
  1709. -- Name: COLUMN sys_notice.remark; Type: COMMENT; Schema: public; Owner: postgres
  1710. --
  1711. COMMENT ON COLUMN public.sys_notice.remark IS '备注';
  1712. --
  1713. -- Name: sys_oper_log; Type: TABLE; Schema: public; Owner: postgres
  1714. --
  1715. CREATE TABLE public.sys_oper_log
  1716. (
  1717. oper_id bigint NOT NULL,
  1718. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1719. title character varying(50) DEFAULT ''::character varying,
  1720. business_type integer DEFAULT 0,
  1721. method character varying(100) DEFAULT ''::character varying,
  1722. request_method character varying(10) DEFAULT ''::character varying,
  1723. operator_type integer DEFAULT 0,
  1724. oper_name character varying(50) DEFAULT ''::character varying,
  1725. dept_name character varying(50) DEFAULT ''::character varying,
  1726. oper_url character varying(255) DEFAULT ''::character varying,
  1727. oper_ip character varying(128) DEFAULT ''::character varying,
  1728. oper_location character varying(255) DEFAULT ''::character varying,
  1729. oper_param character varying(2000) DEFAULT ''::character varying,
  1730. json_result character varying(2000) DEFAULT ''::character varying,
  1731. status integer DEFAULT 0,
  1732. error_msg character varying(2000) DEFAULT ''::character varying,
  1733. oper_time timestamp without time zone,
  1734. cost_time bigint DEFAULT 0
  1735. );
  1736. ALTER TABLE public.sys_oper_log
  1737. OWNER TO postgres;
  1738. --
  1739. -- Name: TABLE sys_oper_log; Type: COMMENT; Schema: public; Owner: postgres
  1740. --
  1741. COMMENT ON TABLE public.sys_oper_log IS '操作日志记录';
  1742. --
  1743. -- Name: COLUMN sys_oper_log.oper_id; Type: COMMENT; Schema: public; Owner: postgres
  1744. --
  1745. COMMENT ON COLUMN public.sys_oper_log.oper_id IS '日志主键';
  1746. --
  1747. -- Name: COLUMN sys_oper_log.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1748. --
  1749. COMMENT ON COLUMN public.sys_oper_log.tenant_id IS '租户编号';
  1750. --
  1751. -- Name: COLUMN sys_oper_log.title; Type: COMMENT; Schema: public; Owner: postgres
  1752. --
  1753. COMMENT ON COLUMN public.sys_oper_log.title IS '模块标题';
  1754. --
  1755. -- Name: COLUMN sys_oper_log.business_type; Type: COMMENT; Schema: public; Owner: postgres
  1756. --
  1757. COMMENT ON COLUMN public.sys_oper_log.business_type IS '业务类型(0其它 1新增 2修改 3删除)';
  1758. --
  1759. -- Name: COLUMN sys_oper_log.method; Type: COMMENT; Schema: public; Owner: postgres
  1760. --
  1761. COMMENT ON COLUMN public.sys_oper_log.method IS '方法名称';
  1762. --
  1763. -- Name: COLUMN sys_oper_log.request_method; Type: COMMENT; Schema: public; Owner: postgres
  1764. --
  1765. COMMENT ON COLUMN public.sys_oper_log.request_method IS '请求方式';
  1766. --
  1767. -- Name: COLUMN sys_oper_log.operator_type; Type: COMMENT; Schema: public; Owner: postgres
  1768. --
  1769. COMMENT ON COLUMN public.sys_oper_log.operator_type IS '操作类别(0其它 1后台用户 2手机端用户)';
  1770. --
  1771. -- Name: COLUMN sys_oper_log.oper_name; Type: COMMENT; Schema: public; Owner: postgres
  1772. --
  1773. COMMENT ON COLUMN public.sys_oper_log.oper_name IS '操作人员';
  1774. --
  1775. -- Name: COLUMN sys_oper_log.dept_name; Type: COMMENT; Schema: public; Owner: postgres
  1776. --
  1777. COMMENT ON COLUMN public.sys_oper_log.dept_name IS '部门名称';
  1778. --
  1779. -- Name: COLUMN sys_oper_log.oper_url; Type: COMMENT; Schema: public; Owner: postgres
  1780. --
  1781. COMMENT ON COLUMN public.sys_oper_log.oper_url IS '请求URL';
  1782. --
  1783. -- Name: COLUMN sys_oper_log.oper_ip; Type: COMMENT; Schema: public; Owner: postgres
  1784. --
  1785. COMMENT ON COLUMN public.sys_oper_log.oper_ip IS '主机地址';
  1786. --
  1787. -- Name: COLUMN sys_oper_log.oper_location; Type: COMMENT; Schema: public; Owner: postgres
  1788. --
  1789. COMMENT ON COLUMN public.sys_oper_log.oper_location IS '操作地点';
  1790. --
  1791. -- Name: COLUMN sys_oper_log.oper_param; Type: COMMENT; Schema: public; Owner: postgres
  1792. --
  1793. COMMENT ON COLUMN public.sys_oper_log.oper_param IS '请求参数';
  1794. --
  1795. -- Name: COLUMN sys_oper_log.json_result; Type: COMMENT; Schema: public; Owner: postgres
  1796. --
  1797. COMMENT ON COLUMN public.sys_oper_log.json_result IS '返回参数';
  1798. --
  1799. -- Name: COLUMN sys_oper_log.status; Type: COMMENT; Schema: public; Owner: postgres
  1800. --
  1801. COMMENT ON COLUMN public.sys_oper_log.status IS '操作状态(0正常 1异常)';
  1802. --
  1803. -- Name: COLUMN sys_oper_log.error_msg; Type: COMMENT; Schema: public; Owner: postgres
  1804. --
  1805. COMMENT ON COLUMN public.sys_oper_log.error_msg IS '错误消息';
  1806. --
  1807. -- Name: COLUMN sys_oper_log.oper_time; Type: COMMENT; Schema: public; Owner: postgres
  1808. --
  1809. COMMENT ON COLUMN public.sys_oper_log.oper_time IS '操作时间';
  1810. --
  1811. -- Name: COLUMN sys_oper_log.cost_time; Type: COMMENT; Schema: public; Owner: postgres
  1812. --
  1813. COMMENT ON COLUMN public.sys_oper_log.cost_time IS '消耗时间';
  1814. --
  1815. -- Name: sys_oss; Type: TABLE; Schema: public; Owner: postgres
  1816. --
  1817. CREATE TABLE public.sys_oss
  1818. (
  1819. oss_id bigint NOT NULL,
  1820. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1821. file_name character varying(255) DEFAULT ''::character varying NOT NULL,
  1822. original_name character varying(255) DEFAULT ''::character varying NOT NULL,
  1823. file_suffix character varying(10) DEFAULT ''::character varying NOT NULL,
  1824. url character varying(500) DEFAULT ''::character varying NOT NULL,
  1825. service character varying(20) DEFAULT 'minio'::character varying,
  1826. version integer DEFAULT 0,
  1827. create_by bigint,
  1828. create_time timestamp without time zone,
  1829. update_by bigint,
  1830. update_time timestamp without time zone
  1831. );
  1832. ALTER TABLE public.sys_oss
  1833. OWNER TO postgres;
  1834. --
  1835. -- Name: TABLE sys_oss; Type: COMMENT; Schema: public; Owner: postgres
  1836. --
  1837. COMMENT ON TABLE public.sys_oss IS 'OSS对象存储表';
  1838. --
  1839. -- Name: COLUMN sys_oss.oss_id; Type: COMMENT; Schema: public; Owner: postgres
  1840. --
  1841. COMMENT ON COLUMN public.sys_oss.oss_id IS '对象存储主键';
  1842. --
  1843. -- Name: COLUMN sys_oss.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1844. --
  1845. COMMENT ON COLUMN public.sys_oss.tenant_id IS '租户编码';
  1846. --
  1847. -- Name: COLUMN sys_oss.file_name; Type: COMMENT; Schema: public; Owner: postgres
  1848. --
  1849. COMMENT ON COLUMN public.sys_oss.file_name IS '文件名';
  1850. --
  1851. -- Name: COLUMN sys_oss.original_name; Type: COMMENT; Schema: public; Owner: postgres
  1852. --
  1853. COMMENT ON COLUMN public.sys_oss.original_name IS '原名';
  1854. --
  1855. -- Name: COLUMN sys_oss.file_suffix; Type: COMMENT; Schema: public; Owner: postgres
  1856. --
  1857. COMMENT ON COLUMN public.sys_oss.file_suffix IS '文件后缀名';
  1858. --
  1859. -- Name: COLUMN sys_oss.url; Type: COMMENT; Schema: public; Owner: postgres
  1860. --
  1861. COMMENT ON COLUMN public.sys_oss.url IS 'URL地址';
  1862. --
  1863. -- Name: COLUMN sys_oss.service; Type: COMMENT; Schema: public; Owner: postgres
  1864. --
  1865. COMMENT ON COLUMN public.sys_oss.service IS '服务商';
  1866. --
  1867. -- Name: COLUMN sys_oss.version; Type: COMMENT; Schema: public; Owner: postgres
  1868. --
  1869. COMMENT ON COLUMN public.sys_oss.version IS '乐观锁';
  1870. --
  1871. -- Name: COLUMN sys_oss.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1872. --
  1873. COMMENT ON COLUMN public.sys_oss.create_by IS '上传人';
  1874. --
  1875. -- Name: COLUMN sys_oss.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1876. --
  1877. COMMENT ON COLUMN public.sys_oss.create_time IS '创建时间';
  1878. --
  1879. -- Name: COLUMN sys_oss.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1880. --
  1881. COMMENT ON COLUMN public.sys_oss.update_by IS '更新者';
  1882. --
  1883. -- Name: COLUMN sys_oss.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1884. --
  1885. COMMENT ON COLUMN public.sys_oss.update_time IS '更新时间';
  1886. --
  1887. -- Name: sys_oss_config; Type: TABLE; Schema: public; Owner: postgres
  1888. --
  1889. CREATE TABLE public.sys_oss_config
  1890. (
  1891. oss_config_id bigint NOT NULL,
  1892. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  1893. config_key character varying(20) DEFAULT ''::character varying NOT NULL,
  1894. access_key character varying(255) DEFAULT ''::character varying,
  1895. secret_key character varying(255) DEFAULT ''::character varying,
  1896. bucket_name character varying(255) DEFAULT ''::character varying,
  1897. prefix character varying(255) DEFAULT ''::character varying,
  1898. endpoint character varying(255) DEFAULT ''::character varying,
  1899. domain character varying(255) DEFAULT ''::character varying,
  1900. is_https character(1) DEFAULT 'N'::bpchar,
  1901. region character varying(255) DEFAULT ''::character varying,
  1902. access_policy character(1) DEFAULT '1'::bpchar NOT NULL,
  1903. status character(1) DEFAULT '1'::bpchar,
  1904. ext1 character varying(255) DEFAULT ''::character varying,
  1905. version integer DEFAULT 0,
  1906. create_by bigint,
  1907. create_time timestamp without time zone,
  1908. update_by bigint,
  1909. update_time timestamp without time zone,
  1910. remark character varying(500) DEFAULT ''::character varying
  1911. );
  1912. ALTER TABLE public.sys_oss_config
  1913. OWNER TO postgres;
  1914. --
  1915. -- Name: TABLE sys_oss_config; Type: COMMENT; Schema: public; Owner: postgres
  1916. --
  1917. COMMENT ON TABLE public.sys_oss_config IS '对象存储配置表';
  1918. --
  1919. -- Name: COLUMN sys_oss_config.oss_config_id; Type: COMMENT; Schema: public; Owner: postgres
  1920. --
  1921. COMMENT ON COLUMN public.sys_oss_config.oss_config_id IS '主建';
  1922. --
  1923. -- Name: COLUMN sys_oss_config.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  1924. --
  1925. COMMENT ON COLUMN public.sys_oss_config.tenant_id IS '租户编码';
  1926. --
  1927. -- Name: COLUMN sys_oss_config.config_key; Type: COMMENT; Schema: public; Owner: postgres
  1928. --
  1929. COMMENT ON COLUMN public.sys_oss_config.config_key IS '配置key';
  1930. --
  1931. -- Name: COLUMN sys_oss_config.access_key; Type: COMMENT; Schema: public; Owner: postgres
  1932. --
  1933. COMMENT ON COLUMN public.sys_oss_config.access_key IS 'accessKey';
  1934. --
  1935. -- Name: COLUMN sys_oss_config.secret_key; Type: COMMENT; Schema: public; Owner: postgres
  1936. --
  1937. COMMENT ON COLUMN public.sys_oss_config.secret_key IS '秘钥';
  1938. --
  1939. -- Name: COLUMN sys_oss_config.bucket_name; Type: COMMENT; Schema: public; Owner: postgres
  1940. --
  1941. COMMENT ON COLUMN public.sys_oss_config.bucket_name IS '桶名称';
  1942. --
  1943. -- Name: COLUMN sys_oss_config.prefix; Type: COMMENT; Schema: public; Owner: postgres
  1944. --
  1945. COMMENT ON COLUMN public.sys_oss_config.prefix IS '前缀';
  1946. --
  1947. -- Name: COLUMN sys_oss_config.endpoint; Type: COMMENT; Schema: public; Owner: postgres
  1948. --
  1949. COMMENT ON COLUMN public.sys_oss_config.endpoint IS '访问站点';
  1950. --
  1951. -- Name: COLUMN sys_oss_config.domain; Type: COMMENT; Schema: public; Owner: postgres
  1952. --
  1953. COMMENT ON COLUMN public.sys_oss_config.domain IS '自定义域名';
  1954. --
  1955. -- Name: COLUMN sys_oss_config.is_https; Type: COMMENT; Schema: public; Owner: postgres
  1956. --
  1957. COMMENT ON COLUMN public.sys_oss_config.is_https IS '是否https(Y=是,N=否)';
  1958. --
  1959. -- Name: COLUMN sys_oss_config.region; Type: COMMENT; Schema: public; Owner: postgres
  1960. --
  1961. COMMENT ON COLUMN public.sys_oss_config.region IS '域';
  1962. --
  1963. -- Name: COLUMN sys_oss_config.access_policy; Type: COMMENT; Schema: public; Owner: postgres
  1964. --
  1965. COMMENT ON COLUMN public.sys_oss_config.access_policy IS '桶权限类型(0=private 1=public 2=custom)';
  1966. --
  1967. -- Name: COLUMN sys_oss_config.status; Type: COMMENT; Schema: public; Owner: postgres
  1968. --
  1969. COMMENT ON COLUMN public.sys_oss_config.status IS '是否默认(0=是,1=否)';
  1970. --
  1971. -- Name: COLUMN sys_oss_config.ext1; Type: COMMENT; Schema: public; Owner: postgres
  1972. --
  1973. COMMENT ON COLUMN public.sys_oss_config.ext1 IS '扩展字段';
  1974. --
  1975. -- Name: COLUMN sys_oss_config.version; Type: COMMENT; Schema: public; Owner: postgres
  1976. --
  1977. COMMENT ON COLUMN public.sys_oss_config.version IS '乐观锁';
  1978. --
  1979. -- Name: COLUMN sys_oss_config.create_by; Type: COMMENT; Schema: public; Owner: postgres
  1980. --
  1981. COMMENT ON COLUMN public.sys_oss_config.create_by IS '创建者';
  1982. --
  1983. -- Name: COLUMN sys_oss_config.create_time; Type: COMMENT; Schema: public; Owner: postgres
  1984. --
  1985. COMMENT ON COLUMN public.sys_oss_config.create_time IS '创建时间';
  1986. --
  1987. -- Name: COLUMN sys_oss_config.update_by; Type: COMMENT; Schema: public; Owner: postgres
  1988. --
  1989. COMMENT ON COLUMN public.sys_oss_config.update_by IS '更新者';
  1990. --
  1991. -- Name: COLUMN sys_oss_config.update_time; Type: COMMENT; Schema: public; Owner: postgres
  1992. --
  1993. COMMENT ON COLUMN public.sys_oss_config.update_time IS '更新时间';
  1994. --
  1995. -- Name: COLUMN sys_oss_config.remark; Type: COMMENT; Schema: public; Owner: postgres
  1996. --
  1997. COMMENT ON COLUMN public.sys_oss_config.remark IS '备注';
  1998. --
  1999. -- Name: sys_post; Type: TABLE; Schema: public; Owner: postgres
  2000. --
  2001. CREATE TABLE public.sys_post
  2002. (
  2003. post_id bigint NOT NULL,
  2004. tenant_id bigint DEFAULT '0'::bigint NOT NULL,
  2005. post_code character varying(64) NOT NULL,
  2006. post_name character varying(50) NOT NULL,
  2007. post_sort integer NOT NULL,
  2008. status character(1) NOT NULL,
  2009. version integer DEFAULT 0,
  2010. create_by bigint,
  2011. create_time timestamp without time zone,
  2012. update_by bigint,
  2013. update_time timestamp without time zone,
  2014. remark character varying(500) DEFAULT NULL::character varying
  2015. );
  2016. ALTER TABLE public.sys_post
  2017. OWNER TO postgres;
  2018. --
  2019. -- Name: TABLE sys_post; Type: COMMENT; Schema: public; Owner: postgres
  2020. --
  2021. COMMENT ON TABLE public.sys_post IS '岗位信息表';
  2022. --
  2023. -- Name: COLUMN sys_post.post_id; Type: COMMENT; Schema: public; Owner: postgres
  2024. --
  2025. COMMENT ON COLUMN public.sys_post.post_id IS '岗位ID';
  2026. --
  2027. -- Name: COLUMN sys_post.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  2028. --
  2029. COMMENT ON COLUMN public.sys_post.tenant_id IS '租户编号';
  2030. --
  2031. -- Name: COLUMN sys_post.post_code; Type: COMMENT; Schema: public; Owner: postgres
  2032. --
  2033. COMMENT ON COLUMN public.sys_post.post_code IS '岗位编码';
  2034. --
  2035. -- Name: COLUMN sys_post.post_name; Type: COMMENT; Schema: public; Owner: postgres
  2036. --
  2037. COMMENT ON COLUMN public.sys_post.post_name IS '岗位名称';
  2038. --
  2039. -- Name: COLUMN sys_post.post_sort; Type: COMMENT; Schema: public; Owner: postgres
  2040. --
  2041. COMMENT ON COLUMN public.sys_post.post_sort IS '显示顺序';
  2042. --
  2043. -- Name: COLUMN sys_post.status; Type: COMMENT; Schema: public; Owner: postgres
  2044. --
  2045. COMMENT ON COLUMN public.sys_post.status IS '状态(0正常 1停用)';
  2046. --
  2047. -- Name: COLUMN sys_post.version; Type: COMMENT; Schema: public; Owner: postgres
  2048. --
  2049. COMMENT ON COLUMN public.sys_post.version IS '乐观锁';
  2050. --
  2051. -- Name: COLUMN sys_post.create_by; Type: COMMENT; Schema: public; Owner: postgres
  2052. --
  2053. COMMENT ON COLUMN public.sys_post.create_by IS '创建者';
  2054. --
  2055. -- Name: COLUMN sys_post.create_time; Type: COMMENT; Schema: public; Owner: postgres
  2056. --
  2057. COMMENT ON COLUMN public.sys_post.create_time IS '创建时间';
  2058. --
  2059. -- Name: COLUMN sys_post.update_by; Type: COMMENT; Schema: public; Owner: postgres
  2060. --
  2061. COMMENT ON COLUMN public.sys_post.update_by IS '更新者';
  2062. --
  2063. -- Name: COLUMN sys_post.update_time; Type: COMMENT; Schema: public; Owner: postgres
  2064. --
  2065. COMMENT ON COLUMN public.sys_post.update_time IS '更新时间';
  2066. --
  2067. -- Name: COLUMN sys_post.remark; Type: COMMENT; Schema: public; Owner: postgres
  2068. --
  2069. COMMENT ON COLUMN public.sys_post.remark IS '备注';
  2070. --
  2071. -- Name: sys_role; Type: TABLE; Schema: public; Owner: postgres
  2072. --
  2073. CREATE TABLE public.sys_role
  2074. (
  2075. role_id bigint NOT NULL,
  2076. tenant_id bigint DEFAULT 0,
  2077. role_name character varying(30) NOT NULL,
  2078. role_key character varying(100) NOT NULL,
  2079. role_sort integer NOT NULL,
  2080. data_scope character(1) DEFAULT '1'::bpchar,
  2081. menu_check_strictly boolean DEFAULT true,
  2082. dept_check_strictly boolean DEFAULT true,
  2083. status character(1) NOT NULL,
  2084. version integer DEFAULT 0,
  2085. del_flag smallint DEFAULT 0,
  2086. create_by bigint,
  2087. create_time timestamp without time zone,
  2088. update_by bigint,
  2089. update_time timestamp without time zone,
  2090. remark character varying(500) DEFAULT NULL::character varying
  2091. );
  2092. ALTER TABLE public.sys_role
  2093. OWNER TO postgres;
  2094. --
  2095. -- Name: TABLE sys_role; Type: COMMENT; Schema: public; Owner: postgres
  2096. --
  2097. COMMENT ON TABLE public.sys_role IS '角色信息表';
  2098. --
  2099. -- Name: COLUMN sys_role.role_id; Type: COMMENT; Schema: public; Owner: postgres
  2100. --
  2101. COMMENT ON COLUMN public.sys_role.role_id IS '角色ID';
  2102. --
  2103. -- Name: COLUMN sys_role.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  2104. --
  2105. COMMENT ON COLUMN public.sys_role.tenant_id IS '租户编号';
  2106. --
  2107. -- Name: COLUMN sys_role.role_name; Type: COMMENT; Schema: public; Owner: postgres
  2108. --
  2109. COMMENT ON COLUMN public.sys_role.role_name IS '角色名称';
  2110. --
  2111. -- Name: COLUMN sys_role.role_key; Type: COMMENT; Schema: public; Owner: postgres
  2112. --
  2113. COMMENT ON COLUMN public.sys_role.role_key IS '角色权限字符串';
  2114. --
  2115. -- Name: COLUMN sys_role.role_sort; Type: COMMENT; Schema: public; Owner: postgres
  2116. --
  2117. COMMENT ON COLUMN public.sys_role.role_sort IS '显示顺序';
  2118. --
  2119. -- Name: COLUMN sys_role.data_scope; Type: COMMENT; Schema: public; Owner: postgres
  2120. --
  2121. COMMENT ON COLUMN public.sys_role.data_scope IS '数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)';
  2122. --
  2123. -- Name: COLUMN sys_role.menu_check_strictly; Type: COMMENT; Schema: public; Owner: postgres
  2124. --
  2125. COMMENT ON COLUMN public.sys_role.menu_check_strictly IS '菜单树选择项是否关联显示';
  2126. --
  2127. -- Name: COLUMN sys_role.dept_check_strictly; Type: COMMENT; Schema: public; Owner: postgres
  2128. --
  2129. COMMENT ON COLUMN public.sys_role.dept_check_strictly IS '部门树选择项是否关联显示';
  2130. --
  2131. -- Name: COLUMN sys_role.status; Type: COMMENT; Schema: public; Owner: postgres
  2132. --
  2133. COMMENT ON COLUMN public.sys_role.status IS '角色状态(0正常 1停用)';
  2134. --
  2135. -- Name: COLUMN sys_role.version; Type: COMMENT; Schema: public; Owner: postgres
  2136. --
  2137. COMMENT ON COLUMN public.sys_role.version IS '乐观锁';
  2138. --
  2139. -- Name: COLUMN sys_role.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  2140. --
  2141. COMMENT ON COLUMN public.sys_role.del_flag IS '删除标志(0代表存在 1代表删除)';
  2142. --
  2143. -- Name: COLUMN sys_role.create_by; Type: COMMENT; Schema: public; Owner: postgres
  2144. --
  2145. COMMENT ON COLUMN public.sys_role.create_by IS '创建者';
  2146. --
  2147. -- Name: COLUMN sys_role.create_time; Type: COMMENT; Schema: public; Owner: postgres
  2148. --
  2149. COMMENT ON COLUMN public.sys_role.create_time IS '创建时间';
  2150. --
  2151. -- Name: COLUMN sys_role.update_by; Type: COMMENT; Schema: public; Owner: postgres
  2152. --
  2153. COMMENT ON COLUMN public.sys_role.update_by IS '更新者';
  2154. --
  2155. -- Name: COLUMN sys_role.update_time; Type: COMMENT; Schema: public; Owner: postgres
  2156. --
  2157. COMMENT ON COLUMN public.sys_role.update_time IS '更新时间';
  2158. --
  2159. -- Name: COLUMN sys_role.remark; Type: COMMENT; Schema: public; Owner: postgres
  2160. --
  2161. COMMENT ON COLUMN public.sys_role.remark IS '备注';
  2162. --
  2163. -- Name: sys_role_dept; Type: TABLE; Schema: public; Owner: postgres
  2164. --
  2165. CREATE TABLE public.sys_role_dept
  2166. (
  2167. role_id bigint NOT NULL,
  2168. dept_id bigint NOT NULL
  2169. );
  2170. ALTER TABLE public.sys_role_dept
  2171. OWNER TO postgres;
  2172. --
  2173. -- Name: TABLE sys_role_dept; Type: COMMENT; Schema: public; Owner: postgres
  2174. --
  2175. COMMENT ON TABLE public.sys_role_dept IS '角色和部门关联表';
  2176. --
  2177. -- Name: COLUMN sys_role_dept.role_id; Type: COMMENT; Schema: public; Owner: postgres
  2178. --
  2179. COMMENT ON COLUMN public.sys_role_dept.role_id IS '角色ID';
  2180. --
  2181. -- Name: COLUMN sys_role_dept.dept_id; Type: COMMENT; Schema: public; Owner: postgres
  2182. --
  2183. COMMENT ON COLUMN public.sys_role_dept.dept_id IS '部门ID';
  2184. --
  2185. -- Name: sys_role_menu; Type: TABLE; Schema: public; Owner: postgres
  2186. --
  2187. CREATE TABLE public.sys_role_menu
  2188. (
  2189. role_id bigint NOT NULL,
  2190. menu_id bigint NOT NULL
  2191. );
  2192. ALTER TABLE public.sys_role_menu
  2193. OWNER TO postgres;
  2194. --
  2195. -- Name: TABLE sys_role_menu; Type: COMMENT; Schema: public; Owner: postgres
  2196. --
  2197. COMMENT ON TABLE public.sys_role_menu IS '角色和菜单关联表';
  2198. --
  2199. -- Name: COLUMN sys_role_menu.role_id; Type: COMMENT; Schema: public; Owner: postgres
  2200. --
  2201. COMMENT ON COLUMN public.sys_role_menu.role_id IS '角色ID';
  2202. --
  2203. -- Name: COLUMN sys_role_menu.menu_id; Type: COMMENT; Schema: public; Owner: postgres
  2204. --
  2205. COMMENT ON COLUMN public.sys_role_menu.menu_id IS '菜单ID';
  2206. --
  2207. -- Name: sys_tenant; Type: TABLE; Schema: public; Owner: postgres
  2208. --
  2209. CREATE TABLE public.sys_tenant
  2210. (
  2211. tenant_id bigint NOT NULL,
  2212. contact_user_name character varying(20) DEFAULT NULL::character varying,
  2213. contact_phone character varying(20) DEFAULT NULL::character varying,
  2214. company_name character varying(50) DEFAULT NULL::character varying,
  2215. license_number character varying(30) DEFAULT NULL::character varying,
  2216. address character varying(200) DEFAULT NULL::character varying,
  2217. intro character varying(200) DEFAULT NULL::character varying,
  2218. domain character varying(200) DEFAULT NULL::character varying,
  2219. remark character varying(200) DEFAULT NULL::character varying,
  2220. package_id bigint,
  2221. expire_time timestamp without time zone,
  2222. account_count integer DEFAULT '-1'::integer,
  2223. status character(1) DEFAULT '0'::bpchar,
  2224. version integer DEFAULT 0,
  2225. del_flag smallint DEFAULT 0,
  2226. create_by bigint,
  2227. create_time timestamp without time zone,
  2228. update_by bigint,
  2229. update_time timestamp without time zone
  2230. );
  2231. ALTER TABLE public.sys_tenant
  2232. OWNER TO postgres;
  2233. --
  2234. -- Name: TABLE sys_tenant; Type: COMMENT; Schema: public; Owner: postgres
  2235. --
  2236. COMMENT ON TABLE public.sys_tenant IS '租户表';
  2237. --
  2238. -- Name: COLUMN sys_tenant.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  2239. --
  2240. COMMENT ON COLUMN public.sys_tenant.tenant_id IS '租户编号';
  2241. --
  2242. -- Name: COLUMN sys_tenant.contact_user_name; Type: COMMENT; Schema: public; Owner: postgres
  2243. --
  2244. COMMENT ON COLUMN public.sys_tenant.contact_user_name IS '联系人';
  2245. --
  2246. -- Name: COLUMN sys_tenant.contact_phone; Type: COMMENT; Schema: public; Owner: postgres
  2247. --
  2248. COMMENT ON COLUMN public.sys_tenant.contact_phone IS '联系电话';
  2249. --
  2250. -- Name: COLUMN sys_tenant.company_name; Type: COMMENT; Schema: public; Owner: postgres
  2251. --
  2252. COMMENT ON COLUMN public.sys_tenant.company_name IS '企业名称';
  2253. --
  2254. -- Name: COLUMN sys_tenant.license_number; Type: COMMENT; Schema: public; Owner: postgres
  2255. --
  2256. COMMENT ON COLUMN public.sys_tenant.license_number IS '统一社会信用代码';
  2257. --
  2258. -- Name: COLUMN sys_tenant.address; Type: COMMENT; Schema: public; Owner: postgres
  2259. --
  2260. COMMENT ON COLUMN public.sys_tenant.address IS '地址';
  2261. --
  2262. -- Name: COLUMN sys_tenant.intro; Type: COMMENT; Schema: public; Owner: postgres
  2263. --
  2264. COMMENT ON COLUMN public.sys_tenant.intro IS '企业简介';
  2265. --
  2266. -- Name: COLUMN sys_tenant.domain; Type: COMMENT; Schema: public; Owner: postgres
  2267. --
  2268. COMMENT ON COLUMN public.sys_tenant.domain IS '域名';
  2269. --
  2270. -- Name: COLUMN sys_tenant.remark; Type: COMMENT; Schema: public; Owner: postgres
  2271. --
  2272. COMMENT ON COLUMN public.sys_tenant.remark IS '备注';
  2273. --
  2274. -- Name: COLUMN sys_tenant.package_id; Type: COMMENT; Schema: public; Owner: postgres
  2275. --
  2276. COMMENT ON COLUMN public.sys_tenant.package_id IS '租户套餐编号';
  2277. --
  2278. -- Name: COLUMN sys_tenant.expire_time; Type: COMMENT; Schema: public; Owner: postgres
  2279. --
  2280. COMMENT ON COLUMN public.sys_tenant.expire_time IS '过期时间';
  2281. --
  2282. -- Name: COLUMN sys_tenant.account_count; Type: COMMENT; Schema: public; Owner: postgres
  2283. --
  2284. COMMENT ON COLUMN public.sys_tenant.account_count IS '用户数量(-1不限制)';
  2285. --
  2286. -- Name: COLUMN sys_tenant.status; Type: COMMENT; Schema: public; Owner: postgres
  2287. --
  2288. COMMENT ON COLUMN public.sys_tenant.status IS '租户状态(0正常 1停用)';
  2289. --
  2290. -- Name: COLUMN sys_tenant.version; Type: COMMENT; Schema: public; Owner: postgres
  2291. --
  2292. COMMENT ON COLUMN public.sys_tenant.version IS '乐观锁';
  2293. --
  2294. -- Name: COLUMN sys_tenant.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  2295. --
  2296. COMMENT ON COLUMN public.sys_tenant.del_flag IS '删除标志(0代表存在 1代表删除)';
  2297. --
  2298. -- Name: COLUMN sys_tenant.create_by; Type: COMMENT; Schema: public; Owner: postgres
  2299. --
  2300. COMMENT ON COLUMN public.sys_tenant.create_by IS '创建者';
  2301. --
  2302. -- Name: COLUMN sys_tenant.create_time; Type: COMMENT; Schema: public; Owner: postgres
  2303. --
  2304. COMMENT ON COLUMN public.sys_tenant.create_time IS '创建时间';
  2305. --
  2306. -- Name: COLUMN sys_tenant.update_by; Type: COMMENT; Schema: public; Owner: postgres
  2307. --
  2308. COMMENT ON COLUMN public.sys_tenant.update_by IS '更新者';
  2309. --
  2310. -- Name: COLUMN sys_tenant.update_time; Type: COMMENT; Schema: public; Owner: postgres
  2311. --
  2312. COMMENT ON COLUMN public.sys_tenant.update_time IS '更新时间';
  2313. --
  2314. -- Name: sys_tenant_package; Type: TABLE; Schema: public; Owner: postgres
  2315. --
  2316. CREATE TABLE public.sys_tenant_package
  2317. (
  2318. package_id bigint NOT NULL,
  2319. package_name character varying(20) DEFAULT ''::character varying,
  2320. menu_ids character varying(3000) DEFAULT ''::character varying,
  2321. remark character varying(200) DEFAULT ''::character varying,
  2322. menu_check_strictly boolean DEFAULT true,
  2323. status character(1) DEFAULT '0'::bpchar,
  2324. version integer DEFAULT 0,
  2325. del_flag smallint DEFAULT 0,
  2326. create_by bigint,
  2327. create_time timestamp without time zone,
  2328. update_by bigint,
  2329. update_time timestamp without time zone
  2330. );
  2331. ALTER TABLE public.sys_tenant_package
  2332. OWNER TO postgres;
  2333. --
  2334. -- Name: TABLE sys_tenant_package; Type: COMMENT; Schema: public; Owner: postgres
  2335. --
  2336. COMMENT ON TABLE public.sys_tenant_package IS '租户套餐表';
  2337. --
  2338. -- Name: COLUMN sys_tenant_package.package_id; Type: COMMENT; Schema: public; Owner: postgres
  2339. --
  2340. COMMENT ON COLUMN public.sys_tenant_package.package_id IS '租户套餐id';
  2341. --
  2342. -- Name: COLUMN sys_tenant_package.package_name; Type: COMMENT; Schema: public; Owner: postgres
  2343. --
  2344. COMMENT ON COLUMN public.sys_tenant_package.package_name IS '套餐名称';
  2345. --
  2346. -- Name: COLUMN sys_tenant_package.menu_ids; Type: COMMENT; Schema: public; Owner: postgres
  2347. --
  2348. COMMENT ON COLUMN public.sys_tenant_package.menu_ids IS '关联菜单id';
  2349. --
  2350. -- Name: COLUMN sys_tenant_package.remark; Type: COMMENT; Schema: public; Owner: postgres
  2351. --
  2352. COMMENT ON COLUMN public.sys_tenant_package.remark IS '备注';
  2353. --
  2354. -- Name: COLUMN sys_tenant_package.status; Type: COMMENT; Schema: public; Owner: postgres
  2355. --
  2356. COMMENT ON COLUMN public.sys_tenant_package.status IS '状态(0正常 1停用)';
  2357. --
  2358. -- Name: COLUMN sys_tenant_package.version; Type: COMMENT; Schema: public; Owner: postgres
  2359. --
  2360. COMMENT ON COLUMN public.sys_tenant_package.version IS '乐观锁';
  2361. --
  2362. -- Name: COLUMN sys_tenant_package.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  2363. --
  2364. COMMENT ON COLUMN public.sys_tenant_package.del_flag IS '删除标志(0代表存在 1代表删除)';
  2365. --
  2366. -- Name: COLUMN sys_tenant_package.create_by; Type: COMMENT; Schema: public; Owner: postgres
  2367. --
  2368. COMMENT ON COLUMN public.sys_tenant_package.create_by IS '创建者';
  2369. --
  2370. -- Name: COLUMN sys_tenant_package.create_time; Type: COMMENT; Schema: public; Owner: postgres
  2371. --
  2372. COMMENT ON COLUMN public.sys_tenant_package.create_time IS '创建时间';
  2373. --
  2374. -- Name: COLUMN sys_tenant_package.update_by; Type: COMMENT; Schema: public; Owner: postgres
  2375. --
  2376. COMMENT ON COLUMN public.sys_tenant_package.update_by IS '更新者';
  2377. --
  2378. -- Name: COLUMN sys_tenant_package.update_time; Type: COMMENT; Schema: public; Owner: postgres
  2379. --
  2380. COMMENT ON COLUMN public.sys_tenant_package.update_time IS '更新时间';
  2381. --
  2382. -- Name: sys_user; Type: TABLE; Schema: public; Owner: postgres
  2383. --
  2384. CREATE TABLE public.sys_user
  2385. (
  2386. user_id bigint NOT NULL,
  2387. tenant_id bigint,
  2388. dept_id bigint,
  2389. user_name character varying(30) NOT NULL,
  2390. nick_name character varying(30) NOT NULL,
  2391. user_type character varying(10) DEFAULT 'sys_user'::character varying,
  2392. email character varying(50) DEFAULT ''::character varying NOT NULL,
  2393. phonenumber character varying(11) DEFAULT ''::character varying,
  2394. gender character(1) DEFAULT '0'::bpchar,
  2395. avatar bigint,
  2396. password character varying(100) DEFAULT ''::character varying,
  2397. status character(1) DEFAULT '0'::bpchar,
  2398. version integer DEFAULT 0,
  2399. del_flag smallint DEFAULT 0,
  2400. login_ip character varying(128) DEFAULT ''::character varying,
  2401. login_date timestamp without time zone,
  2402. create_by bigint,
  2403. create_time timestamp without time zone,
  2404. update_by bigint,
  2405. update_time timestamp without time zone,
  2406. remark character varying(500) DEFAULT NULL::character varying
  2407. );
  2408. ALTER TABLE public.sys_user
  2409. OWNER TO postgres;
  2410. --
  2411. -- Name: TABLE sys_user; Type: COMMENT; Schema: public; Owner: postgres
  2412. --
  2413. COMMENT ON TABLE public.sys_user IS '用户信息表';
  2414. --
  2415. -- Name: COLUMN sys_user.user_id; Type: COMMENT; Schema: public; Owner: postgres
  2416. --
  2417. COMMENT ON COLUMN public.sys_user.user_id IS '用户ID';
  2418. --
  2419. -- Name: COLUMN sys_user.tenant_id; Type: COMMENT; Schema: public; Owner: postgres
  2420. --
  2421. COMMENT ON COLUMN public.sys_user.tenant_id IS '租户编号';
  2422. --
  2423. -- Name: COLUMN sys_user.dept_id; Type: COMMENT; Schema: public; Owner: postgres
  2424. --
  2425. COMMENT ON COLUMN public.sys_user.dept_id IS '部门ID';
  2426. --
  2427. -- Name: COLUMN sys_user.user_name; Type: COMMENT; Schema: public; Owner: postgres
  2428. --
  2429. COMMENT ON COLUMN public.sys_user.user_name IS '用户账号';
  2430. --
  2431. -- Name: COLUMN sys_user.nick_name; Type: COMMENT; Schema: public; Owner: postgres
  2432. --
  2433. COMMENT ON COLUMN public.sys_user.nick_name IS '用户昵称';
  2434. --
  2435. -- Name: COLUMN sys_user.user_type; Type: COMMENT; Schema: public; Owner: postgres
  2436. --
  2437. COMMENT ON COLUMN public.sys_user.user_type IS '用户类型(sys_user系统用户)';
  2438. --
  2439. -- Name: COLUMN sys_user.email; Type: COMMENT; Schema: public; Owner: postgres
  2440. --
  2441. COMMENT ON COLUMN public.sys_user.email IS '用户邮箱';
  2442. --
  2443. -- Name: COLUMN sys_user.phonenumber; Type: COMMENT; Schema: public; Owner: postgres
  2444. --
  2445. COMMENT ON COLUMN public.sys_user.phonenumber IS '手机号码';
  2446. --
  2447. -- Name: COLUMN sys_user.gender; Type: COMMENT; Schema: public; Owner: postgres
  2448. --
  2449. COMMENT ON COLUMN public.sys_user.gender IS '用户性别(0男 1女 2未知)';
  2450. --
  2451. -- Name: COLUMN sys_user.avatar; Type: COMMENT; Schema: public; Owner: postgres
  2452. --
  2453. COMMENT ON COLUMN public.sys_user.avatar IS '头像地址';
  2454. --
  2455. -- Name: COLUMN sys_user.password; Type: COMMENT; Schema: public; Owner: postgres
  2456. --
  2457. COMMENT ON COLUMN public.sys_user.password IS '密码';
  2458. --
  2459. -- Name: COLUMN sys_user.status; Type: COMMENT; Schema: public; Owner: postgres
  2460. --
  2461. COMMENT ON COLUMN public.sys_user.status IS '帐号状态(0正常 1停用)';
  2462. --
  2463. -- Name: COLUMN sys_user.version; Type: COMMENT; Schema: public; Owner: postgres
  2464. --
  2465. COMMENT ON COLUMN public.sys_user.version IS '乐观锁';
  2466. --
  2467. -- Name: COLUMN sys_user.del_flag; Type: COMMENT; Schema: public; Owner: postgres
  2468. --
  2469. COMMENT ON COLUMN public.sys_user.del_flag IS '删除标志(0代表存在 1代表删除)';
  2470. --
  2471. -- Name: COLUMN sys_user.login_ip; Type: COMMENT; Schema: public; Owner: postgres
  2472. --
  2473. COMMENT ON COLUMN public.sys_user.login_ip IS '最后登陆IP';
  2474. --
  2475. -- Name: COLUMN sys_user.login_date; Type: COMMENT; Schema: public; Owner: postgres
  2476. --
  2477. COMMENT ON COLUMN public.sys_user.login_date IS '最后登陆时间';
  2478. --
  2479. -- Name: COLUMN sys_user.create_by; Type: COMMENT; Schema: public; Owner: postgres
  2480. --
  2481. COMMENT ON COLUMN public.sys_user.create_by IS '创建者';
  2482. --
  2483. -- Name: COLUMN sys_user.create_time; Type: COMMENT; Schema: public; Owner: postgres
  2484. --
  2485. COMMENT ON COLUMN public.sys_user.create_time IS '创建时间';
  2486. --
  2487. -- Name: COLUMN sys_user.update_by; Type: COMMENT; Schema: public; Owner: postgres
  2488. --
  2489. COMMENT ON COLUMN public.sys_user.update_by IS '更新者';
  2490. --
  2491. -- Name: COLUMN sys_user.update_time; Type: COMMENT; Schema: public; Owner: postgres
  2492. --
  2493. COMMENT ON COLUMN public.sys_user.update_time IS '更新时间';
  2494. --
  2495. -- Name: COLUMN sys_user.remark; Type: COMMENT; Schema: public; Owner: postgres
  2496. --
  2497. COMMENT ON COLUMN public.sys_user.remark IS '备注';
  2498. --
  2499. -- Name: sys_user_post; Type: TABLE; Schema: public; Owner: postgres
  2500. --
  2501. CREATE TABLE public.sys_user_post
  2502. (
  2503. user_id bigint NOT NULL,
  2504. post_id bigint NOT NULL
  2505. );
  2506. ALTER TABLE public.sys_user_post
  2507. OWNER TO postgres;
  2508. --
  2509. -- Name: TABLE sys_user_post; Type: COMMENT; Schema: public; Owner: postgres
  2510. --
  2511. COMMENT ON TABLE public.sys_user_post IS '用户与岗位关联表';
  2512. --
  2513. -- Name: COLUMN sys_user_post.user_id; Type: COMMENT; Schema: public; Owner: postgres
  2514. --
  2515. COMMENT ON COLUMN public.sys_user_post.user_id IS '用户ID';
  2516. --
  2517. -- Name: COLUMN sys_user_post.post_id; Type: COMMENT; Schema: public; Owner: postgres
  2518. --
  2519. COMMENT ON COLUMN public.sys_user_post.post_id IS '岗位ID';
  2520. --
  2521. -- Name: sys_user_role; Type: TABLE; Schema: public; Owner: postgres
  2522. --
  2523. CREATE TABLE public.sys_user_role
  2524. (
  2525. user_id bigint NOT NULL,
  2526. role_id bigint NOT NULL
  2527. );
  2528. ALTER TABLE public.sys_user_role
  2529. OWNER TO postgres;
  2530. --
  2531. -- Name: TABLE sys_user_role; Type: COMMENT; Schema: public; Owner: postgres
  2532. --
  2533. COMMENT ON TABLE public.sys_user_role IS '用户和角色关联表';
  2534. --
  2535. -- Name: COLUMN sys_user_role.user_id; Type: COMMENT; Schema: public; Owner: postgres
  2536. --
  2537. COMMENT ON COLUMN public.sys_user_role.user_id IS '用户ID';
  2538. --
  2539. -- Name: COLUMN sys_user_role.role_id; Type: COMMENT; Schema: public; Owner: postgres
  2540. --
  2541. COMMENT ON COLUMN public.sys_user_role.role_id IS '角色ID';
  2542. --
  2543. -- Name: demo_customer customer_id; Type: DEFAULT; Schema: public; Owner: postgres
  2544. --
  2545. ALTER TABLE ONLY public.demo_customer
  2546. ALTER COLUMN customer_id SET DEFAULT nextval('public.demo_customer_customer_id_seq'::regclass);
  2547. --
  2548. -- Name: demo_goods goods_id; Type: DEFAULT; Schema: public; Owner: postgres
  2549. --
  2550. ALTER TABLE ONLY public.demo_goods
  2551. ALTER COLUMN goods_id SET DEFAULT nextval('public.demo_goods_goods_id_seq'::regclass);
  2552. --
  2553. -- Name: demo_product product_id; Type: DEFAULT; Schema: public; Owner: postgres
  2554. --
  2555. ALTER TABLE ONLY public.demo_product
  2556. ALTER COLUMN product_id SET DEFAULT nextval('public.demo_product_product_id_seq'::regclass);
  2557. --
  2558. -- Name: demo_student student_id; Type: DEFAULT; Schema: public; Owner: postgres
  2559. --
  2560. ALTER TABLE ONLY public.demo_student
  2561. ALTER COLUMN student_id SET DEFAULT nextval('public.demo_student_student_id_seq'::regclass);
  2562. --
  2563. -- Data for Name: demo_customer; Type: TABLE DATA; Schema: public; Owner: postgres
  2564. --
  2565. --
  2566. -- Data for Name: demo_goods; Type: TABLE DATA; Schema: public; Owner: postgres
  2567. --
  2568. --
  2569. -- Data for Name: demo_product; Type: TABLE DATA; Schema: public; Owner: postgres
  2570. --
  2571. --
  2572. -- Data for Name: demo_student; Type: TABLE DATA; Schema: public; Owner: postgres
  2573. --
  2574. --
  2575. -- Data for Name: gen_table; Type: TABLE DATA; Schema: public; Owner: postgres
  2576. --
  2577. INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
  2578. tpl_category, package_name, module_name, business_name, function_name, function_author,
  2579. gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
  2580. remark)
  2581. VALUES (109840202632585216, 'mf_student', '学生信息单表', '', '', 'MfStudent', 'crud', 'com.taais.demo', 'demo', 'student',
  2582. '学生信息单', 'km', '0', '/', '{}', 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278', NULL);
  2583. INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
  2584. tpl_category, package_name, module_name, business_name, function_name, function_author,
  2585. gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
  2586. remark)
  2587. VALUES (111209285756723200, 'sys_config', '参数配置表', '', '', 'SysConfig', 'crud', 'com.taais.demo', 'demo', 'config',
  2588. '参数配置', 'km', '0', '/', '{}', 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336', NULL);
  2589. INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
  2590. tpl_category, package_name, module_name, business_name, function_name, function_author,
  2591. gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
  2592. remark)
  2593. VALUES (111213300984913920, 'demo_product', '产品树表(mb)', '', '', 'DemoProduct', 'crud', 'com.taais.demo', 'demo',
  2594. 'product', '产品树(mb)', 'km', '0', '/', '{}', 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067', NULL);
  2595. INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
  2596. tpl_category, package_name, module_name, business_name, function_name, function_author,
  2597. gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
  2598. remark)
  2599. VALUES (111213943543898112, 'sys_dept', '部门表', '', '', 'SysDept', 'crud', 'com.taais.demo', 'demo', 'dept', '部门',
  2600. 'km', '0', '/', '{}', 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3', NULL);
  2601. INSERT INTO public.gen_table (table_id, table_name, table_comment, sub_table_name, sub_table_fk_name, class_name,
  2602. tpl_category, package_name, module_name, business_name, function_name, function_author,
  2603. gen_type, gen_path, options, version, create_by, create_time, update_by, update_time,
  2604. remark)
  2605. VALUES (111291159158001664, 'sys_user', '用户信息表', '', '', 'SysUser', 'crud', 'com.taais.demo', 'demo', 'user',
  2606. '用户信息', 'km', '0', '/', '{}', 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773', NULL);
  2607. --
  2608. -- Data for Name: gen_table_column; Type: TABLE DATA; Schema: public; Owner: postgres
  2609. --
  2610. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2611. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2612. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2613. update_by, update_time)
  2614. VALUES (111209285861580800, 111209285756723200, 'config_id', '参数主键', 'bigint', 'Long', 'configId', '1', '0', '1',
  2615. NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
  2616. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2617. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2618. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2619. update_by, update_time)
  2620. VALUES (111209285899329536, 111209285756723200, 'tenant_id', '租户编号', 'bigint', 'Long', 'tenantId', '0', '0', '1',
  2621. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
  2622. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2623. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2624. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2625. update_by, update_time)
  2626. VALUES (111209285928689664, 111209285756723200, 'config_name', '参数名称', 'character varying', 'String', 'configName',
  2627. '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, 1, '2024-02-03 10:06:59', 1,
  2628. '2024-02-03 15:11:38.336');
  2629. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2630. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2631. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2632. update_by, update_time)
  2633. VALUES (111209285932883968, 111209285756723200, 'config_key', '参数键名', 'character varying', 'String', 'configKey',
  2634. '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-02-03 10:06:59', 1,
  2635. '2024-02-03 15:11:38.336');
  2636. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2637. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2638. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2639. update_by, update_time)
  2640. VALUES (111209285949661184, 111209285756723200, 'config_value', '参数键值', 'character varying', 'String',
  2641. 'configValue', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 1, 1, '2024-02-03 10:06:59', 1,
  2642. '2024-02-03 15:11:38.336');
  2643. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2644. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2645. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2646. update_by, update_time)
  2647. VALUES (111209285962244096, 111209285756723200, 'config_type', '系统内置(Y是 N否)', 'character', 'String', 'configType',
  2648. '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 1, 1, '2024-02-03 10:06:59', 1,
  2649. '2024-02-03 15:11:38.336');
  2650. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2651. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2652. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2653. update_by, update_time)
  2654. VALUES (111209286004187136, 111209285756723200, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
  2655. NULL, '1', NULL, NULL, 'EQ', 'input', '', 7, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
  2656. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2657. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2658. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2659. update_by, update_time)
  2660. VALUES (111209286008381440, 111209285756723200, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
  2661. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 8, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
  2662. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2663. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2664. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2665. update_by, update_time)
  2666. VALUES (111213301018468352, 111213300984913920, 'product_id', '产品id', 'bigint', 'Long', 'productId', '1', '1', '1',
  2667. NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
  2668. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2669. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2670. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2671. update_by, update_time)
  2672. VALUES (111213301026856960, 111213300984913920, 'parent_id', '父产品id', 'bigint', 'Long', 'parentId', '0', '0', '1',
  2673. '1', '1', '1', '1', 'EQ', 'input', '', 2, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
  2674. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2675. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2676. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2677. update_by, update_time)
  2678. VALUES (111213301035245568, 111213300984913920, 'product_name', '产品名称', 'character varying', 'String',
  2679. 'productName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, 1, '2024-02-03 10:22:57', 1,
  2680. '2024-02-03 15:30:37.067');
  2681. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2682. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2683. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2684. update_by, update_time)
  2685. VALUES (111213301039439872, 111213300984913920, 'order_num', '显示顺序', 'integer', 'Integer', 'orderNum', '0', '0',
  2686. '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
  2687. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2688. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2689. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2690. update_by, update_time)
  2691. VALUES (111213301043634176, 111213300984913920, 'status', '产品状态(0正常 1停用)', 'character', 'String', 'status', '0',
  2692. '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 5, 1, 1, '2024-02-03 10:22:57', 1, '2024-02-03 15:30:37.067');
  2693. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2694. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2695. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2696. update_by, update_time)
  2697. VALUES (111213943560675328, 111213943543898112, 'dept_id', '部门ID', 'bigint', 'Long', 'deptId', '1', '0', '1', NULL,
  2698. '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2699. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2700. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2701. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2702. update_by, update_time)
  2703. VALUES (111213943564869632, 111213943543898112, 'tenant_id', '租户编号', 'bigint', 'Long', 'tenantId', '0', '0', '0',
  2704. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2705. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2706. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2707. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2708. update_by, update_time)
  2709. VALUES (111213943569063936, 111213943543898112, 'parent_id', '父部门ID', 'bigint', 'Long', 'parentId', '0', '0', '1',
  2710. '1', '1', '1', '1', 'EQ', 'input', '', 3, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2711. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2712. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2713. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2714. update_by, update_time)
  2715. VALUES (111213943573258240, 111213943543898112, 'ancestors', '祖级列表', 'character varying', 'String', 'ancestors',
  2716. '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-02-03 10:25:30', 1,
  2717. '2024-02-03 15:30:42.3');
  2718. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2719. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2720. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2721. update_by, update_time)
  2722. VALUES (111213943577452544, 111213943543898112, 'dept_name', '部门名称', 'character varying', 'String', 'deptName', '0',
  2723. '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 5, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2724. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2725. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2726. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2727. update_by, update_time)
  2728. VALUES (111213943581646848, 111213943543898112, 'order_num', '显示顺序', 'integer', 'Integer', 'orderNum', '0', '0',
  2729. '1', '1', '1', '1', '1', 'EQ', 'input', '', 6, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2730. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2731. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2732. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2733. update_by, update_time)
  2734. VALUES (111213943590035456, 111213943543898112, 'leader', '负责人', 'character varying', 'String', 'leader', '0', '0',
  2735. '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2736. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2737. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2738. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2739. update_by, update_time)
  2740. VALUES (111213943594229760, 111213943543898112, 'phone', '联系电话', 'character varying', 'String', 'phone', '0', '0',
  2741. '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2742. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2743. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2744. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2745. update_by, update_time)
  2746. VALUES (111213943598424064, 111213943543898112, 'email', '邮箱', 'character varying', 'String', 'email', '0', '0', '1',
  2747. '1', '1', '1', '1', 'EQ', 'input', '', 9, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2748. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2749. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2750. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2751. update_by, update_time)
  2752. VALUES (111213943602618368, 111213943543898112, 'status', '部门状态(0正常 1停用)', 'character', 'String', 'status', '0',
  2753. '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 10, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2754. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2755. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2756. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2757. update_by, update_time)
  2758. VALUES (111213943606812672, 111213943543898112, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
  2759. NULL, '1', NULL, NULL, 'EQ', 'input', '', 11, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2760. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2761. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2762. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2763. update_by, update_time)
  2764. VALUES (111213943606812673, 111213943543898112, 'del_flag', '删除标志(0代表存在 1代表删除)', 'smallint', 'Integer',
  2765. 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 12, 1, 1, '2024-02-03 10:25:30', 1,
  2766. '2024-02-03 15:30:42.3');
  2767. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2768. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2769. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2770. update_by, update_time)
  2771. VALUES (109840202657751040, 109840202632585216, 'student_id', '编号', 'bigint', 'Long', 'studentId', '1', '0', '1',
  2772. NULL, '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
  2773. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2774. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2775. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2776. update_by, update_time)
  2777. VALUES (109840202666139648, 109840202632585216, 'tenant_id', '租户编码', 'bigint', 'Long', 'tenantId', '0', '0', '1',
  2778. NULL, NULL, NULL, '1', 'EQ', 'input', '', 2, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
  2779. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2780. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2781. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2782. update_by, update_time)
  2783. VALUES (109840202670333952, 109840202632585216, 'student_name', '学生名称', 'character varying', 'String',
  2784. 'studentName', '0', '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 3, 1, 1, '2024-01-30 15:26:45', 1,
  2785. '2024-02-03 15:04:59.278');
  2786. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2787. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2788. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2789. update_by, update_time)
  2790. VALUES (109840202691305472, 109840202632585216, 'student_age', '年龄', 'integer', 'Integer', 'studentAge', '0', '0',
  2791. '1', '1', '1', '1', '1', 'EQ', 'input', '', 4, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
  2792. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2793. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2794. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2795. update_by, update_time)
  2796. VALUES (109840202699694080, 109840202632585216, 'student_hobby', '爱好(0代码 1音乐 2电影)', 'character varying',
  2797. 'String', 'studentHobby', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 5, 1, 1, '2024-01-30 15:26:45',
  2798. 1, '2024-02-03 15:04:59.278');
  2799. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2800. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2801. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2802. update_by, update_time)
  2803. VALUES (109840202703888384, 109840202632585216, 'student_gender', '性别(1男 2女 3未知)', 'character', 'String',
  2804. 'studentGender', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 1, 1, '2024-01-30 15:26:45', 1,
  2805. '2024-02-03 15:04:59.278');
  2806. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2807. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2808. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2809. update_by, update_time)
  2810. VALUES (109840202712276992, 109840202632585216, 'student_status', '状态(0正常 1停用)', 'character', 'String',
  2811. 'studentStatus', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 7, 1, 1, '2024-01-30 15:26:45', 1,
  2812. '2024-02-03 15:04:59.278');
  2813. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2814. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2815. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2816. update_by, update_time)
  2817. VALUES (109840202720665600, 109840202632585216, 'student_birthday', '生日', 'timestamp without time zone', 'Date',
  2818. 'studentBirthday', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'datetime', '', 8, 1, 1, '2024-01-30 15:26:45', 1,
  2819. '2024-02-03 15:04:59.278');
  2820. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2821. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2822. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2823. update_by, update_time)
  2824. VALUES (109840202729054208, 109840202632585216, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
  2825. NULL, '1', NULL, NULL, 'EQ', 'input', '', 9, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
  2826. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2827. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2828. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2829. update_by, update_time)
  2830. VALUES (109840202737442816, 109840202632585216, 'del_flag', '逻辑删除标志(0代表存在 1代表删除)', 'smallint', 'Integer',
  2831. 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 1, 1, '2024-01-30 15:26:45', 1,
  2832. '2024-02-03 15:04:59.278');
  2833. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2834. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2835. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2836. update_by, update_time)
  2837. VALUES (109840202741637120, 109840202632585216, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
  2838. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 11, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
  2839. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2840. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2841. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2842. update_by, update_time)
  2843. VALUES (109840202745831424, 109840202632585216, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
  2844. 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 12, 1, 1, '2024-01-30 15:26:45', 1,
  2845. '2024-02-03 15:04:59.278');
  2846. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2847. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2848. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2849. update_by, update_time)
  2850. VALUES (109840202754220032, 109840202632585216, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
  2851. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 1, 1, '2024-01-30 15:26:45', 1, '2024-02-03 15:04:59.278');
  2852. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2853. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2854. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2855. update_by, update_time)
  2856. VALUES (109840202762608640, 109840202632585216, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
  2857. 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 14, 1, 1, '2024-01-30 15:26:45', 1,
  2858. '2024-02-03 15:04:59.278');
  2859. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2860. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2861. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2862. update_by, update_time)
  2863. VALUES (111209286012575744, 111209285756723200, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
  2864. 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 9, 1, 1, '2024-02-03 10:06:59', 1,
  2865. '2024-02-03 15:11:38.336');
  2866. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2867. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2868. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2869. update_by, update_time)
  2870. VALUES (111209286016770048, 111209285756723200, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
  2871. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 10, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
  2872. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2873. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2874. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2875. update_by, update_time)
  2876. VALUES (111209286020964352, 111209285756723200, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
  2877. 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 11, 1, 1, '2024-02-03 10:06:59', 1,
  2878. '2024-02-03 15:11:38.336');
  2879. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2880. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2881. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2882. update_by, update_time)
  2883. VALUES (111209286029352960, 111209285756723200, 'remark', '备注', 'character varying', 'String', 'remark', '0', '0',
  2884. '1', '1', '1', '1', NULL, 'EQ', 'input', '', 12, 1, 1, '2024-02-03 10:06:59', 1, '2024-02-03 15:11:38.336');
  2885. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2886. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2887. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2888. update_by, update_time)
  2889. VALUES (111213943611006976, 111213943543898112, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
  2890. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 13, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2891. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2892. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2893. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2894. update_by, update_time)
  2895. VALUES (111213943623589888, 111213943543898112, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
  2896. 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 14, 1, 1, '2024-02-03 10:25:30', 1,
  2897. '2024-02-03 15:30:42.3');
  2898. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2899. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2900. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2901. update_by, update_time)
  2902. VALUES (111213943627784192, 111213943543898112, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
  2903. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 15, 1, 1, '2024-02-03 10:25:30', 1, '2024-02-03 15:30:42.3');
  2904. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2905. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2906. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2907. update_by, update_time)
  2908. VALUES (111213943631978496, 111213943543898112, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
  2909. 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 16, 1, 1, '2024-02-03 10:25:30', 1,
  2910. '2024-02-03 15:30:42.3');
  2911. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2912. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2913. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2914. update_by, update_time)
  2915. VALUES (111291159359328256, 111291159158001664, 'user_id', '用户ID', 'bigint', 'Long', 'userId', '1', '0', '1', NULL,
  2916. '1', '1', NULL, 'EQ', 'input', '', 1, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2917. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2918. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2919. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2920. update_by, update_time)
  2921. VALUES (111291159367716864, 111291159158001664, 'tenant_id', '租户编号', 'bigint', 'Long', 'tenantId', '0', '0', '0',
  2922. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 2, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2923. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2924. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2925. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2926. update_by, update_time)
  2927. VALUES (111291159376105472, 111291159158001664, 'dept_id', '部门ID', 'bigint', 'Long', 'deptId', '0', '0', '1', '1',
  2928. '1', '1', '1', 'EQ', 'input', '', 3, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2929. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2930. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2931. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2932. update_by, update_time)
  2933. VALUES (111291159384494080, 111291159158001664, 'user_name', '用户账号', 'character varying', 'String', 'userName', '0',
  2934. '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 4, 1, 1, '2024-02-03 15:32:20', 1,
  2935. '2024-02-03 15:32:34.773');
  2936. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2937. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2938. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2939. update_by, update_time)
  2940. VALUES (111291159388688384, 111291159158001664, 'nick_name', '用户昵称', 'character varying', 'String', 'nickName', '0',
  2941. '0', '1', '1', '1', '1', '1', 'LIKE', 'input', '', 5, 1, 1, '2024-02-03 15:32:20', 1,
  2942. '2024-02-03 15:32:34.773');
  2943. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2944. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2945. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2946. update_by, update_time)
  2947. VALUES (111291159397076992, 111291159158001664, 'user_type', '用户类型(sys_user系统用户)', 'character varying',
  2948. 'String', 'userType', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', '', 6, 1, 1, '2024-02-03 15:32:20', 1,
  2949. '2024-02-03 15:32:34.773');
  2950. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2951. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2952. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2953. update_by, update_time)
  2954. VALUES (111291159401271296, 111291159158001664, 'email', '用户邮箱', 'character varying', 'String', 'email', '0', '0',
  2955. '1', '1', '1', '1', '1', 'EQ', 'input', '', 7, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2956. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2957. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2958. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2959. update_by, update_time)
  2960. VALUES (111291159413854208, 111291159158001664, 'phonenumber', '手机号码', 'character varying', 'String', 'phonenumber',
  2961. '0', '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 8, 1, 1, '2024-02-03 15:32:20', 1,
  2962. '2024-02-03 15:32:34.773');
  2963. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2964. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2965. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2966. update_by, update_time)
  2967. VALUES (111291159418048512, 111291159158001664, 'gender', '用户性别(0男 1女 2未知)', 'character', 'String', 'gender',
  2968. '0', '0', '1', '1', '1', '1', '1', 'EQ', 'select', 'sys_user_gender', 9, 1, 1, '2024-02-03 15:32:20', 1,
  2969. '2024-02-03 15:32:34.773');
  2970. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2971. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2972. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2973. update_by, update_time)
  2974. VALUES (111291159426437120, 111291159158001664, 'avatar', '头像地址', 'bigint', 'Long', 'avatar', '0', '0', '1', '1',
  2975. '1', '1', '1', 'EQ', 'input', '', 10, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2976. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2977. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2978. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2979. update_by, update_time)
  2980. VALUES (111291159434825728, 111291159158001664, 'password', '密码', 'character varying', 'String', 'password', '0', '0',
  2981. '1', '1', '1', '1', '1', 'EQ', 'input', '', 11, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2982. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2983. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2984. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2985. update_by, update_time)
  2986. VALUES (111291159443214336, 111291159158001664, 'status', '帐号状态(0正常 1停用)', 'character', 'String', 'status', '0',
  2987. '0', '1', '1', '1', '1', '1', 'EQ', 'radio', '', 12, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2988. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2989. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2990. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2991. update_by, update_time)
  2992. VALUES (111291159451602944, 111291159158001664, 'version', '乐观锁', 'integer', 'Integer', 'version', '0', '0', '1',
  2993. NULL, '1', NULL, NULL, 'EQ', 'input', '', 13, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  2994. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  2995. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  2996. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  2997. update_by, update_time)
  2998. VALUES (111291159455797248, 111291159158001664, 'del_flag', '删除标志(0代表存在 1代表删除)', 'smallint', 'Integer',
  2999. 'delFlag', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'input', '', 14, 1, 1, '2024-02-03 15:32:20', 1,
  3000. '2024-02-03 15:32:34.773');
  3001. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3002. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3003. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3004. update_by, update_time)
  3005. VALUES (111291159464185856, 111291159158001664, 'login_ip', '最后登陆IP', 'character varying', 'String', 'loginIp', '0',
  3006. '0', '1', '1', '1', '1', '1', 'EQ', 'input', '', 15, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  3007. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3008. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3009. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3010. update_by, update_time)
  3011. VALUES (111291159472574464, 111291159158001664, 'login_date', '最后登陆时间', 'timestamp without time zone', 'Date',
  3012. 'loginDate', '0', '0', '1', '1', '1', '1', '1', 'EQ', 'datetime', '', 16, 1, 1, '2024-02-03 15:32:20', 1,
  3013. '2024-02-03 15:32:34.773');
  3014. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3015. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3016. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3017. update_by, update_time)
  3018. VALUES (111291159476768768, 111291159158001664, 'create_by', '创建者', 'bigint', 'Long', 'createBy', '0', '0', '0',
  3019. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 17, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  3020. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3021. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3022. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3023. update_by, update_time)
  3024. VALUES (111291159480963072, 111291159158001664, 'create_time', '创建时间', 'timestamp without time zone', 'Date',
  3025. 'createTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 18, 1, 1, '2024-02-03 15:32:20', 1,
  3026. '2024-02-03 15:32:34.773');
  3027. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3028. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3029. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3030. update_by, update_time)
  3031. VALUES (111291159489351680, 111291159158001664, 'update_by', '更新者', 'bigint', 'Long', 'updateBy', '0', '0', '0',
  3032. NULL, NULL, NULL, NULL, 'EQ', 'input', '', 19, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  3033. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3034. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3035. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3036. update_by, update_time)
  3037. VALUES (111291159493545984, 111291159158001664, 'update_time', '更新时间', 'timestamp without time zone', 'Date',
  3038. 'updateTime', '0', '0', '0', NULL, NULL, NULL, NULL, 'EQ', 'datetime', '', 20, 1, 1, '2024-02-03 15:32:20', 1,
  3039. '2024-02-03 15:32:34.773');
  3040. INSERT INTO public.gen_table_column (column_id, table_id, column_name, column_comment, column_type, java_type,
  3041. java_field, is_pk, is_increment, is_required, is_insert, is_edit, is_list,
  3042. is_query, query_type, html_type, dict_type, sort, version, create_by, create_time,
  3043. update_by, update_time)
  3044. VALUES (111291159506128896, 111291159158001664, 'remark', '备注', 'character varying', 'String', 'remark', '0', '0',
  3045. '1', '1', '1', '1', NULL, 'EQ', 'input', '', 21, 1, 1, '2024-02-03 15:32:20', 1, '2024-02-03 15:32:34.773');
  3046. --
  3047. -- Data for Name: mf_customer; Type: TABLE DATA; Schema: public; Owner: postgres
  3048. --
  3049. --
  3050. -- Data for Name: mf_goods; Type: TABLE DATA; Schema: public; Owner: postgres
  3051. --
  3052. --
  3053. -- Data for Name: mf_product; Type: TABLE DATA; Schema: public; Owner: postgres
  3054. --
  3055. --
  3056. -- Data for Name: mf_student; Type: TABLE DATA; Schema: public; Owner: postgres
  3057. --
  3058. --
  3059. -- Data for Name: pj_app_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3060. --
  3061. INSERT INTO public.pj_app_info (id, app_name, current_server, gmt_create, gmt_modified, password)
  3062. VALUES (1, 'taais-worker', '127.0.0.1:10010', '2023-06-13 16:32:59.263', '2023-12-04 17:25:49.798', '123456');
  3063. --
  3064. -- Data for Name: pj_container_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3065. --
  3066. --
  3067. -- Data for Name: pj_instance_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3068. --
  3069. --
  3070. -- Data for Name: pj_job_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3071. --
  3072. INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
  3073. execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
  3074. job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
  3075. max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
  3076. notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
  3077. time_expression, time_expression_type)
  3078. VALUES (1, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 2, 1, NULL,
  3079. '2023-06-02 15:01:27.717', '2023-07-04 17:22:12.374', 1, 0, '', '单机处理器执行测试', NULL, '{}', '{"type":1}',
  3080. 0, 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.StandaloneProcessorDemo', 1, 2, NULL, 1, '30000', 3);
  3081. INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
  3082. execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
  3083. job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
  3084. max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
  3085. notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
  3086. time_expression, time_expression_type)
  3087. VALUES (2, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 2, NULL,
  3088. '2023-06-02 15:04:45.342', '2023-07-04 17:22:12.816', 0, 0, NULL, '广播处理器测试', NULL, '{}', '{"type":1}', 0,
  3089. 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.BroadcastProcessorDemo', 1, 2, NULL, 1, '30000', 3);
  3090. INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
  3091. execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
  3092. job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
  3093. max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
  3094. notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
  3095. time_expression, time_expression_type)
  3096. VALUES (3, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 4, NULL,
  3097. '2023-06-02 15:13:23.519', '2023-06-02 16:03:22.421', 0, 0, NULL, 'Map处理器测试', NULL, '{}', '{"type":1}', 0,
  3098. 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.MapProcessorDemo', 1, 2, NULL, 1, '1000', 3);
  3099. INSERT INTO public.pj_job_info (id, alarm_config, app_id, concurrency, designated_workers, dispatch_strategy,
  3100. execute_type, extra, gmt_create, gmt_modified, instance_retry_num, instance_time_limit,
  3101. job_description, job_name, job_params, lifecycle, log_config, max_instance_num,
  3102. max_worker_count, min_cpu_cores, min_disk_space, min_memory_space, next_trigger_time,
  3103. notify_user_ids, processor_info, processor_type, status, tag, task_retry_num,
  3104. time_expression, time_expression_type)
  3105. VALUES (4, '{"alertThreshold":0,"silenceWindowLen":0,"statisticWindowLen":0}', 1, 5, '', 1, 3, NULL,
  3106. '2023-06-02 15:45:25.896', '2023-06-02 16:03:23.125', 0, 0, NULL, 'MapReduce处理器测试', NULL, '{}',
  3107. '{"type":1}', 0, 0, 0, 0, 0, NULL, NULL, 'com.taais.job.processors.MapReduceProcessorDemo', 1, 2, NULL, 1,
  3108. '1000', 3);
  3109. --
  3110. -- Data for Name: pj_oms_lock; Type: TABLE DATA; Schema: public; Owner: postgres
  3111. --
  3112. --
  3113. -- Data for Name: pj_server_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3114. --
  3115. --
  3116. -- Data for Name: pj_user_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3117. --
  3118. --
  3119. -- Data for Name: pj_workflow_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3120. --
  3121. --
  3122. -- Data for Name: pj_workflow_instance_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3123. --
  3124. --
  3125. -- Data for Name: pj_workflow_node_info; Type: TABLE DATA; Schema: public; Owner: postgres
  3126. --
  3127. --
  3128. -- Data for Name: sys_client; Type: TABLE DATA; Schema: public; Owner: postgres
  3129. --
  3130. INSERT INTO public.sys_client (id, client_id, client_key, client_secret, grant_type, device_type, active_timeout,
  3131. timeout, status, version, del_flag, create_by, create_time, update_by, update_time)
  3132. VALUES (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, '0', 0, 0, 1,
  3133. '2024-01-22 11:09:12.997334', 1, '2024-01-22 11:09:12.997334');
  3134. INSERT INTO public.sys_client (id, client_id, client_key, client_secret, grant_type, device_type, active_timeout,
  3135. timeout, status, version, del_flag, create_by, create_time, update_by, update_time)
  3136. VALUES (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, '0', 0,
  3137. 0, 1, '2024-01-22 11:09:12.997334', 1, '2024-01-22 11:09:12.997334');
  3138. --
  3139. -- Data for Name: sys_config; Type: TABLE DATA; Schema: public; Owner: postgres
  3140. --
  3141. INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
  3142. create_by, create_time, update_by, update_time, remark)
  3143. VALUES (1, 0, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 0, 1, '2024-01-22 11:09:12.997334',
  3144. NULL, NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
  3145. INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
  3146. create_by, create_time, update_by, update_time, remark)
  3147. VALUES (2, 0, '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 0, 1, '2024-01-22 11:09:12.997334', NULL,
  3148. NULL, '初始化密码 123456');
  3149. INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
  3150. create_by, create_time, update_by, update_time, remark)
  3151. VALUES (3, 0, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 0, 1, '2024-01-22 11:09:12.997334', NULL,
  3152. NULL, '深色主题theme-dark,浅色主题theme-light');
  3153. INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
  3154. create_by, create_time, update_by, update_time, remark)
  3155. VALUES (5, 0, '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 0, 1,
  3156. '2024-01-22 11:09:12.997334', NULL, NULL, '是否开启注册用户功能(true开启,false关闭)');
  3157. INSERT INTO public.sys_config (config_id, tenant_id, config_name, config_key, config_value, config_type, version,
  3158. create_by, create_time, update_by, update_time, remark)
  3159. VALUES (6, 0, 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 0, 1, '2024-01-22 11:09:12.997334',
  3160. NULL, NULL, 'true:开启, false:关闭');
  3161. --
  3162. -- Data for Name: sys_dept; Type: TABLE DATA; Schema: public; Owner: postgres
  3163. --
  3164. INSERT INTO public.sys_dept (dept_id, tenant_id, parent_id, ancestors, dept_name, order_num, leader, phone, email,
  3165. status, version, del_flag, create_by, create_time, update_by, update_time)
  3166. VALUES (108150551736287232, 0, 1, '0,1', 'test2', 22, 'asd', '', NULL, '0', 1, 0, 1, '2024-01-25 23:32:40', 1,
  3167. '2024-01-30 15:27:49.969');
  3168. INSERT INTO public.sys_dept (dept_id, tenant_id, parent_id, ancestors, dept_name, order_num, leader, phone, email,
  3169. status, version, del_flag, create_by, create_time, update_by, update_time)
  3170. VALUES (1, 0, 0, '0', 'KM', 0, 'km', '18888888888', '1234@foxmail.com', '0', 1, 0, 1,
  3171. '2023-06-03 21:32:28', 1, '2024-01-30 15:27:50.035');
  3172. --
  3173. -- Data for Name: sys_dict_data; Type: TABLE DATA; Schema: public; Owner: postgres
  3174. --
  3175. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3176. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3177. remark)
  3178. VALUES (1, 0, 1, '男', '0', 'sys_user_gender', '', '', 'Y', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27',
  3179. '性别男');
  3180. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3181. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3182. remark)
  3183. VALUES (2, 0, 2, '女', '1', 'sys_user_gender', '', '', 'N', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27',
  3184. '性别女');
  3185. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3186. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3187. remark)
  3188. VALUES (3, 0, 3, '未知', '2', 'sys_user_gender', '', '', 'N', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27',
  3189. '性别未知');
  3190. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3191. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3192. remark)
  3193. VALUES (4, 0, 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '显示菜单');
  3194. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3195. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3196. remark)
  3197. VALUES (5, 0, 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '隐藏菜单');
  3198. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3199. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3200. remark)
  3201. VALUES (6, 0, 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3202. '正常状态');
  3203. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3204. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3205. remark)
  3206. VALUES (7, 0, 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3207. '停用状态');
  3208. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3209. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3210. remark)
  3211. VALUES (8, 0, 1, '正常', '0', 'sys_job_status', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '正常状态');
  3212. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3213. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3214. remark)
  3215. VALUES (9, 0, 2, '暂停', '1', 'sys_job_status', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '停用状态');
  3216. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3217. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3218. remark)
  3219. VALUES (10, 0, 1, '默认', 'DEFAULT', 'sys_job_group', '', '', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '默认分组');
  3220. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3221. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3222. remark)
  3223. VALUES (11, 0, 2, '系统', 'SYSTEM', 'sys_job_group', '', '', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统分组');
  3224. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3225. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3226. remark)
  3227. VALUES (12, 0, 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统默认是');
  3228. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3229. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3230. remark)
  3231. VALUES (13, 0, 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统默认否');
  3232. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3233. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3234. remark)
  3235. VALUES (14, 0, 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL, '通知');
  3236. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3237. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3238. remark)
  3239. VALUES (15, 0, 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '公告');
  3240. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3241. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3242. remark)
  3243. VALUES (16, 0, 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3244. '正常状态');
  3245. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3246. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3247. remark)
  3248. VALUES (17, 0, 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3249. '关闭状态');
  3250. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3251. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3252. remark)
  3253. VALUES (18, 0, 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '其他操作');
  3254. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3255. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3256. remark)
  3257. VALUES (19, 0, 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '新增操作');
  3258. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3259. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3260. remark)
  3261. VALUES (20, 0, 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '修改操作');
  3262. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3263. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3264. remark)
  3265. VALUES (21, 0, 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '删除操作');
  3266. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3267. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3268. remark)
  3269. VALUES (22, 0, 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '授权操作');
  3270. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3271. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3272. remark)
  3273. VALUES (23, 0, 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '导出操作');
  3274. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3275. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3276. remark)
  3277. VALUES (24, 0, 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '导入操作');
  3278. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3279. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3280. remark)
  3281. VALUES (25, 0, 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL, '强退操作');
  3282. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3283. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3284. remark)
  3285. VALUES (26, 0, 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3286. '生成操作');
  3287. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3288. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3289. remark)
  3290. VALUES (27, 0, 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3291. '清空操作');
  3292. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3293. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3294. remark)
  3295. VALUES (28, 0, 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3296. '正常状态');
  3297. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3298. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3299. remark)
  3300. VALUES (29, 0, 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', 0, 1, '2023-06-03 21:32:30', 1, NULL,
  3301. '停用状态');
  3302. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3303. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3304. remark)
  3305. VALUES (30, 0, 1, '密码认证', 'password', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51',
  3306. 1, '2023-10-21 11:10:51', '密码认证');
  3307. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3308. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3309. remark)
  3310. VALUES (31, 0, 2, '短信认证', 'sms', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51', 1,
  3311. '2023-10-21 11:10:51', '短信认证');
  3312. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3313. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3314. remark)
  3315. VALUES (32, 0, 3, '邮件认证', 'email', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51', 1,
  3316. '2023-10-21 11:10:51', '邮件认证');
  3317. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3318. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3319. remark)
  3320. VALUES (33, 0, 4, '小程序认证', 'xcx', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1, '2023-10-21 11:10:51', 1,
  3321. '2023-10-21 11:10:51', '小程序认证');
  3322. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3323. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3324. remark)
  3325. VALUES (34, 0, 5, '三方登录认证', 'social', 'sys_grant_type', 'el-check-tag', 'default', 'N', 0, 1,
  3326. '2023-10-21 11:10:51', 1, '2023-10-21 11:10:51', '三方登录认证');
  3327. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3328. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3329. remark)
  3330. VALUES (35, 0, 1, 'PC', 'pc', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
  3331. '2023-10-21 11:41:10', 'PC');
  3332. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3333. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3334. remark)
  3335. VALUES (36, 0, 2, '安卓', 'android', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
  3336. '2023-10-21 11:41:10', '安卓');
  3337. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3338. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3339. remark)
  3340. VALUES (37, 0, 3, 'iOS', 'ios', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
  3341. '2023-10-21 11:41:10', 'iOS');
  3342. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3343. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3344. remark)
  3345. VALUES (38, 0, 4, '小程序', 'xcx', 'sys_device_type', '', 'default', 'N', 0, 1, '2023-10-21 11:41:10', 1,
  3346. '2023-10-21 11:41:10', '小程序');
  3347. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3348. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3349. remark)
  3350. VALUES (100, 0, 0, '正常', '0', 'sys_student_status', NULL, 'primary', 'N', 0, 1, '2023-06-03 21:53:50', 1,
  3351. '2023-06-03 21:55:24', NULL);
  3352. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3353. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3354. remark)
  3355. VALUES (101, 0, 0, '停用', '1', 'sys_student_status', NULL, 'danger', 'N', 0, 1, '2023-06-03 21:54:11', 1,
  3356. '2023-06-03 21:55:31', NULL);
  3357. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3358. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3359. remark)
  3360. VALUES (102, 0, 0, '代码', '0', 'sys_student_hobby', NULL, 'primary', 'N', 0, 1, '2023-06-04 16:40:02', 1, NULL, NULL);
  3361. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3362. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3363. remark)
  3364. VALUES (103, 0, 0, '音乐', '1', 'sys_student_hobby', NULL, 'success', 'N', 0, 1, '2023-06-04 16:40:24', 1, NULL, NULL);
  3365. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3366. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3367. remark)
  3368. VALUES (104, 0, 0, '电影', '2', 'sys_student_hobby', NULL, 'warning', 'N', 0, 1, '2023-06-04 16:40:40', 1,
  3369. '2023-06-04 16:40:49', NULL);
  3370. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3371. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3372. remark)
  3373. VALUES (105, 0, 0, '计算机', '1', 'sys_goods_type', NULL, 'primary', 'N', 0, 1, '2023-06-05 07:23:48', 1, NULL, NULL);
  3374. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3375. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3376. remark)
  3377. VALUES (106, 0, 0, '打印设备', '2', 'sys_goods_type', NULL, 'success', 'N', 0, 1, '2023-06-05 07:24:14', 1, NULL, NULL);
  3378. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3379. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3380. remark)
  3381. VALUES (107, 0, 3, '衣服', '3', 'sys_goods_type', NULL, 'info', 'N', 0, 1, '2023-06-05 07:24:35', 1, NULL, NULL);
  3382. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3383. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3384. remark)
  3385. VALUES (111, 0, 4, '网络设备', '4', 'sys_goods_type', NULL, 'default', NULL, 0, 1, '2023-09-19 17:31:46', 1,
  3386. '2023-09-19 17:31:46', NULL);
  3387. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3388. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3389. remark)
  3390. VALUES (65923231885905920, 0, 1, '桌面微机', 'PC', 'sys_app_type', NULL, 'default', 'N', 0, 1, '2023-10-01 10:56:23', 1,
  3391. '2023-10-01 10:56:23', NULL);
  3392. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3393. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3394. remark)
  3395. VALUES (65923379802230784, 0, 2, '平板', 'pad', 'sys_app_type', NULL, 'default', 'N', 0, 1, '2023-10-01 10:56:59', 1,
  3396. '2023-10-01 10:56:59', NULL);
  3397. INSERT INTO public.sys_dict_data (dict_code, tenant_id, dict_sort, dict_label, dict_value, dict_type, css_class,
  3398. list_class, is_default, version, create_by, create_time, update_by, update_time,
  3399. remark)
  3400. VALUES (65923470604718080, 0, 3, '手机', 'phone', 'sys_app_type', NULL, 'default', 'N', 0, 1, '2023-10-01 10:57:20', 1,
  3401. '2023-10-01 10:57:20', NULL);
  3402. --
  3403. -- Data for Name: sys_dict_type; Type: TABLE DATA; Schema: public; Owner: postgres
  3404. --
  3405. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3406. update_time, remark)
  3407. VALUES (1, 0, '用户性别', 'sys_user_gender', 0, 1, '2023-06-03 21:32:30', 1, '2023-09-20 09:53:27', '用户性别列表');
  3408. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3409. update_time, remark)
  3410. VALUES (2, 0, '菜单状态', 'sys_show_hide', 0, 1, '2023-06-03 21:32:30', 1, NULL, '菜单状态列表');
  3411. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3412. update_time, remark)
  3413. VALUES (3, 0, '系统开关', 'sys_normal_disable', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统开关列表');
  3414. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3415. update_time, remark)
  3416. VALUES (4, 0, '任务状态', 'sys_job_status', 0, 1, '2023-06-03 21:32:30', 1, NULL, '任务状态列表');
  3417. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3418. update_time, remark)
  3419. VALUES (5, 0, '任务分组', 'sys_job_group', 0, 1, '2023-06-03 21:32:30', 1, NULL, '任务分组列表');
  3420. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3421. update_time, remark)
  3422. VALUES (6, 0, '系统是否', 'sys_yes_no', 0, 1, '2023-06-03 21:32:30', 1, NULL, '系统是否列表');
  3423. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3424. update_time, remark)
  3425. VALUES (7, 0, '通知类型', 'sys_notice_type', 0, 1, '2023-06-03 21:32:30', 1, NULL, '通知类型列表');
  3426. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3427. update_time, remark)
  3428. VALUES (8, 0, '通知状态', 'sys_notice_status', 0, 1, '2023-06-03 21:32:30', 1, NULL, '通知状态列表');
  3429. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3430. update_time, remark)
  3431. VALUES (9, 0, '操作类型', 'sys_oper_type', 0, 1, '2023-06-03 21:32:30', 1, NULL, '操作类型列表');
  3432. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3433. update_time, remark)
  3434. VALUES (10, 0, '系统状态', 'sys_common_status', 0, 1, '2023-06-03 21:32:30', 1, NULL, '登录状态列表');
  3435. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3436. update_time, remark)
  3437. VALUES (11, 0, '授权类型', 'sys_grant_type', 0, 1, '2023-10-21 11:06:33', 1, '2023-10-21 11:06:33', '认证授权类型');
  3438. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3439. update_time, remark)
  3440. VALUES (12, 0, '设备类型', 'sys_device_type', 0, 1, '2023-10-21 11:38:41', 1, '2023-10-21 11:38:41', '客户端设备类型');
  3441. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3442. update_time, remark)
  3443. VALUES (100, 0, '学生状态', 'sys_student_status', 0, 1, '2023-06-03 21:52:47', 1, '2023-06-03 21:53:09', NULL);
  3444. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3445. update_time, remark)
  3446. VALUES (101, 0, '爱好', 'sys_student_hobby', 0, 1, '2023-06-04 16:39:16', 1, NULL, NULL);
  3447. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3448. update_time, remark)
  3449. VALUES (102, 0, '商品种类', 'sys_goods_type', 0, 1, '2023-06-05 07:23:20', 1, NULL, NULL);
  3450. INSERT INTO public.sys_dict_type (dict_id, tenant_id, dict_name, dict_type, version, create_by, create_time, update_by,
  3451. update_time, remark)
  3452. VALUES (65922863223361536, 0, '系统类型', 'sys_app_type', 0, 1, '2023-10-01 10:54:55', 1, '2023-10-01 10:54:55',
  3453. '系统类型列表');
  3454. --
  3455. -- Data for Name: sys_menu; Type: TABLE DATA; Schema: public; Owner: postgres
  3456. --
  3457. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3458. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3459. create_time, update_by, update_time, remark)
  3460. VALUES (501, '登录日志', 108, 2, '/monitor/logininfor', 'monitor/logininfor/index', NULL, '', '1', '0', 'C', '0', '0',
  3461. 'monitor:logininfor:list', 'logininfor', 0, 1, '2023-06-03 21:32:29', 1, NULL, '登录日志菜单');
  3462. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3463. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3464. create_time, update_by, update_time, remark)
  3465. VALUES (102, '菜单管理', 1, 3, '/system/menu', 'system/menu/index', NULL, '', '1', '0', 'C', '0', '0',
  3466. 'system:menu:list', 'tree-table', 0, 1, '2023-06-03 21:32:28', 1, NULL, '菜单管理菜单');
  3467. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3468. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3469. create_time, update_by, update_time, remark)
  3470. VALUES (1011, '角色导出', 101, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:export', '', 0, 1,
  3471. '2023-06-03 21:32:29', 1, NULL, '');
  3472. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3473. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3474. create_time, update_by, update_time, remark)
  3475. VALUES (118, '文件管理', 1, 10, '/system/oss', 'system/oss/index', NULL, '', '1', '0', 'C', '0', '0', 'system:oss:list',
  3476. 'upload', 0, 1, '2023-12-03 08:46:11', 1, '2023-12-03 08:46:11', '文件管理菜单');
  3477. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3478. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3479. create_time, update_by, update_time, remark)
  3480. VALUES (1022, '岗位修改', 104, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:edit', '', 0, 1,
  3481. '2023-06-03 21:32:29', 1, NULL, '');
  3482. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3483. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3484. create_time, update_by, update_time, remark)
  3485. VALUES (1016, '部门查询', 103, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:query', '', 0, 1,
  3486. '2023-06-03 21:32:29', 1, NULL, '');
  3487. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3488. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3489. create_time, update_by, update_time, remark)
  3490. VALUES (1018, '部门修改', 103, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:edit', '', 0, 1,
  3491. '2023-06-03 21:32:29', 1, NULL, '');
  3492. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3493. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3494. create_time, update_by, update_time, remark)
  3495. VALUES (1020, '岗位查询', 104, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:query', '', 0, 1,
  3496. '2023-06-03 21:32:29', 1, NULL, '');
  3497. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3498. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3499. create_time, update_by, update_time, remark)
  3500. VALUES (1010, '角色删除', 101, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:remove', '', 0, 1,
  3501. '2023-06-03 21:32:29', 1, NULL, '');
  3502. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3503. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3504. create_time, update_by, update_time, remark)
  3505. VALUES (105, '字典管理', 1, 6, '/system/dict', 'system/dict/index', NULL, '', '1', '0', 'C', '0', '0',
  3506. 'system:dict:list', 'dict', 0, 1, '2023-06-03 21:32:28', 1, NULL, '字典管理菜单');
  3507. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3508. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3509. create_time, update_by, update_time, remark)
  3510. VALUES (1007, '角色查询', 101, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:query', '', 0, 1,
  3511. '2023-06-03 21:32:29', 1, NULL, '');
  3512. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3513. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3514. create_time, update_by, update_time, remark)
  3515. VALUES (1029, '字典导出', 105, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:export', '', 0, 1,
  3516. '2023-06-03 21:32:29', 1, NULL, '');
  3517. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3518. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3519. create_time, update_by, update_time, remark)
  3520. VALUES (1015, '菜单删除', 102, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:remove', '', 0, 1,
  3521. '2023-06-03 21:32:29', 1, NULL, '');
  3522. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3523. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3524. create_time, update_by, update_time, remark)
  3525. VALUES (1014, '菜单修改', 102, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:edit', '', 0, 1,
  3526. '2023-06-03 21:32:29', 1, NULL, '');
  3527. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3528. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3529. create_time, update_by, update_time, remark)
  3530. VALUES (1013, '菜单新增', 102, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:add', '', 0, 1,
  3531. '2023-06-03 21:32:29', 1, NULL, '');
  3532. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3533. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3534. create_time, update_by, update_time, remark)
  3535. VALUES (1023, '岗位删除', 104, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:remove', '', 0, 1,
  3536. '2023-06-03 21:32:29', 1, NULL, '');
  3537. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3538. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3539. create_time, update_by, update_time, remark)
  3540. VALUES (1012, '菜单查询', 102, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:menu:query', '', 0, 1,
  3541. '2023-06-03 21:32:29', 1, NULL, '');
  3542. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3543. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3544. create_time, update_by, update_time, remark)
  3545. VALUES (108, '日志管理', 1, 9, 'log', '', NULL, '', '1', '0', 'M', '0', '0', '', 'log', 0, 1, '2023-06-03 21:32:28', 1,
  3546. NULL, '日志管理菜单');
  3547. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3548. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3549. create_time, update_by, update_time, remark)
  3550. VALUES (1, '系统管理', 0, 1, 'system', NULL, NULL, '', '1', '0', 'M', '0', '0', '', 'system', 0, 1,
  3551. '2023-06-03 21:32:28', 1, NULL, '系统管理目录');
  3552. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3553. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3554. create_time, update_by, update_time, remark)
  3555. VALUES (101, '角色管理', 1, 2, '/system/role', 'system/role/index', NULL, '', '1', '0', 'C', '0', '0',
  3556. 'system:role:list', 'peoples', 0, 1, '2023-06-03 21:32:28', 1, NULL, '角色管理菜单');
  3557. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3558. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3559. create_time, update_by, update_time, remark)
  3560. VALUES (500, '操作日志', 108, 1, '/monitor/operlog', 'monitor/operlog/index', NULL, '', '1', '0', 'C', '0', '0',
  3561. 'monitor:operlog:list', 'form', 0, 1, '2023-06-03 21:32:29', 1, NULL, '操作日志菜单');
  3562. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3563. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3564. create_time, update_by, update_time, remark)
  3565. VALUES (116, '代码生成', 3, 2, '/tool/gen', 'tool/gen/index', NULL, '', '1', '0', 'C', '0', '0', 'tool:gen:list',
  3566. 'code', 0, 1, '2023-06-03 21:32:28', 1, NULL, '代码生成菜单');
  3567. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3568. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3569. create_time, update_by, update_time, remark)
  3570. VALUES (104, '岗位管理', 1, 5, '/system/post', 'system/post/index', NULL, '', '1', '0', 'C', '0', '0',
  3571. 'system:post:list', 'post', 0, 1, '2023-06-03 21:32:28', 1, NULL, '岗位管理菜单');
  3572. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3573. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3574. create_time, update_by, update_time, remark)
  3575. VALUES (1024, '岗位导出', 104, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:export', '', 0, 1,
  3576. '2023-06-03 21:32:29', 1, NULL, '');
  3577. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3578. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3579. create_time, update_by, update_time, remark)
  3580. VALUES (103, '部门管理', 1, 4, '/system/dept', 'system/dept/index', NULL, '', '1', '0', 'C', '0', '0',
  3581. 'system:dept:list', 'tree', 0, 1, '2023-06-03 21:32:28', 1, NULL, '部门管理菜单');
  3582. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3583. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3584. create_time, update_by, update_time, remark)
  3585. VALUES (1017, '部门新增', 103, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:add', '', 0, 1,
  3586. '2023-06-03 21:32:29', 1, NULL, '');
  3587. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3588. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3589. create_time, update_by, update_time, remark)
  3590. VALUES (1021, '岗位新增', 104, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:post:add', '', 0, 1,
  3591. '2023-06-03 21:32:29', 1, NULL, '');
  3592. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3593. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3594. create_time, update_by, update_time, remark)
  3595. VALUES (1019, '部门删除', 103, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dept:remove', '', 0, 1,
  3596. '2023-06-03 21:32:29', 1, NULL, '');
  3597. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3598. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3599. create_time, update_by, update_time, remark)
  3600. VALUES (1009, '角色修改', 101, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:edit', '', 0, 1,
  3601. '2023-06-03 21:32:29', 1, NULL, '');
  3602. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3603. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3604. create_time, update_by, update_time, remark)
  3605. VALUES (1025, '字典查询', 105, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:query', '', 0, 1,
  3606. '2023-06-03 21:32:29', 1, NULL, '');
  3607. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3608. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3609. create_time, update_by, update_time, remark)
  3610. VALUES (1026, '字典新增', 105, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:add', '', 0, 1,
  3611. '2023-06-03 21:32:29', 1, NULL, '');
  3612. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3613. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3614. create_time, update_by, update_time, remark)
  3615. VALUES (1027, '字典修改', 105, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:edit', '', 0, 1,
  3616. '2023-06-03 21:32:29', 1, NULL, '');
  3617. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3618. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3619. create_time, update_by, update_time, remark)
  3620. VALUES (1028, '字典删除', 105, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:dict:remove', '', 0, 1,
  3621. '2023-06-03 21:32:29', 1, NULL, '');
  3622. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3623. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3624. create_time, update_by, update_time, remark)
  3625. VALUES (1039, '操作查询', 500, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:operlog:query', '', 0, 1,
  3626. '2023-06-03 21:32:29', 1, NULL, '');
  3627. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3628. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3629. create_time, update_by, update_time, remark)
  3630. VALUES (3, '系统工具', 0, 4, 'tool', NULL, NULL, '', '1', '0', 'M', '0', '0', '', 'tool', 0, 1, '2023-06-03 21:32:28',
  3631. 1, '2023-12-27 21:27:08.258', '系统工具目录');
  3632. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3633. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3634. create_time, update_by, update_time, remark)
  3635. VALUES (1040, '操作删除', 500, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:operlog:remove', '', 0, 1,
  3636. '2023-06-03 21:32:29', 1, NULL, '');
  3637. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3638. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3639. create_time, update_by, update_time, remark)
  3640. VALUES (1041, '日志导出', 500, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:operlog:export', '', 0, 1,
  3641. '2023-06-03 21:32:29', 1, NULL, '');
  3642. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3643. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3644. create_time, update_by, update_time, remark)
  3645. VALUES (1042, '登录查询', 501, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:query', '', 0, 1,
  3646. '2023-06-03 21:32:29', 1, NULL, '');
  3647. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3648. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3649. create_time, update_by, update_time, remark)
  3650. VALUES (1043, '登录删除', 501, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:remove', '', 0, 1,
  3651. '2023-06-03 21:32:29', 1, NULL, '');
  3652. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3653. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3654. create_time, update_by, update_time, remark)
  3655. VALUES (1044, '日志导出', 501, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:export', '', 0, 1,
  3656. '2023-06-03 21:32:29', 1, NULL, '');
  3657. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3658. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3659. create_time, update_by, update_time, remark)
  3660. VALUES (1045, '账户解锁', 501, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'monitor:logininfor:unlock', '', 0, 1,
  3661. '2023-06-03 21:32:29', 1, NULL, '');
  3662. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3663. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3664. create_time, update_by, update_time, remark)
  3665. VALUES (1000, '用户查询', 100, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:query', '', 0, 1,
  3666. '2023-06-03 21:32:29', 1, NULL, '');
  3667. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3668. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3669. create_time, update_by, update_time, remark)
  3670. VALUES (1055, '生成查询', 116, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:query', '', 0, 1,
  3671. '2023-06-03 21:32:29', 1, NULL, '');
  3672. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3673. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3674. create_time, update_by, update_time, remark)
  3675. VALUES (1056, '生成修改', 116, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:edit', '', 0, 1,
  3676. '2023-06-03 21:32:29', 1, NULL, '');
  3677. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3678. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3679. create_time, update_by, update_time, remark)
  3680. VALUES (1057, '生成删除', 116, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:remove', '', 0, 1,
  3681. '2023-06-03 21:32:29', 1, NULL, '');
  3682. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3683. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3684. create_time, update_by, update_time, remark)
  3685. VALUES (1001, '用户新增', 100, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:add', '', 0, 1,
  3686. '2023-06-03 21:32:29', 1, NULL, '');
  3687. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3688. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3689. create_time, update_by, update_time, remark)
  3690. VALUES (1002, '用户修改', 100, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:edit', '', 0, 1,
  3691. '2023-06-03 21:32:29', 1, NULL, '');
  3692. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3693. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3694. create_time, update_by, update_time, remark)
  3695. VALUES (1003, '用户删除', 100, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:remove', '', 0, 1,
  3696. '2023-06-03 21:32:29', 1, NULL, '');
  3697. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3698. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3699. create_time, update_by, update_time, remark)
  3700. VALUES (1004, '用户导出', 100, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:export', '', 0, 1,
  3701. '2023-06-03 21:32:29', 1, NULL, '');
  3702. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3703. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3704. create_time, update_by, update_time, remark)
  3705. VALUES (1005, '用户导入', 100, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:import', '', 0, 1,
  3706. '2023-06-03 21:32:29', 1, NULL, '');
  3707. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3708. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3709. create_time, update_by, update_time, remark)
  3710. VALUES (1006, '重置密码', 100, 7, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:user:resetPwd', '', 0, 1,
  3711. '2023-06-03 21:32:29', 1, NULL, '');
  3712. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3713. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3714. create_time, update_by, update_time, remark)
  3715. VALUES (1058, '导入代码', 116, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:import', '', 0, 1,
  3716. '2023-06-03 21:32:29', 1, NULL, '');
  3717. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3718. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3719. create_time, update_by, update_time, remark)
  3720. VALUES (1059, '预览代码', 116, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:preview', '', 0, 1,
  3721. '2023-06-03 21:32:29', 1, NULL, '');
  3722. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3723. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3724. create_time, update_by, update_time, remark)
  3725. VALUES (1060, '生成代码', 116, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'tool:gen:code', '', 0, 1,
  3726. '2023-06-03 21:32:29', 1, NULL, '');
  3727. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3728. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3729. create_time, update_by, update_time, remark)
  3730. VALUES (1008, '角色新增', 101, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:role:add', '', 0, 1,
  3731. '2023-06-03 21:32:29', 1, NULL, '');
  3732. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3733. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3734. create_time, update_by, update_time, remark)
  3735. VALUES (1600, '文件查询', 118, 1, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:query', '', 0, 1,
  3736. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3737. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3738. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3739. create_time, update_by, update_time, remark)
  3740. VALUES (1601, '文件上传', 118, 2, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:upload', '', 0, 1,
  3741. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3742. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3743. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3744. create_time, update_by, update_time, remark)
  3745. VALUES (1602, '文件下载', 118, 3, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:download', '', 0, 1,
  3746. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3747. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3748. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3749. create_time, update_by, update_time, remark)
  3750. VALUES (1603, '文件删除', 118, 4, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:oss:remove', '', 0, 1,
  3751. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3752. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3753. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3754. create_time, update_by, update_time, remark)
  3755. VALUES (1620, '配置列表', 118, 5, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:list', '', 0, 1,
  3756. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3757. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3758. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3759. create_time, update_by, update_time, remark)
  3760. VALUES (1621, '配置添加', 118, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:add', '', 0, 1,
  3761. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3762. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3763. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3764. create_time, update_by, update_time, remark)
  3765. VALUES (1622, '配置编辑', 118, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:edit', '', 0, 1,
  3766. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3767. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3768. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3769. create_time, update_by, update_time, remark)
  3770. VALUES (1623, '配置删除', 118, 6, '', '', NULL, '', '1', '0', 'F', '0', '0', 'system:ossConfig:remove', '', 0, 1,
  3771. '2023-12-25 15:09:14.342224', NULL, NULL, '');
  3772. INSERT INTO public.sys_menu (menu_id, menu_name, parent_id, order_num, path, component, component_name, query_param,
  3773. is_frame, is_cache, menu_type, visible, status, perms, icon, version, create_by,
  3774. create_time, update_by, update_time, remark)
  3775. VALUES (100, '用户管理', 1, 1, '/system/user', 'system/user/index', 'User', '', '1', '0', 'C', '0', '0',
  3776. 'system:user:list', 'Aim', 6, 1, '2023-06-03 21:32:28', 1, '2024-02-03 17:54:57.296', '用户管理菜单');
  3777. --
  3778. -- Data for Name: sys_post; Type: TABLE DATA; Schema: public; Owner: postgres
  3779. --
  3780. INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
  3781. create_time, update_by, update_time, remark)
  3782. VALUES (1, 0, 'ceo', '董事长', 1, '0', 0, 1, '2023-06-03 21:32:28', 1, '2023-09-02 15:43:55', '');
  3783. INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
  3784. create_time, update_by, update_time, remark)
  3785. VALUES (2, 0, 'se', '项目经理', 2, '0', 0, 1, '2023-06-03 21:32:28', 1, NULL, '');
  3786. INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
  3787. create_time, update_by, update_time, remark)
  3788. VALUES (3, 0, 'hr', '人力资源', 3, '0', 0, 1, '2023-06-03 21:32:28', 1, NULL, '');
  3789. INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
  3790. create_time, update_by, update_time, remark)
  3791. VALUES (4, 0, 'users', '普通员工', 4, '0', 0, 1, '2023-06-03 21:32:28', 1, '2023-07-13 21:30:24', '');
  3792. INSERT INTO public.sys_post (post_id, tenant_id, post_code, post_name, post_sort, status, version, create_by,
  3793. create_time, update_by, update_time, remark)
  3794. VALUES (5, 0, 'deptLeader', '部门管理岗', 5, '0', 0, 1, '2023-10-01 10:33:39', 1, '2023-10-01 10:33:39',
  3795. '部门负责人岗位');
  3796. --
  3797. -- Data for Name: sys_role; Type: TABLE DATA; Schema: public; Owner: postgres
  3798. --
  3799. INSERT INTO public.sys_role (role_id, tenant_id, role_name, role_key, role_sort, data_scope, menu_check_strictly,
  3800. dept_check_strictly, status, version, del_flag, create_by, create_time, update_by,
  3801. update_time, remark)
  3802. VALUES (1, 0, '超级管理员角色', 'admin', 1, '1', true, true, '0', 0, 0, 1, '2023-06-03 21:32:28', 1, NULL,
  3803. '超级管理员');
  3804. --
  3805. -- Data for Name: sys_role_dept; Type: TABLE DATA; Schema: public; Owner: postgres
  3806. --
  3807. --
  3808. -- Data for Name: sys_role_menu; Type: TABLE DATA; Schema: public; Owner: postgres
  3809. --
  3810. --
  3811. -- Data for Name: sys_tenant; Type: TABLE DATA; Schema: public; Owner: postgres
  3812. --
  3813. INSERT INTO public.sys_tenant (tenant_id, contact_user_name, contact_phone, company_name, license_number, address,
  3814. intro, domain, remark, package_id, expire_time, account_count, status, version, del_flag,
  3815. create_by, create_time, update_by, update_time)
  3816. VALUES (0, '联系人', '18888888888', 'KM', NULL, NULL, '多租户通用后台管理管理系统', NULL, NULL,
  3817. NULL, NULL, -1, '0', 0, 0, 1, '2023-08-13 08:08:08', NULL, NULL);
  3818. --
  3819. -- Data for Name: sys_tenant_package; Type: TABLE DATA; Schema: public; Owner: postgres
  3820. --
  3821. --
  3822. -- Data for Name: sys_user; Type: TABLE DATA; Schema: public; Owner: postgres
  3823. --
  3824. INSERT INTO public.sys_user (user_id, tenant_id, dept_id, user_name, nick_name, user_type, email, phonenumber, gender,
  3825. avatar, password, status, version, del_flag, login_ip, login_date, create_by, create_time,
  3826. update_by, update_time, remark)
  3827. VALUES (1, 0, 1, 'superadmin', '超级管理员', 'sys_user', 'ry@163.com', '15888888888', '1', NULL,
  3828. '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', 58, 0, '127.0.0.1',
  3829. '2024-02-22 11:25:19.464', 1, '2023-06-03 21:32:28', 1, '2024-02-22 11:25:19.467', '管理员');
  3830. --
  3831. -- Data for Name: sys_user_post; Type: TABLE DATA; Schema: public; Owner: postgres
  3832. --
  3833. --
  3834. -- Data for Name: sys_user_role; Type: TABLE DATA; Schema: public; Owner: postgres
  3835. --
  3836. --
  3837. -- Name: demo_customer_customer_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  3838. --
  3839. SELECT pg_catalog.setval('public.demo_customer_customer_id_seq', 1, false);
  3840. --
  3841. -- Name: demo_goods_goods_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  3842. --
  3843. SELECT pg_catalog.setval('public.demo_goods_goods_id_seq', 1, false);
  3844. --
  3845. -- Name: demo_product_product_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  3846. --
  3847. SELECT pg_catalog.setval('public.demo_product_product_id_seq', 1, false);
  3848. --
  3849. -- Name: demo_student_student_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
  3850. --
  3851. SELECT pg_catalog.setval('public.demo_student_student_id_seq', 1, false);
  3852. --
  3853. -- Name: demo_customer demo_customer_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3854. --
  3855. ALTER TABLE ONLY public.demo_customer
  3856. ADD CONSTRAINT demo_customer_pk PRIMARY KEY (customer_id);
  3857. --
  3858. -- Name: demo_goods demo_goods_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3859. --
  3860. ALTER TABLE ONLY public.demo_goods
  3861. ADD CONSTRAINT demo_goods_pk PRIMARY KEY (goods_id);
  3862. --
  3863. -- Name: demo_product demo_product_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3864. --
  3865. ALTER TABLE ONLY public.demo_product
  3866. ADD CONSTRAINT demo_product_pk PRIMARY KEY (product_id);
  3867. --
  3868. -- Name: demo_student demo_student_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3869. --
  3870. ALTER TABLE ONLY public.demo_student
  3871. ADD CONSTRAINT demo_student_pk PRIMARY KEY (student_id);
  3872. --
  3873. -- Name: gen_table_column gen_table_column_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3874. --
  3875. ALTER TABLE ONLY public.gen_table_column
  3876. ADD CONSTRAINT gen_table_column_pk PRIMARY KEY (column_id);
  3877. --
  3878. -- Name: gen_table gen_table_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3879. --
  3880. ALTER TABLE ONLY public.gen_table
  3881. ADD CONSTRAINT gen_table_pk PRIMARY KEY (table_id);
  3882. --
  3883. -- Name: mf_customer mf_customer_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3884. --
  3885. ALTER TABLE ONLY public.mf_customer
  3886. ADD CONSTRAINT mf_customer_pk PRIMARY KEY (customer_id);
  3887. --
  3888. -- Name: mf_goods mf_goods_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3889. --
  3890. ALTER TABLE ONLY public.mf_goods
  3891. ADD CONSTRAINT mf_goods_pk PRIMARY KEY (goods_id);
  3892. --
  3893. -- Name: mf_product mf_product_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3894. --
  3895. ALTER TABLE ONLY public.mf_product
  3896. ADD CONSTRAINT mf_product_pk PRIMARY KEY (product_id);
  3897. --
  3898. -- Name: mf_student mf_student_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3899. --
  3900. ALTER TABLE ONLY public.mf_student
  3901. ADD CONSTRAINT mf_student_pk PRIMARY KEY (student_id);
  3902. --
  3903. -- Name: pj_app_info pj_app_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3904. --
  3905. ALTER TABLE ONLY public.pj_app_info
  3906. ADD CONSTRAINT pj_app_info_pkey PRIMARY KEY (id);
  3907. --
  3908. -- Name: pj_container_info pj_container_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3909. --
  3910. ALTER TABLE ONLY public.pj_container_info
  3911. ADD CONSTRAINT pj_container_info_pkey PRIMARY KEY (id);
  3912. --
  3913. -- Name: pj_instance_info pj_instance_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3914. --
  3915. ALTER TABLE ONLY public.pj_instance_info
  3916. ADD CONSTRAINT pj_instance_info_pkey PRIMARY KEY (id);
  3917. --
  3918. -- Name: pj_job_info pj_job_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3919. --
  3920. ALTER TABLE ONLY public.pj_job_info
  3921. ADD CONSTRAINT pj_job_info_pkey PRIMARY KEY (id);
  3922. --
  3923. -- Name: pj_oms_lock pj_oms_lock_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3924. --
  3925. ALTER TABLE ONLY public.pj_oms_lock
  3926. ADD CONSTRAINT pj_oms_lock_pkey PRIMARY KEY (id);
  3927. --
  3928. -- Name: pj_server_info pj_server_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3929. --
  3930. ALTER TABLE ONLY public.pj_server_info
  3931. ADD CONSTRAINT pj_server_info_pkey PRIMARY KEY (id);
  3932. --
  3933. -- Name: pj_user_info pj_user_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3934. --
  3935. ALTER TABLE ONLY public.pj_user_info
  3936. ADD CONSTRAINT pj_user_info_pkey PRIMARY KEY (id);
  3937. --
  3938. -- Name: pj_workflow_info pj_workflow_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3939. --
  3940. ALTER TABLE ONLY public.pj_workflow_info
  3941. ADD CONSTRAINT pj_workflow_info_pkey PRIMARY KEY (id);
  3942. --
  3943. -- Name: pj_workflow_instance_info pj_workflow_instance_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3944. --
  3945. ALTER TABLE ONLY public.pj_workflow_instance_info
  3946. ADD CONSTRAINT pj_workflow_instance_info_pkey PRIMARY KEY (id);
  3947. --
  3948. -- Name: pj_workflow_node_info pj_workflow_node_info_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  3949. --
  3950. ALTER TABLE ONLY public.pj_workflow_node_info
  3951. ADD CONSTRAINT pj_workflow_node_info_pkey PRIMARY KEY (id);
  3952. --
  3953. -- Name: sys_tenant pk_sys_tenant; Type: CONSTRAINT; Schema: public; Owner: postgres
  3954. --
  3955. ALTER TABLE ONLY public.sys_tenant
  3956. ADD CONSTRAINT pk_sys_tenant PRIMARY KEY (tenant_id);
  3957. --
  3958. -- Name: sys_client sys_client_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3959. --
  3960. ALTER TABLE ONLY public.sys_client
  3961. ADD CONSTRAINT sys_client_pk PRIMARY KEY (id);
  3962. --
  3963. -- Name: sys_config sys_config_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3964. --
  3965. ALTER TABLE ONLY public.sys_config
  3966. ADD CONSTRAINT sys_config_pk PRIMARY KEY (config_id);
  3967. --
  3968. -- Name: sys_dept sys_dept_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3969. --
  3970. ALTER TABLE ONLY public.sys_dept
  3971. ADD CONSTRAINT sys_dept_pk PRIMARY KEY (dept_id);
  3972. --
  3973. -- Name: sys_dict_data sys_dict_data_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3974. --
  3975. ALTER TABLE ONLY public.sys_dict_data
  3976. ADD CONSTRAINT sys_dict_data_pk PRIMARY KEY (dict_code);
  3977. --
  3978. -- Name: sys_dict_type sys_dict_type_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3979. --
  3980. ALTER TABLE ONLY public.sys_dict_type
  3981. ADD CONSTRAINT sys_dict_type_pk PRIMARY KEY (dict_id);
  3982. --
  3983. -- Name: sys_logininfor sys_logininfor_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3984. --
  3985. ALTER TABLE ONLY public.sys_logininfor
  3986. ADD CONSTRAINT sys_logininfor_pk PRIMARY KEY (info_id);
  3987. --
  3988. -- Name: sys_menu sys_menu_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3989. --
  3990. ALTER TABLE ONLY public.sys_menu
  3991. ADD CONSTRAINT sys_menu_pk PRIMARY KEY (menu_id);
  3992. --
  3993. -- Name: sys_notice sys_notice_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3994. --
  3995. ALTER TABLE ONLY public.sys_notice
  3996. ADD CONSTRAINT sys_notice_pk PRIMARY KEY (notice_id);
  3997. --
  3998. -- Name: sys_oper_log sys_oper_log_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  3999. --
  4000. ALTER TABLE ONLY public.sys_oper_log
  4001. ADD CONSTRAINT sys_oper_log_pk PRIMARY KEY (oper_id);
  4002. --
  4003. -- Name: sys_oss_config sys_oss_config_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4004. --
  4005. ALTER TABLE ONLY public.sys_oss_config
  4006. ADD CONSTRAINT sys_oss_config_pk PRIMARY KEY (oss_config_id);
  4007. --
  4008. -- Name: sys_oss sys_oss_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4009. --
  4010. ALTER TABLE ONLY public.sys_oss
  4011. ADD CONSTRAINT sys_oss_pk PRIMARY KEY (oss_id);
  4012. --
  4013. -- Name: sys_post sys_post_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4014. --
  4015. ALTER TABLE ONLY public.sys_post
  4016. ADD CONSTRAINT sys_post_pk PRIMARY KEY (post_id);
  4017. --
  4018. -- Name: sys_role_dept sys_role_dept_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4019. --
  4020. ALTER TABLE ONLY public.sys_role_dept
  4021. ADD CONSTRAINT sys_role_dept_pk PRIMARY KEY (role_id, dept_id);
  4022. --
  4023. -- Name: sys_role_menu sys_role_menu_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4024. --
  4025. ALTER TABLE ONLY public.sys_role_menu
  4026. ADD CONSTRAINT sys_role_menu_pk PRIMARY KEY (role_id, menu_id);
  4027. --
  4028. -- Name: sys_role sys_role_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4029. --
  4030. ALTER TABLE ONLY public.sys_role
  4031. ADD CONSTRAINT sys_role_pk PRIMARY KEY (role_id);
  4032. --
  4033. -- Name: sys_tenant_package sys_tenant_package_pkey; Type: CONSTRAINT; Schema: public; Owner: postgres
  4034. --
  4035. ALTER TABLE ONLY public.sys_tenant_package
  4036. ADD CONSTRAINT sys_tenant_package_pkey PRIMARY KEY (package_id);
  4037. --
  4038. -- Name: sys_user sys_user_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4039. --
  4040. ALTER TABLE ONLY public.sys_user
  4041. ADD CONSTRAINT sys_user_pk PRIMARY KEY (user_id);
  4042. --
  4043. -- Name: sys_user_post sys_user_post_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4044. --
  4045. ALTER TABLE ONLY public.sys_user_post
  4046. ADD CONSTRAINT sys_user_post_pk PRIMARY KEY (user_id, post_id);
  4047. --
  4048. -- Name: sys_user_role sys_user_role_pk; Type: CONSTRAINT; Schema: public; Owner: postgres
  4049. --
  4050. ALTER TABLE ONLY public.sys_user_role
  4051. ADD CONSTRAINT sys_user_role_pk PRIMARY KEY (user_id, role_id);
  4052. --
  4053. -- Name: pj_app_info uidx01_app_info; Type: CONSTRAINT; Schema: public; Owner: postgres
  4054. --
  4055. ALTER TABLE ONLY public.pj_app_info
  4056. ADD CONSTRAINT uidx01_app_info UNIQUE (app_name);
  4057. --
  4058. -- Name: pj_oms_lock uidx01_oms_lock; Type: CONSTRAINT; Schema: public; Owner: postgres
  4059. --
  4060. ALTER TABLE ONLY public.pj_oms_lock
  4061. ADD CONSTRAINT uidx01_oms_lock UNIQUE (lock_name);
  4062. --
  4063. -- Name: pj_server_info uidx01_server_info; Type: CONSTRAINT; Schema: public; Owner: postgres
  4064. --
  4065. ALTER TABLE ONLY public.pj_server_info
  4066. ADD CONSTRAINT uidx01_server_info UNIQUE (ip);
  4067. --
  4068. -- Name: pj_workflow_instance_info uidx01_wf_instance; Type: CONSTRAINT; Schema: public; Owner: postgres
  4069. --
  4070. ALTER TABLE ONLY public.pj_workflow_instance_info
  4071. ADD CONSTRAINT uidx01_wf_instance UNIQUE (wf_instance_id);
  4072. --
  4073. -- Name: idx01_container_info; Type: INDEX; Schema: public; Owner: postgres
  4074. --
  4075. CREATE INDEX idx01_container_info ON public.pj_container_info USING btree (app_id);
  4076. --
  4077. -- Name: idx01_instance_info; Type: INDEX; Schema: public; Owner: postgres
  4078. --
  4079. CREATE INDEX idx01_instance_info ON public.pj_instance_info USING btree (job_id, status);
  4080. --
  4081. -- Name: idx01_job_info; Type: INDEX; Schema: public; Owner: postgres
  4082. --
  4083. CREATE INDEX idx01_job_info ON public.pj_job_info USING btree (app_id, status, time_expression_type, next_trigger_time);
  4084. --
  4085. -- Name: idx01_server_info; Type: INDEX; Schema: public; Owner: postgres
  4086. --
  4087. CREATE INDEX idx01_server_info ON public.pj_server_info USING btree (gmt_modified);
  4088. --
  4089. -- Name: idx01_wf_instance; Type: INDEX; Schema: public; Owner: postgres
  4090. --
  4091. CREATE INDEX idx01_wf_instance ON public.pj_workflow_instance_info USING btree (workflow_id, status, app_id, expected_trigger_time);
  4092. --
  4093. -- Name: idx01_workflow_info; Type: INDEX; Schema: public; Owner: postgres
  4094. --
  4095. CREATE INDEX idx01_workflow_info ON public.pj_workflow_info USING btree (app_id, status, time_expression_type, next_trigger_time);
  4096. --
  4097. -- Name: idx01_workflow_node_info; Type: INDEX; Schema: public; Owner: postgres
  4098. --
  4099. CREATE INDEX idx01_workflow_node_info ON public.pj_workflow_node_info USING btree (workflow_id, gmt_create);
  4100. --
  4101. -- Name: idx02_instance_info; Type: INDEX; Schema: public; Owner: postgres
  4102. --
  4103. CREATE INDEX idx02_instance_info ON public.pj_instance_info USING btree (app_id, status);
  4104. --
  4105. -- Name: idx03_instance_info; Type: INDEX; Schema: public; Owner: postgres
  4106. --
  4107. CREATE INDEX idx03_instance_info ON public.pj_instance_info USING btree (instance_id, status);
  4108. --
  4109. -- Name: idx_sys_logininfor_lt; Type: INDEX; Schema: public; Owner: postgres
  4110. --
  4111. CREATE INDEX idx_sys_logininfor_lt ON public.sys_logininfor USING btree (login_time);
  4112. --
  4113. -- Name: idx_sys_logininfor_s; Type: INDEX; Schema: public; Owner: postgres
  4114. --
  4115. CREATE INDEX idx_sys_logininfor_s ON public.sys_logininfor USING btree (status);
  4116. --
  4117. -- Name: idx_sys_oper_log_bt; Type: INDEX; Schema: public; Owner: postgres
  4118. --
  4119. CREATE INDEX idx_sys_oper_log_bt ON public.sys_oper_log USING btree (business_type);
  4120. --
  4121. -- Name: idx_sys_oper_log_ot; Type: INDEX; Schema: public; Owner: postgres
  4122. --
  4123. CREATE INDEX idx_sys_oper_log_ot ON public.sys_oper_log USING btree (oper_time);
  4124. --
  4125. -- Name: idx_sys_oper_log_s; Type: INDEX; Schema: public; Owner: postgres
  4126. --
  4127. CREATE INDEX idx_sys_oper_log_s ON public.sys_oper_log USING btree (status);
  4128. --
  4129. -- Name: sys_dict_type_index1; Type: INDEX; Schema: public; Owner: postgres
  4130. --
  4131. CREATE UNIQUE INDEX sys_dict_type_index1 ON public.sys_dict_type USING btree (tenant_id, dict_type);
  4132. --
  4133. -- Name: sys_user_unqindex_tenant_username; Type: INDEX; Schema: public; Owner: postgres
  4134. --
  4135. CREATE UNIQUE INDEX sys_user_unqindex_tenant_username ON public.sys_user USING btree (tenant_id, user_name);
  4136. --
  4137. -- Name: uidx01_user_info; Type: INDEX; Schema: public; Owner: postgres
  4138. --
  4139. CREATE INDEX uidx01_user_info ON public.pj_user_info USING btree (username);
  4140. --
  4141. -- Name: uidx02_user_info; Type: INDEX; Schema: public; Owner: postgres
  4142. --
  4143. CREATE INDEX uidx02_user_info ON public.pj_user_info USING btree (email);
  4144. --
  4145. -- PostgreSQL database dump complete
  4146. --