mldong.ndm2 283 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093
  1. {
  2. "paper": {
  3. "name": "A4",
  4. "leftMargin": 0.5,
  5. "rightMargin": 0.5,
  6. "topMargin": 0.5,
  7. "bottomMargin": 0.5,
  8. "isPortriat": true
  9. },
  10. "modelVersion": 2.01,
  11. "defaultSchema": "mldong",
  12. "server": {
  13. "objectType": "Server_MYSQL",
  14. "name": "Default",
  15. "serverVersion": 50728,
  16. "edition": "Default",
  17. "lowerCaseTableNames": 0,
  18. "schemas": [
  19. {
  20. "objectType": "Schema_MYSQL",
  21. "name": "mldong",
  22. "tables": [
  23. {
  24. "objectType": "Table_MYSQL",
  25. "name": "sys_config",
  26. "comment": "参数配置",
  27. "engine": "InnoDB",
  28. "characterSet": "utf8mb4",
  29. "collation": "utf8mb4_general_ci",
  30. "autoIncrement": 2,
  31. "tablespace": "",
  32. "storage": "",
  33. "insertMethod": "",
  34. "connection": "",
  35. "checksum": false,
  36. "rowFormat": "Dynamic",
  37. "avgRowLength": 0,
  38. "maxRows": 0,
  39. "minRows": 0,
  40. "keyBlockSize": 0,
  41. "packKeys": "",
  42. "delayKeyWrite": false,
  43. "dataDirectory": "",
  44. "indexDirectory": "",
  45. "statsAutoRecalc": "",
  46. "statsPersistent": "",
  47. "statsSamplePages": 0,
  48. "union": "",
  49. "pageCheckSum": false,
  50. "transactional": false,
  51. "compression": "",
  52. "oldName": "sys_config",
  53. "encryption": false,
  54. "createOptions": "",
  55. "createTime": "2020-11-05 09:47:46",
  56. "checkTime": "",
  57. "dataFree": 0,
  58. "dataLength": 16384,
  59. "indexLength": 0,
  60. "maxDataLength": 0,
  61. "rows": 0,
  62. "updateTime": "",
  63. "DDL": "CREATE TABLE `sys_config` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '编号',\n `config_name` varchar(64) DEFAULT NULL COMMENT '参数名称',\n `config_key` varchar(64) DEFAULT NULL COMMENT '参数键名',\n `config_value` text COMMENT '参数键值',\n `is_system` tinyint(1) unsigned DEFAULT '2' COMMENT '系统内置(1->否|NO,2->是|YES)',\n `remark` varchar(255) DEFAULT NULL COMMENT '备注',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='参数配置'",
  64. "partitionBy": "",
  65. "partitionByExpr": "",
  66. "partitions": 0,
  67. "partitionKeyAlgorithm": "",
  68. "subPartitionBy": "",
  69. "subPartitionByExpr": "",
  70. "subPartitions": 0,
  71. "subPartitionKeyAlgorithm": "",
  72. "fields": [
  73. {
  74. "objectType": "TableField_MYSQL",
  75. "name": "id",
  76. "type": "bigint",
  77. "length": 20,
  78. "decimals": 0,
  79. "isUnsigned": true,
  80. "isZeroFill": false,
  81. "setEnumValues": "",
  82. "isBinary": false,
  83. "charset": "",
  84. "collation": "",
  85. "isNullable": false,
  86. "defaultType": "Others",
  87. "defaultValue": "",
  88. "isOnUpdateCurrentTimestamp": false,
  89. "isAutoInc": true,
  90. "comment": "编号",
  91. "columnFormat": "",
  92. "storage": "",
  93. "isVirtual": false,
  94. "isGeneratedAlways": false,
  95. "virtualExpr": "",
  96. "virtualType": "",
  97. "oldName": "id"
  98. },
  99. {
  100. "objectType": "TableField_MYSQL",
  101. "name": "config_name",
  102. "type": "varchar",
  103. "length": 64,
  104. "decimals": 0,
  105. "isUnsigned": false,
  106. "isZeroFill": false,
  107. "setEnumValues": "",
  108. "isBinary": false,
  109. "charset": "utf8mb4",
  110. "collation": "utf8mb4_general_ci",
  111. "isNullable": true,
  112. "defaultType": "Null",
  113. "defaultValue": "",
  114. "isOnUpdateCurrentTimestamp": false,
  115. "isAutoInc": false,
  116. "comment": "参数名称",
  117. "columnFormat": "",
  118. "storage": "",
  119. "isVirtual": false,
  120. "isGeneratedAlways": false,
  121. "virtualExpr": "",
  122. "virtualType": "",
  123. "oldName": "config_name"
  124. },
  125. {
  126. "objectType": "TableField_MYSQL",
  127. "name": "config_key",
  128. "type": "varchar",
  129. "length": 64,
  130. "decimals": 0,
  131. "isUnsigned": false,
  132. "isZeroFill": false,
  133. "setEnumValues": "",
  134. "isBinary": false,
  135. "charset": "utf8mb4",
  136. "collation": "utf8mb4_general_ci",
  137. "isNullable": true,
  138. "defaultType": "Null",
  139. "defaultValue": "",
  140. "isOnUpdateCurrentTimestamp": false,
  141. "isAutoInc": false,
  142. "comment": "参数键名",
  143. "columnFormat": "",
  144. "storage": "",
  145. "isVirtual": false,
  146. "isGeneratedAlways": false,
  147. "virtualExpr": "",
  148. "virtualType": "",
  149. "oldName": "config_key"
  150. },
  151. {
  152. "objectType": "TableField_MYSQL",
  153. "name": "config_value",
  154. "type": "text",
  155. "length": 0,
  156. "decimals": 0,
  157. "isUnsigned": false,
  158. "isZeroFill": false,
  159. "setEnumValues": "",
  160. "isBinary": false,
  161. "charset": "utf8mb4",
  162. "collation": "utf8mb4_general_ci",
  163. "isNullable": true,
  164. "defaultType": "Null",
  165. "defaultValue": "",
  166. "isOnUpdateCurrentTimestamp": false,
  167. "isAutoInc": false,
  168. "comment": "参数键值",
  169. "columnFormat": "",
  170. "storage": "",
  171. "isVirtual": false,
  172. "isGeneratedAlways": false,
  173. "virtualExpr": "",
  174. "virtualType": "",
  175. "oldName": "config_value"
  176. },
  177. {
  178. "objectType": "TableField_MYSQL",
  179. "name": "is_system",
  180. "type": "tinyint",
  181. "length": 1,
  182. "decimals": 0,
  183. "isUnsigned": true,
  184. "isZeroFill": false,
  185. "setEnumValues": "",
  186. "isBinary": false,
  187. "charset": "",
  188. "collation": "",
  189. "isNullable": true,
  190. "defaultType": "Others",
  191. "defaultValue": "2",
  192. "isOnUpdateCurrentTimestamp": false,
  193. "isAutoInc": false,
  194. "comment": "系统内置(1->否|NO,2->是|YES)",
  195. "columnFormat": "",
  196. "storage": "",
  197. "isVirtual": false,
  198. "isGeneratedAlways": false,
  199. "virtualExpr": "",
  200. "virtualType": "",
  201. "oldName": "is_system"
  202. },
  203. {
  204. "objectType": "TableField_MYSQL",
  205. "name": "remark",
  206. "type": "varchar",
  207. "length": 255,
  208. "decimals": 0,
  209. "isUnsigned": false,
  210. "isZeroFill": false,
  211. "setEnumValues": "",
  212. "isBinary": false,
  213. "charset": "utf8mb4",
  214. "collation": "utf8mb4_general_ci",
  215. "isNullable": true,
  216. "defaultType": "Null",
  217. "defaultValue": "",
  218. "isOnUpdateCurrentTimestamp": false,
  219. "isAutoInc": false,
  220. "comment": "备注",
  221. "columnFormat": "",
  222. "storage": "",
  223. "isVirtual": false,
  224. "isGeneratedAlways": false,
  225. "virtualExpr": "",
  226. "virtualType": "",
  227. "oldName": "remark"
  228. },
  229. {
  230. "objectType": "TableField_MYSQL",
  231. "name": "create_time",
  232. "type": "datetime",
  233. "length": 3,
  234. "decimals": 0,
  235. "isUnsigned": false,
  236. "isZeroFill": false,
  237. "setEnumValues": "",
  238. "isBinary": false,
  239. "charset": "",
  240. "collation": "",
  241. "isNullable": true,
  242. "defaultType": "Null",
  243. "defaultValue": "",
  244. "isOnUpdateCurrentTimestamp": false,
  245. "isAutoInc": false,
  246. "comment": "创建时间",
  247. "columnFormat": "",
  248. "storage": "",
  249. "isVirtual": false,
  250. "isGeneratedAlways": false,
  251. "virtualExpr": "",
  252. "virtualType": "",
  253. "oldName": "create_time"
  254. },
  255. {
  256. "objectType": "TableField_MYSQL",
  257. "name": "update_time",
  258. "type": "datetime",
  259. "length": 3,
  260. "decimals": 0,
  261. "isUnsigned": false,
  262. "isZeroFill": false,
  263. "setEnumValues": "",
  264. "isBinary": false,
  265. "charset": "",
  266. "collation": "",
  267. "isNullable": true,
  268. "defaultType": "Null",
  269. "defaultValue": "",
  270. "isOnUpdateCurrentTimestamp": false,
  271. "isAutoInc": false,
  272. "comment": "更新时间",
  273. "columnFormat": "",
  274. "storage": "",
  275. "isVirtual": false,
  276. "isGeneratedAlways": false,
  277. "virtualExpr": "",
  278. "virtualType": "",
  279. "oldName": "update_time"
  280. },
  281. {
  282. "objectType": "TableField_MYSQL",
  283. "name": "is_deleted",
  284. "type": "tinyint",
  285. "length": 1,
  286. "decimals": 0,
  287. "isUnsigned": true,
  288. "isZeroFill": false,
  289. "setEnumValues": "",
  290. "isBinary": false,
  291. "charset": "",
  292. "collation": "",
  293. "isNullable": true,
  294. "defaultType": "Others",
  295. "defaultValue": "1",
  296. "isOnUpdateCurrentTimestamp": false,
  297. "isAutoInc": false,
  298. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  299. "columnFormat": "",
  300. "storage": "",
  301. "isVirtual": false,
  302. "isGeneratedAlways": false,
  303. "virtualExpr": "",
  304. "virtualType": "",
  305. "oldName": "is_deleted"
  306. }
  307. ],
  308. "indexes": [],
  309. "primaryKey": {
  310. "objectType": "PrimaryKey_MYSQL",
  311. "name": "",
  312. "fields": [
  313. {
  314. "objectType": "IndexField_MYSQL",
  315. "name": "id",
  316. "keyLength": 0,
  317. "order": "",
  318. "oldName": "id"
  319. }
  320. ],
  321. "oldName": "",
  322. "indexMethod": "BTREE",
  323. "comment": ""
  324. },
  325. "foreignKeys": [],
  326. "triggers": [],
  327. "tablePartitions": []
  328. },
  329. {
  330. "objectType": "Table_MYSQL",
  331. "name": "sys_dept",
  332. "comment": "",
  333. "engine": "InnoDB",
  334. "characterSet": "utf8mb4",
  335. "collation": "utf8mb4_general_ci",
  336. "autoIncrement": 15,
  337. "tablespace": "",
  338. "storage": "",
  339. "insertMethod": "",
  340. "connection": "",
  341. "checksum": false,
  342. "rowFormat": "Dynamic",
  343. "avgRowLength": 0,
  344. "maxRows": 0,
  345. "minRows": 0,
  346. "keyBlockSize": 0,
  347. "packKeys": "",
  348. "delayKeyWrite": false,
  349. "dataDirectory": "",
  350. "indexDirectory": "",
  351. "statsAutoRecalc": "",
  352. "statsPersistent": "",
  353. "statsSamplePages": 0,
  354. "union": "",
  355. "pageCheckSum": false,
  356. "transactional": false,
  357. "compression": "",
  358. "oldName": "sys_dept",
  359. "encryption": false,
  360. "createOptions": "row_format=DYNAMIC",
  361. "createTime": "2020-10-24 19:02:50",
  362. "checkTime": "",
  363. "dataFree": 0,
  364. "dataLength": 16384,
  365. "indexLength": 0,
  366. "maxDataLength": 0,
  367. "rows": 4,
  368. "updateTime": "",
  369. "DDL": "CREATE TABLE `sys_dept` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `parent_id` bigint(20) DEFAULT '0' COMMENT '父级id',\n `name` varchar(100) NOT NULL COMMENT '部门名称',\n `code` varchar(30) DEFAULT NULL COMMENT '部门编码',\n `sort` double(10,2) DEFAULT '10.00' COMMENT '排序',\n `contacts` varchar(20) DEFAULT NULL COMMENT '联系人',\n `mobile_phone` varchar(15) DEFAULT NULL COMMENT '联系人手机号',\n `telephone` varchar(20) DEFAULT NULL COMMENT '电话',\n `email` varchar(32) DEFAULT NULL COMMENT '邮箱',\n `address` varchar(255) DEFAULT NULL COMMENT '地址',\n `is_enabled` tinyint(1) unsigned DEFAULT '2' COMMENT '是否启用(1->禁用|NO,2->启用|YES)',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC",
  370. "partitionBy": "",
  371. "partitionByExpr": "",
  372. "partitions": 0,
  373. "partitionKeyAlgorithm": "",
  374. "subPartitionBy": "",
  375. "subPartitionByExpr": "",
  376. "subPartitions": 0,
  377. "subPartitionKeyAlgorithm": "",
  378. "fields": [
  379. {
  380. "objectType": "TableField_MYSQL",
  381. "name": "id",
  382. "type": "bigint",
  383. "length": 20,
  384. "decimals": 0,
  385. "isUnsigned": true,
  386. "isZeroFill": false,
  387. "setEnumValues": "",
  388. "isBinary": false,
  389. "charset": "",
  390. "collation": "",
  391. "isNullable": false,
  392. "defaultType": "Others",
  393. "defaultValue": "",
  394. "isOnUpdateCurrentTimestamp": false,
  395. "isAutoInc": true,
  396. "comment": "主键",
  397. "columnFormat": "",
  398. "storage": "",
  399. "isVirtual": false,
  400. "isGeneratedAlways": false,
  401. "virtualExpr": "",
  402. "virtualType": "",
  403. "oldName": "id"
  404. },
  405. {
  406. "objectType": "TableField_MYSQL",
  407. "name": "parent_id",
  408. "type": "bigint",
  409. "length": 20,
  410. "decimals": 0,
  411. "isUnsigned": false,
  412. "isZeroFill": false,
  413. "setEnumValues": "",
  414. "isBinary": false,
  415. "charset": "",
  416. "collation": "",
  417. "isNullable": true,
  418. "defaultType": "Others",
  419. "defaultValue": "0",
  420. "isOnUpdateCurrentTimestamp": false,
  421. "isAutoInc": false,
  422. "comment": "父级id",
  423. "columnFormat": "",
  424. "storage": "",
  425. "isVirtual": false,
  426. "isGeneratedAlways": false,
  427. "virtualExpr": "",
  428. "virtualType": "",
  429. "oldName": "parent_id"
  430. },
  431. {
  432. "objectType": "TableField_MYSQL",
  433. "name": "name",
  434. "type": "varchar",
  435. "length": 100,
  436. "decimals": 0,
  437. "isUnsigned": false,
  438. "isZeroFill": false,
  439. "setEnumValues": "",
  440. "isBinary": false,
  441. "charset": "utf8mb4",
  442. "collation": "utf8mb4_general_ci",
  443. "isNullable": false,
  444. "defaultType": "Others",
  445. "defaultValue": "",
  446. "isOnUpdateCurrentTimestamp": false,
  447. "isAutoInc": false,
  448. "comment": "部门名称",
  449. "columnFormat": "",
  450. "storage": "",
  451. "isVirtual": false,
  452. "isGeneratedAlways": false,
  453. "virtualExpr": "",
  454. "virtualType": "",
  455. "oldName": "name"
  456. },
  457. {
  458. "objectType": "TableField_MYSQL",
  459. "name": "code",
  460. "type": "varchar",
  461. "length": 30,
  462. "decimals": 0,
  463. "isUnsigned": false,
  464. "isZeroFill": false,
  465. "setEnumValues": "",
  466. "isBinary": false,
  467. "charset": "utf8mb4",
  468. "collation": "utf8mb4_general_ci",
  469. "isNullable": true,
  470. "defaultType": "Null",
  471. "defaultValue": "",
  472. "isOnUpdateCurrentTimestamp": false,
  473. "isAutoInc": false,
  474. "comment": "部门编码",
  475. "columnFormat": "",
  476. "storage": "",
  477. "isVirtual": false,
  478. "isGeneratedAlways": false,
  479. "virtualExpr": "",
  480. "virtualType": "",
  481. "oldName": "code"
  482. },
  483. {
  484. "objectType": "TableField_MYSQL",
  485. "name": "sort",
  486. "type": "double",
  487. "length": 10,
  488. "decimals": 2,
  489. "isUnsigned": false,
  490. "isZeroFill": false,
  491. "setEnumValues": "",
  492. "isBinary": false,
  493. "charset": "",
  494. "collation": "",
  495. "isNullable": true,
  496. "defaultType": "Others",
  497. "defaultValue": "10.00",
  498. "isOnUpdateCurrentTimestamp": false,
  499. "isAutoInc": false,
  500. "comment": "排序",
  501. "columnFormat": "",
  502. "storage": "",
  503. "isVirtual": false,
  504. "isGeneratedAlways": false,
  505. "virtualExpr": "",
  506. "virtualType": "",
  507. "oldName": "sort"
  508. },
  509. {
  510. "objectType": "TableField_MYSQL",
  511. "name": "contacts",
  512. "type": "varchar",
  513. "length": 20,
  514. "decimals": 0,
  515. "isUnsigned": false,
  516. "isZeroFill": false,
  517. "setEnumValues": "",
  518. "isBinary": false,
  519. "charset": "utf8mb4",
  520. "collation": "utf8mb4_general_ci",
  521. "isNullable": true,
  522. "defaultType": "Null",
  523. "defaultValue": "",
  524. "isOnUpdateCurrentTimestamp": false,
  525. "isAutoInc": false,
  526. "comment": "联系人",
  527. "columnFormat": "",
  528. "storage": "",
  529. "isVirtual": false,
  530. "isGeneratedAlways": false,
  531. "virtualExpr": "",
  532. "virtualType": "",
  533. "oldName": "contacts"
  534. },
  535. {
  536. "objectType": "TableField_MYSQL",
  537. "name": "mobile_phone",
  538. "type": "varchar",
  539. "length": 15,
  540. "decimals": 0,
  541. "isUnsigned": false,
  542. "isZeroFill": false,
  543. "setEnumValues": "",
  544. "isBinary": false,
  545. "charset": "utf8mb4",
  546. "collation": "utf8mb4_general_ci",
  547. "isNullable": true,
  548. "defaultType": "Null",
  549. "defaultValue": "",
  550. "isOnUpdateCurrentTimestamp": false,
  551. "isAutoInc": false,
  552. "comment": "联系人手机号",
  553. "columnFormat": "",
  554. "storage": "",
  555. "isVirtual": false,
  556. "isGeneratedAlways": false,
  557. "virtualExpr": "",
  558. "virtualType": "",
  559. "oldName": "mobile_phone"
  560. },
  561. {
  562. "objectType": "TableField_MYSQL",
  563. "name": "telephone",
  564. "type": "varchar",
  565. "length": 20,
  566. "decimals": 0,
  567. "isUnsigned": false,
  568. "isZeroFill": false,
  569. "setEnumValues": "",
  570. "isBinary": false,
  571. "charset": "utf8mb4",
  572. "collation": "utf8mb4_general_ci",
  573. "isNullable": true,
  574. "defaultType": "Null",
  575. "defaultValue": "",
  576. "isOnUpdateCurrentTimestamp": false,
  577. "isAutoInc": false,
  578. "comment": "电话",
  579. "columnFormat": "",
  580. "storage": "",
  581. "isVirtual": false,
  582. "isGeneratedAlways": false,
  583. "virtualExpr": "",
  584. "virtualType": "",
  585. "oldName": "telephone"
  586. },
  587. {
  588. "objectType": "TableField_MYSQL",
  589. "name": "email",
  590. "type": "varchar",
  591. "length": 32,
  592. "decimals": 0,
  593. "isUnsigned": false,
  594. "isZeroFill": false,
  595. "setEnumValues": "",
  596. "isBinary": false,
  597. "charset": "utf8mb4",
  598. "collation": "utf8mb4_general_ci",
  599. "isNullable": true,
  600. "defaultType": "Null",
  601. "defaultValue": "",
  602. "isOnUpdateCurrentTimestamp": false,
  603. "isAutoInc": false,
  604. "comment": "邮箱",
  605. "columnFormat": "",
  606. "storage": "",
  607. "isVirtual": false,
  608. "isGeneratedAlways": false,
  609. "virtualExpr": "",
  610. "virtualType": "",
  611. "oldName": "email"
  612. },
  613. {
  614. "objectType": "TableField_MYSQL",
  615. "name": "address",
  616. "type": "varchar",
  617. "length": 255,
  618. "decimals": 0,
  619. "isUnsigned": false,
  620. "isZeroFill": false,
  621. "setEnumValues": "",
  622. "isBinary": false,
  623. "charset": "utf8mb4",
  624. "collation": "utf8mb4_general_ci",
  625. "isNullable": true,
  626. "defaultType": "Null",
  627. "defaultValue": "",
  628. "isOnUpdateCurrentTimestamp": false,
  629. "isAutoInc": false,
  630. "comment": "地址",
  631. "columnFormat": "",
  632. "storage": "",
  633. "isVirtual": false,
  634. "isGeneratedAlways": false,
  635. "virtualExpr": "",
  636. "virtualType": "",
  637. "oldName": "address"
  638. },
  639. {
  640. "objectType": "TableField_MYSQL",
  641. "name": "is_enabled",
  642. "type": "tinyint",
  643. "length": 1,
  644. "decimals": 0,
  645. "isUnsigned": true,
  646. "isZeroFill": false,
  647. "setEnumValues": "",
  648. "isBinary": false,
  649. "charset": "",
  650. "collation": "",
  651. "isNullable": true,
  652. "defaultType": "Others",
  653. "defaultValue": "2",
  654. "isOnUpdateCurrentTimestamp": false,
  655. "isAutoInc": false,
  656. "comment": "是否启用(1->禁用|NO,2->启用|YES)",
  657. "columnFormat": "",
  658. "storage": "",
  659. "isVirtual": false,
  660. "isGeneratedAlways": false,
  661. "virtualExpr": "",
  662. "virtualType": "",
  663. "oldName": "is_enabled"
  664. },
  665. {
  666. "objectType": "TableField_MYSQL",
  667. "name": "create_time",
  668. "type": "datetime",
  669. "length": 3,
  670. "decimals": 0,
  671. "isUnsigned": false,
  672. "isZeroFill": false,
  673. "setEnumValues": "",
  674. "isBinary": false,
  675. "charset": "",
  676. "collation": "",
  677. "isNullable": true,
  678. "defaultType": "Null",
  679. "defaultValue": "",
  680. "isOnUpdateCurrentTimestamp": false,
  681. "isAutoInc": false,
  682. "comment": "创建时间",
  683. "columnFormat": "",
  684. "storage": "",
  685. "isVirtual": false,
  686. "isGeneratedAlways": false,
  687. "virtualExpr": "",
  688. "virtualType": "",
  689. "oldName": "create_time"
  690. },
  691. {
  692. "objectType": "TableField_MYSQL",
  693. "name": "update_time",
  694. "type": "datetime",
  695. "length": 3,
  696. "decimals": 0,
  697. "isUnsigned": false,
  698. "isZeroFill": false,
  699. "setEnumValues": "",
  700. "isBinary": false,
  701. "charset": "",
  702. "collation": "",
  703. "isNullable": true,
  704. "defaultType": "Null",
  705. "defaultValue": "",
  706. "isOnUpdateCurrentTimestamp": false,
  707. "isAutoInc": false,
  708. "comment": "更新时间",
  709. "columnFormat": "",
  710. "storage": "",
  711. "isVirtual": false,
  712. "isGeneratedAlways": false,
  713. "virtualExpr": "",
  714. "virtualType": "",
  715. "oldName": "update_time"
  716. },
  717. {
  718. "objectType": "TableField_MYSQL",
  719. "name": "is_deleted",
  720. "type": "tinyint",
  721. "length": 1,
  722. "decimals": 0,
  723. "isUnsigned": true,
  724. "isZeroFill": false,
  725. "setEnumValues": "",
  726. "isBinary": false,
  727. "charset": "",
  728. "collation": "",
  729. "isNullable": true,
  730. "defaultType": "Others",
  731. "defaultValue": "1",
  732. "isOnUpdateCurrentTimestamp": false,
  733. "isAutoInc": false,
  734. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  735. "columnFormat": "",
  736. "storage": "",
  737. "isVirtual": false,
  738. "isGeneratedAlways": false,
  739. "virtualExpr": "",
  740. "virtualType": "",
  741. "oldName": "is_deleted"
  742. }
  743. ],
  744. "indexes": [],
  745. "primaryKey": {
  746. "objectType": "PrimaryKey_MYSQL",
  747. "name": "",
  748. "fields": [
  749. {
  750. "objectType": "IndexField_MYSQL",
  751. "name": "id",
  752. "keyLength": 0,
  753. "order": "",
  754. "oldName": "id"
  755. }
  756. ],
  757. "oldName": "",
  758. "indexMethod": "BTREE",
  759. "comment": ""
  760. },
  761. "foreignKeys": [],
  762. "triggers": [],
  763. "tablePartitions": []
  764. },
  765. {
  766. "objectType": "Table_MYSQL",
  767. "name": "sys_dict",
  768. "comment": "字典",
  769. "engine": "InnoDB",
  770. "characterSet": "utf8mb4",
  771. "collation": "utf8mb4_general_ci",
  772. "autoIncrement": 7,
  773. "tablespace": "",
  774. "storage": "",
  775. "insertMethod": "",
  776. "connection": "",
  777. "checksum": false,
  778. "rowFormat": "Dynamic",
  779. "avgRowLength": 0,
  780. "maxRows": 0,
  781. "minRows": 0,
  782. "keyBlockSize": 0,
  783. "packKeys": "",
  784. "delayKeyWrite": false,
  785. "dataDirectory": "",
  786. "indexDirectory": "",
  787. "statsAutoRecalc": "",
  788. "statsPersistent": "",
  789. "statsSamplePages": 0,
  790. "union": "",
  791. "pageCheckSum": false,
  792. "transactional": false,
  793. "compression": "",
  794. "oldName": "sys_dict",
  795. "encryption": false,
  796. "createOptions": "",
  797. "createTime": "2020-06-14 11:43:27",
  798. "checkTime": "",
  799. "dataFree": 0,
  800. "dataLength": 16384,
  801. "indexLength": 0,
  802. "maxDataLength": 0,
  803. "rows": 6,
  804. "updateTime": "2021-01-20 09:00:38",
  805. "DDL": "CREATE TABLE `sys_dict` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `name` varchar(32) NOT NULL COMMENT '名称',\n `dict_key` varchar(64) NOT NULL COMMENT '唯一编码',\n `remark` varchar(255) DEFAULT NULL COMMENT '备注',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COMMENT='字典'",
  806. "partitionBy": "",
  807. "partitionByExpr": "",
  808. "partitions": 0,
  809. "partitionKeyAlgorithm": "",
  810. "subPartitionBy": "",
  811. "subPartitionByExpr": "",
  812. "subPartitions": 0,
  813. "subPartitionKeyAlgorithm": "",
  814. "fields": [
  815. {
  816. "objectType": "TableField_MYSQL",
  817. "name": "id",
  818. "type": "bigint",
  819. "length": 20,
  820. "decimals": 0,
  821. "isUnsigned": true,
  822. "isZeroFill": false,
  823. "setEnumValues": "",
  824. "isBinary": false,
  825. "charset": "",
  826. "collation": "",
  827. "isNullable": false,
  828. "defaultType": "Others",
  829. "defaultValue": "",
  830. "isOnUpdateCurrentTimestamp": false,
  831. "isAutoInc": true,
  832. "comment": "主键",
  833. "columnFormat": "",
  834. "storage": "",
  835. "isVirtual": false,
  836. "isGeneratedAlways": false,
  837. "virtualExpr": "",
  838. "virtualType": "",
  839. "oldName": "id"
  840. },
  841. {
  842. "objectType": "TableField_MYSQL",
  843. "name": "name",
  844. "type": "varchar",
  845. "length": 32,
  846. "decimals": 0,
  847. "isUnsigned": false,
  848. "isZeroFill": false,
  849. "setEnumValues": "",
  850. "isBinary": false,
  851. "charset": "utf8mb4",
  852. "collation": "utf8mb4_general_ci",
  853. "isNullable": false,
  854. "defaultType": "Others",
  855. "defaultValue": "",
  856. "isOnUpdateCurrentTimestamp": false,
  857. "isAutoInc": false,
  858. "comment": "名称",
  859. "columnFormat": "",
  860. "storage": "",
  861. "isVirtual": false,
  862. "isGeneratedAlways": false,
  863. "virtualExpr": "",
  864. "virtualType": "",
  865. "oldName": "name"
  866. },
  867. {
  868. "objectType": "TableField_MYSQL",
  869. "name": "dict_key",
  870. "type": "varchar",
  871. "length": 64,
  872. "decimals": 0,
  873. "isUnsigned": false,
  874. "isZeroFill": false,
  875. "setEnumValues": "",
  876. "isBinary": false,
  877. "charset": "utf8mb4",
  878. "collation": "utf8mb4_general_ci",
  879. "isNullable": false,
  880. "defaultType": "Others",
  881. "defaultValue": "",
  882. "isOnUpdateCurrentTimestamp": false,
  883. "isAutoInc": false,
  884. "comment": "唯一编码",
  885. "columnFormat": "",
  886. "storage": "",
  887. "isVirtual": false,
  888. "isGeneratedAlways": false,
  889. "virtualExpr": "",
  890. "virtualType": "",
  891. "oldName": "dict_key"
  892. },
  893. {
  894. "objectType": "TableField_MYSQL",
  895. "name": "remark",
  896. "type": "varchar",
  897. "length": 255,
  898. "decimals": 0,
  899. "isUnsigned": false,
  900. "isZeroFill": false,
  901. "setEnumValues": "",
  902. "isBinary": false,
  903. "charset": "utf8mb4",
  904. "collation": "utf8mb4_general_ci",
  905. "isNullable": true,
  906. "defaultType": "Null",
  907. "defaultValue": "",
  908. "isOnUpdateCurrentTimestamp": false,
  909. "isAutoInc": false,
  910. "comment": "备注",
  911. "columnFormat": "",
  912. "storage": "",
  913. "isVirtual": false,
  914. "isGeneratedAlways": false,
  915. "virtualExpr": "",
  916. "virtualType": "",
  917. "oldName": "remark"
  918. },
  919. {
  920. "objectType": "TableField_MYSQL",
  921. "name": "create_time",
  922. "type": "datetime",
  923. "length": 3,
  924. "decimals": 0,
  925. "isUnsigned": false,
  926. "isZeroFill": false,
  927. "setEnumValues": "",
  928. "isBinary": false,
  929. "charset": "",
  930. "collation": "",
  931. "isNullable": false,
  932. "defaultType": "Others",
  933. "defaultValue": "",
  934. "isOnUpdateCurrentTimestamp": false,
  935. "isAutoInc": false,
  936. "comment": "创建时间",
  937. "columnFormat": "",
  938. "storage": "",
  939. "isVirtual": false,
  940. "isGeneratedAlways": false,
  941. "virtualExpr": "",
  942. "virtualType": "",
  943. "oldName": "create_time"
  944. },
  945. {
  946. "objectType": "TableField_MYSQL",
  947. "name": "update_time",
  948. "type": "datetime",
  949. "length": 3,
  950. "decimals": 0,
  951. "isUnsigned": false,
  952. "isZeroFill": false,
  953. "setEnumValues": "",
  954. "isBinary": false,
  955. "charset": "",
  956. "collation": "",
  957. "isNullable": false,
  958. "defaultType": "Others",
  959. "defaultValue": "",
  960. "isOnUpdateCurrentTimestamp": false,
  961. "isAutoInc": false,
  962. "comment": "更新时间",
  963. "columnFormat": "",
  964. "storage": "",
  965. "isVirtual": false,
  966. "isGeneratedAlways": false,
  967. "virtualExpr": "",
  968. "virtualType": "",
  969. "oldName": "update_time"
  970. },
  971. {
  972. "objectType": "TableField_MYSQL",
  973. "name": "is_deleted",
  974. "type": "tinyint",
  975. "length": 1,
  976. "decimals": 0,
  977. "isUnsigned": true,
  978. "isZeroFill": false,
  979. "setEnumValues": "",
  980. "isBinary": false,
  981. "charset": "",
  982. "collation": "",
  983. "isNullable": false,
  984. "defaultType": "Others",
  985. "defaultValue": "1",
  986. "isOnUpdateCurrentTimestamp": false,
  987. "isAutoInc": false,
  988. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  989. "columnFormat": "",
  990. "storage": "",
  991. "isVirtual": false,
  992. "isGeneratedAlways": false,
  993. "virtualExpr": "",
  994. "virtualType": "",
  995. "oldName": "is_deleted"
  996. }
  997. ],
  998. "indexes": [],
  999. "primaryKey": {
  1000. "objectType": "PrimaryKey_MYSQL",
  1001. "name": "",
  1002. "fields": [
  1003. {
  1004. "objectType": "IndexField_MYSQL",
  1005. "name": "id",
  1006. "keyLength": 0,
  1007. "order": "",
  1008. "oldName": "id"
  1009. }
  1010. ],
  1011. "oldName": "",
  1012. "indexMethod": "BTREE",
  1013. "comment": ""
  1014. },
  1015. "foreignKeys": [],
  1016. "triggers": [],
  1017. "tablePartitions": []
  1018. },
  1019. {
  1020. "objectType": "Table_MYSQL",
  1021. "name": "sys_notice",
  1022. "comment": "通知公告",
  1023. "engine": "InnoDB",
  1024. "characterSet": "utf8mb4",
  1025. "collation": "utf8mb4_general_ci",
  1026. "autoIncrement": 2,
  1027. "tablespace": "",
  1028. "storage": "",
  1029. "insertMethod": "",
  1030. "connection": "",
  1031. "checksum": false,
  1032. "rowFormat": "Dynamic",
  1033. "avgRowLength": 0,
  1034. "maxRows": 0,
  1035. "minRows": 0,
  1036. "keyBlockSize": 0,
  1037. "packKeys": "",
  1038. "delayKeyWrite": false,
  1039. "dataDirectory": "",
  1040. "indexDirectory": "",
  1041. "statsAutoRecalc": "",
  1042. "statsPersistent": "",
  1043. "statsSamplePages": 0,
  1044. "union": "",
  1045. "pageCheckSum": false,
  1046. "transactional": false,
  1047. "compression": "",
  1048. "oldName": "sys_notice",
  1049. "encryption": false,
  1050. "createOptions": "",
  1051. "createTime": "2020-10-27 17:08:51",
  1052. "checkTime": "",
  1053. "dataFree": 0,
  1054. "dataLength": 16384,
  1055. "indexLength": 0,
  1056. "maxDataLength": 0,
  1057. "rows": 1,
  1058. "updateTime": "2021-01-29 15:20:01",
  1059. "DDL": "CREATE TABLE `sys_notice` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '编号',\n `title` varchar(100) DEFAULT NULL COMMENT '公告标题',\n `type` int(6) unsigned DEFAULT '10' COMMENT '公告类型(10->通知|TZ,20->公告|GG)',\n `content` longtext COMMENT '公告内容',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='通知公告'",
  1060. "partitionBy": "",
  1061. "partitionByExpr": "",
  1062. "partitions": 0,
  1063. "partitionKeyAlgorithm": "",
  1064. "subPartitionBy": "",
  1065. "subPartitionByExpr": "",
  1066. "subPartitions": 0,
  1067. "subPartitionKeyAlgorithm": "",
  1068. "fields": [
  1069. {
  1070. "objectType": "TableField_MYSQL",
  1071. "name": "id",
  1072. "type": "bigint",
  1073. "length": 20,
  1074. "decimals": 0,
  1075. "isUnsigned": true,
  1076. "isZeroFill": false,
  1077. "setEnumValues": "",
  1078. "isBinary": false,
  1079. "charset": "",
  1080. "collation": "",
  1081. "isNullable": false,
  1082. "defaultType": "Others",
  1083. "defaultValue": "",
  1084. "isOnUpdateCurrentTimestamp": false,
  1085. "isAutoInc": true,
  1086. "comment": "编号",
  1087. "columnFormat": "",
  1088. "storage": "",
  1089. "isVirtual": false,
  1090. "isGeneratedAlways": false,
  1091. "virtualExpr": "",
  1092. "virtualType": "",
  1093. "oldName": "id"
  1094. },
  1095. {
  1096. "objectType": "TableField_MYSQL",
  1097. "name": "title",
  1098. "type": "varchar",
  1099. "length": 100,
  1100. "decimals": 0,
  1101. "isUnsigned": false,
  1102. "isZeroFill": false,
  1103. "setEnumValues": "",
  1104. "isBinary": false,
  1105. "charset": "utf8mb4",
  1106. "collation": "utf8mb4_general_ci",
  1107. "isNullable": true,
  1108. "defaultType": "Null",
  1109. "defaultValue": "",
  1110. "isOnUpdateCurrentTimestamp": false,
  1111. "isAutoInc": false,
  1112. "comment": "公告标题",
  1113. "columnFormat": "",
  1114. "storage": "",
  1115. "isVirtual": false,
  1116. "isGeneratedAlways": false,
  1117. "virtualExpr": "",
  1118. "virtualType": "",
  1119. "oldName": "title"
  1120. },
  1121. {
  1122. "objectType": "TableField_MYSQL",
  1123. "name": "type",
  1124. "type": "int",
  1125. "length": 6,
  1126. "decimals": 0,
  1127. "isUnsigned": true,
  1128. "isZeroFill": false,
  1129. "setEnumValues": "",
  1130. "isBinary": false,
  1131. "charset": "",
  1132. "collation": "",
  1133. "isNullable": true,
  1134. "defaultType": "Others",
  1135. "defaultValue": "10",
  1136. "isOnUpdateCurrentTimestamp": false,
  1137. "isAutoInc": false,
  1138. "comment": "公告类型(10->通知|TZ,20->公告|GG)",
  1139. "columnFormat": "",
  1140. "storage": "",
  1141. "isVirtual": false,
  1142. "isGeneratedAlways": false,
  1143. "virtualExpr": "",
  1144. "virtualType": "",
  1145. "oldName": "type"
  1146. },
  1147. {
  1148. "objectType": "TableField_MYSQL",
  1149. "name": "content",
  1150. "type": "longtext",
  1151. "length": 0,
  1152. "decimals": 0,
  1153. "isUnsigned": false,
  1154. "isZeroFill": false,
  1155. "setEnumValues": "",
  1156. "isBinary": false,
  1157. "charset": "utf8mb4",
  1158. "collation": "utf8mb4_general_ci",
  1159. "isNullable": true,
  1160. "defaultType": "Null",
  1161. "defaultValue": "",
  1162. "isOnUpdateCurrentTimestamp": false,
  1163. "isAutoInc": false,
  1164. "comment": "公告内容",
  1165. "columnFormat": "",
  1166. "storage": "",
  1167. "isVirtual": false,
  1168. "isGeneratedAlways": false,
  1169. "virtualExpr": "",
  1170. "virtualType": "",
  1171. "oldName": "content"
  1172. },
  1173. {
  1174. "objectType": "TableField_MYSQL",
  1175. "name": "create_time",
  1176. "type": "datetime",
  1177. "length": 3,
  1178. "decimals": 0,
  1179. "isUnsigned": false,
  1180. "isZeroFill": false,
  1181. "setEnumValues": "",
  1182. "isBinary": false,
  1183. "charset": "",
  1184. "collation": "",
  1185. "isNullable": true,
  1186. "defaultType": "Null",
  1187. "defaultValue": "",
  1188. "isOnUpdateCurrentTimestamp": false,
  1189. "isAutoInc": false,
  1190. "comment": "创建时间",
  1191. "columnFormat": "",
  1192. "storage": "",
  1193. "isVirtual": false,
  1194. "isGeneratedAlways": false,
  1195. "virtualExpr": "",
  1196. "virtualType": "",
  1197. "oldName": "create_time"
  1198. },
  1199. {
  1200. "objectType": "TableField_MYSQL",
  1201. "name": "update_time",
  1202. "type": "datetime",
  1203. "length": 3,
  1204. "decimals": 0,
  1205. "isUnsigned": false,
  1206. "isZeroFill": false,
  1207. "setEnumValues": "",
  1208. "isBinary": false,
  1209. "charset": "",
  1210. "collation": "",
  1211. "isNullable": true,
  1212. "defaultType": "Null",
  1213. "defaultValue": "",
  1214. "isOnUpdateCurrentTimestamp": false,
  1215. "isAutoInc": false,
  1216. "comment": "更新时间",
  1217. "columnFormat": "",
  1218. "storage": "",
  1219. "isVirtual": false,
  1220. "isGeneratedAlways": false,
  1221. "virtualExpr": "",
  1222. "virtualType": "",
  1223. "oldName": "update_time"
  1224. },
  1225. {
  1226. "objectType": "TableField_MYSQL",
  1227. "name": "is_deleted",
  1228. "type": "tinyint",
  1229. "length": 1,
  1230. "decimals": 0,
  1231. "isUnsigned": true,
  1232. "isZeroFill": false,
  1233. "setEnumValues": "",
  1234. "isBinary": false,
  1235. "charset": "",
  1236. "collation": "",
  1237. "isNullable": true,
  1238. "defaultType": "Others",
  1239. "defaultValue": "1",
  1240. "isOnUpdateCurrentTimestamp": false,
  1241. "isAutoInc": false,
  1242. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  1243. "columnFormat": "",
  1244. "storage": "",
  1245. "isVirtual": false,
  1246. "isGeneratedAlways": false,
  1247. "virtualExpr": "",
  1248. "virtualType": "",
  1249. "oldName": "is_deleted"
  1250. }
  1251. ],
  1252. "indexes": [],
  1253. "primaryKey": {
  1254. "objectType": "PrimaryKey_MYSQL",
  1255. "name": "",
  1256. "fields": [
  1257. {
  1258. "objectType": "IndexField_MYSQL",
  1259. "name": "id",
  1260. "keyLength": 0,
  1261. "order": "",
  1262. "oldName": "id"
  1263. }
  1264. ],
  1265. "oldName": "",
  1266. "indexMethod": "BTREE",
  1267. "comment": ""
  1268. },
  1269. "foreignKeys": [],
  1270. "triggers": [],
  1271. "tablePartitions": []
  1272. },
  1273. {
  1274. "objectType": "Table_MYSQL",
  1275. "name": "sys_role",
  1276. "comment": "角色",
  1277. "engine": "InnoDB",
  1278. "characterSet": "utf8",
  1279. "collation": "utf8_general_ci",
  1280. "autoIncrement": 6,
  1281. "tablespace": "",
  1282. "storage": "",
  1283. "insertMethod": "",
  1284. "connection": "",
  1285. "checksum": false,
  1286. "rowFormat": "Compact",
  1287. "avgRowLength": 0,
  1288. "maxRows": 0,
  1289. "minRows": 0,
  1290. "keyBlockSize": 0,
  1291. "packKeys": "",
  1292. "delayKeyWrite": false,
  1293. "dataDirectory": "",
  1294. "indexDirectory": "",
  1295. "statsAutoRecalc": "",
  1296. "statsPersistent": "",
  1297. "statsSamplePages": 0,
  1298. "union": "",
  1299. "pageCheckSum": false,
  1300. "transactional": false,
  1301. "compression": "",
  1302. "oldName": "sys_role",
  1303. "encryption": false,
  1304. "createOptions": "row_format=COMPACT",
  1305. "createTime": "2020-12-23 20:06:30",
  1306. "checkTime": "",
  1307. "dataFree": 0,
  1308. "dataLength": 16384,
  1309. "indexLength": 0,
  1310. "maxDataLength": 0,
  1311. "rows": 5,
  1312. "updateTime": "",
  1313. "DDL": "CREATE TABLE `sys_role` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `name` varchar(64) CHARACTER SET utf8mb4 NOT NULL COMMENT '角色名称',\n `role_key` varchar(32) DEFAULT NULL COMMENT '角色标识(唯一)',\n `role_type` int(6) DEFAULT '10' COMMENT '角色类型(10->管理员|ADMIN,20->流程审核员|WORKFLOW)',\n `data_scope` int(6) unsigned DEFAULT '10' COMMENT '数据范围(10->所有数据权限|ALL,20->部门数据权限|DEPT,30->部门及以下数据权限|DEPT_CHILD,40->仅本人数据权限|MYSELF,50->自定义数据权限|CUSTOM)',\n `is_enabled` tinyint(1) DEFAULT '2' COMMENT '是否启用(1->禁用|NO,2->启用|YES)',\n `remark` varchar(255) DEFAULT NULL COMMENT '备注',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='角色'",
  1314. "partitionBy": "",
  1315. "partitionByExpr": "",
  1316. "partitions": 0,
  1317. "partitionKeyAlgorithm": "",
  1318. "subPartitionBy": "",
  1319. "subPartitionByExpr": "",
  1320. "subPartitions": 0,
  1321. "subPartitionKeyAlgorithm": "",
  1322. "fields": [
  1323. {
  1324. "objectType": "TableField_MYSQL",
  1325. "name": "id",
  1326. "type": "bigint",
  1327. "length": 20,
  1328. "decimals": 0,
  1329. "isUnsigned": true,
  1330. "isZeroFill": false,
  1331. "setEnumValues": "",
  1332. "isBinary": false,
  1333. "charset": "",
  1334. "collation": "",
  1335. "isNullable": false,
  1336. "defaultType": "Others",
  1337. "defaultValue": "",
  1338. "isOnUpdateCurrentTimestamp": false,
  1339. "isAutoInc": true,
  1340. "comment": "主键",
  1341. "columnFormat": "",
  1342. "storage": "",
  1343. "isVirtual": false,
  1344. "isGeneratedAlways": false,
  1345. "virtualExpr": "",
  1346. "virtualType": "",
  1347. "oldName": "id"
  1348. },
  1349. {
  1350. "objectType": "TableField_MYSQL",
  1351. "name": "name",
  1352. "type": "varchar",
  1353. "length": 64,
  1354. "decimals": 0,
  1355. "isUnsigned": false,
  1356. "isZeroFill": false,
  1357. "setEnumValues": "",
  1358. "isBinary": false,
  1359. "charset": "utf8mb4",
  1360. "collation": "utf8mb4_general_ci",
  1361. "isNullable": false,
  1362. "defaultType": "Others",
  1363. "defaultValue": "",
  1364. "isOnUpdateCurrentTimestamp": false,
  1365. "isAutoInc": false,
  1366. "comment": "角色名称",
  1367. "columnFormat": "",
  1368. "storage": "",
  1369. "isVirtual": false,
  1370. "isGeneratedAlways": false,
  1371. "virtualExpr": "",
  1372. "virtualType": "",
  1373. "oldName": "name"
  1374. },
  1375. {
  1376. "objectType": "TableField_MYSQL",
  1377. "name": "role_key",
  1378. "type": "varchar",
  1379. "length": 32,
  1380. "decimals": 0,
  1381. "isUnsigned": false,
  1382. "isZeroFill": false,
  1383. "setEnumValues": "",
  1384. "isBinary": false,
  1385. "charset": "utf8",
  1386. "collation": "utf8_general_ci",
  1387. "isNullable": true,
  1388. "defaultType": "Null",
  1389. "defaultValue": "",
  1390. "isOnUpdateCurrentTimestamp": false,
  1391. "isAutoInc": false,
  1392. "comment": "角色标识(唯一)",
  1393. "columnFormat": "",
  1394. "storage": "",
  1395. "isVirtual": false,
  1396. "isGeneratedAlways": false,
  1397. "virtualExpr": "",
  1398. "virtualType": "",
  1399. "oldName": "role_key"
  1400. },
  1401. {
  1402. "objectType": "TableField_MYSQL",
  1403. "name": "role_type",
  1404. "type": "int",
  1405. "length": 6,
  1406. "decimals": 0,
  1407. "isUnsigned": false,
  1408. "isZeroFill": false,
  1409. "setEnumValues": "",
  1410. "isBinary": false,
  1411. "charset": "",
  1412. "collation": "",
  1413. "isNullable": true,
  1414. "defaultType": "Others",
  1415. "defaultValue": "10",
  1416. "isOnUpdateCurrentTimestamp": false,
  1417. "isAutoInc": false,
  1418. "comment": "角色类型(10->管理员|ADMIN,20->流程审核员|WORKFLOW)",
  1419. "columnFormat": "",
  1420. "storage": "",
  1421. "isVirtual": false,
  1422. "isGeneratedAlways": false,
  1423. "virtualExpr": "",
  1424. "virtualType": "",
  1425. "oldName": "role_type"
  1426. },
  1427. {
  1428. "objectType": "TableField_MYSQL",
  1429. "name": "data_scope",
  1430. "type": "int",
  1431. "length": 6,
  1432. "decimals": 0,
  1433. "isUnsigned": true,
  1434. "isZeroFill": false,
  1435. "setEnumValues": "",
  1436. "isBinary": false,
  1437. "charset": "",
  1438. "collation": "",
  1439. "isNullable": true,
  1440. "defaultType": "Others",
  1441. "defaultValue": "10",
  1442. "isOnUpdateCurrentTimestamp": false,
  1443. "isAutoInc": false,
  1444. "comment": "数据范围(10->所有数据权限|ALL,20->部门数据权限|DEPT,30->部门及以下数据权限|DEPT_CHILD,40->仅本人数据权限|MYSELF,50->自定义数据权限|CUSTOM)",
  1445. "columnFormat": "",
  1446. "storage": "",
  1447. "isVirtual": false,
  1448. "isGeneratedAlways": false,
  1449. "virtualExpr": "",
  1450. "virtualType": "",
  1451. "oldName": "data_scope"
  1452. },
  1453. {
  1454. "objectType": "TableField_MYSQL",
  1455. "name": "is_enabled",
  1456. "type": "tinyint",
  1457. "length": 1,
  1458. "decimals": 0,
  1459. "isUnsigned": false,
  1460. "isZeroFill": false,
  1461. "setEnumValues": "",
  1462. "isBinary": false,
  1463. "charset": "",
  1464. "collation": "",
  1465. "isNullable": true,
  1466. "defaultType": "Others",
  1467. "defaultValue": "2",
  1468. "isOnUpdateCurrentTimestamp": false,
  1469. "isAutoInc": false,
  1470. "comment": "是否启用(1->禁用|NO,2->启用|YES)",
  1471. "columnFormat": "",
  1472. "storage": "",
  1473. "isVirtual": false,
  1474. "isGeneratedAlways": false,
  1475. "virtualExpr": "",
  1476. "virtualType": "",
  1477. "oldName": "is_enabled"
  1478. },
  1479. {
  1480. "objectType": "TableField_MYSQL",
  1481. "name": "remark",
  1482. "type": "varchar",
  1483. "length": 255,
  1484. "decimals": 0,
  1485. "isUnsigned": false,
  1486. "isZeroFill": false,
  1487. "setEnumValues": "",
  1488. "isBinary": false,
  1489. "charset": "utf8",
  1490. "collation": "utf8_general_ci",
  1491. "isNullable": true,
  1492. "defaultType": "Null",
  1493. "defaultValue": "",
  1494. "isOnUpdateCurrentTimestamp": false,
  1495. "isAutoInc": false,
  1496. "comment": "备注",
  1497. "columnFormat": "",
  1498. "storage": "",
  1499. "isVirtual": false,
  1500. "isGeneratedAlways": false,
  1501. "virtualExpr": "",
  1502. "virtualType": "",
  1503. "oldName": "remark"
  1504. },
  1505. {
  1506. "objectType": "TableField_MYSQL",
  1507. "name": "create_time",
  1508. "type": "datetime",
  1509. "length": 3,
  1510. "decimals": 0,
  1511. "isUnsigned": false,
  1512. "isZeroFill": false,
  1513. "setEnumValues": "",
  1514. "isBinary": false,
  1515. "charset": "",
  1516. "collation": "",
  1517. "isNullable": false,
  1518. "defaultType": "Others",
  1519. "defaultValue": "",
  1520. "isOnUpdateCurrentTimestamp": false,
  1521. "isAutoInc": false,
  1522. "comment": "创建时间",
  1523. "columnFormat": "",
  1524. "storage": "",
  1525. "isVirtual": false,
  1526. "isGeneratedAlways": false,
  1527. "virtualExpr": "",
  1528. "virtualType": "",
  1529. "oldName": "create_time"
  1530. },
  1531. {
  1532. "objectType": "TableField_MYSQL",
  1533. "name": "update_time",
  1534. "type": "datetime",
  1535. "length": 3,
  1536. "decimals": 0,
  1537. "isUnsigned": false,
  1538. "isZeroFill": false,
  1539. "setEnumValues": "",
  1540. "isBinary": false,
  1541. "charset": "",
  1542. "collation": "",
  1543. "isNullable": false,
  1544. "defaultType": "Others",
  1545. "defaultValue": "",
  1546. "isOnUpdateCurrentTimestamp": false,
  1547. "isAutoInc": false,
  1548. "comment": "更新时间",
  1549. "columnFormat": "",
  1550. "storage": "",
  1551. "isVirtual": false,
  1552. "isGeneratedAlways": false,
  1553. "virtualExpr": "",
  1554. "virtualType": "",
  1555. "oldName": "update_time"
  1556. },
  1557. {
  1558. "objectType": "TableField_MYSQL",
  1559. "name": "is_deleted",
  1560. "type": "tinyint",
  1561. "length": 1,
  1562. "decimals": 0,
  1563. "isUnsigned": true,
  1564. "isZeroFill": false,
  1565. "setEnumValues": "",
  1566. "isBinary": false,
  1567. "charset": "",
  1568. "collation": "",
  1569. "isNullable": false,
  1570. "defaultType": "Others",
  1571. "defaultValue": "1",
  1572. "isOnUpdateCurrentTimestamp": false,
  1573. "isAutoInc": false,
  1574. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  1575. "columnFormat": "",
  1576. "storage": "",
  1577. "isVirtual": false,
  1578. "isGeneratedAlways": false,
  1579. "virtualExpr": "",
  1580. "virtualType": "",
  1581. "oldName": "is_deleted"
  1582. }
  1583. ],
  1584. "indexes": [],
  1585. "primaryKey": {
  1586. "objectType": "PrimaryKey_MYSQL",
  1587. "name": "",
  1588. "fields": [
  1589. {
  1590. "objectType": "IndexField_MYSQL",
  1591. "name": "id",
  1592. "keyLength": 0,
  1593. "order": "",
  1594. "oldName": "id"
  1595. }
  1596. ],
  1597. "oldName": "",
  1598. "indexMethod": "BTREE",
  1599. "comment": ""
  1600. },
  1601. "foreignKeys": [],
  1602. "triggers": [],
  1603. "tablePartitions": []
  1604. },
  1605. {
  1606. "objectType": "Table_MYSQL",
  1607. "name": "sys_upload_config",
  1608. "comment": "上传配置",
  1609. "engine": "InnoDB",
  1610. "characterSet": "utf8mb4",
  1611. "collation": "utf8mb4_general_ci",
  1612. "autoIncrement": 2,
  1613. "tablespace": "",
  1614. "storage": "",
  1615. "insertMethod": "",
  1616. "connection": "",
  1617. "checksum": false,
  1618. "rowFormat": "Dynamic",
  1619. "avgRowLength": 0,
  1620. "maxRows": 0,
  1621. "minRows": 0,
  1622. "keyBlockSize": 0,
  1623. "packKeys": "",
  1624. "delayKeyWrite": false,
  1625. "dataDirectory": "",
  1626. "indexDirectory": "",
  1627. "statsAutoRecalc": "",
  1628. "statsPersistent": "",
  1629. "statsSamplePages": 0,
  1630. "union": "",
  1631. "pageCheckSum": false,
  1632. "transactional": false,
  1633. "compression": "",
  1634. "oldName": "sys_upload_config",
  1635. "encryption": false,
  1636. "createOptions": "",
  1637. "createTime": "2020-11-05 22:26:16",
  1638. "checkTime": "",
  1639. "dataFree": 0,
  1640. "dataLength": 16384,
  1641. "indexLength": 0,
  1642. "maxDataLength": 0,
  1643. "rows": 1,
  1644. "updateTime": "",
  1645. "DDL": "CREATE TABLE `sys_upload_config` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `biz_name` varchar(100) DEFAULT NULL COMMENT '业务名称',\n `biz_type` varchar(32) NOT NULL COMMENT '业务类型',\n `file_size_min` bigint(20) unsigned DEFAULT '0' COMMENT '限定上传文件大小最小值,单位`byte`。(0为不限制)',\n `file_size_max` bigint(20) unsigned DEFAULT '0' COMMENT '限定上传文件大小最大值,单位`byte`。(0为不限制)',\n `file_ext` varchar(64) NOT NULL COMMENT '限定用户上传后辍(多个逗号分割)',\n `upload_dir` varchar(100) DEFAULT '' COMMENT '上传目录',\n `upload_sub_dir` varchar(255) DEFAULT '' COMMENT '上传子目录',\n `base_url` varchar(32) DEFAULT '' COMMENT '访问地址前辍',\n `callback_url` varchar(100) DEFAULT '' COMMENT '回调地址',\n `naming_strategy` varchar(32) NOT NULL COMMENT '命名策略',\n `is_record` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否记录(1->不记录|NO,2->记录|YES)',\n `remark` varchar(255) DEFAULT NULL COMMENT '备注',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COMMENT='上传配置'",
  1646. "partitionBy": "",
  1647. "partitionByExpr": "",
  1648. "partitions": 0,
  1649. "partitionKeyAlgorithm": "",
  1650. "subPartitionBy": "",
  1651. "subPartitionByExpr": "",
  1652. "subPartitions": 0,
  1653. "subPartitionKeyAlgorithm": "",
  1654. "fields": [
  1655. {
  1656. "objectType": "TableField_MYSQL",
  1657. "name": "id",
  1658. "type": "bigint",
  1659. "length": 20,
  1660. "decimals": 0,
  1661. "isUnsigned": true,
  1662. "isZeroFill": false,
  1663. "setEnumValues": "",
  1664. "isBinary": false,
  1665. "charset": "",
  1666. "collation": "",
  1667. "isNullable": false,
  1668. "defaultType": "Others",
  1669. "defaultValue": "",
  1670. "isOnUpdateCurrentTimestamp": false,
  1671. "isAutoInc": true,
  1672. "comment": "主键",
  1673. "columnFormat": "",
  1674. "storage": "",
  1675. "isVirtual": false,
  1676. "isGeneratedAlways": false,
  1677. "virtualExpr": "",
  1678. "virtualType": "",
  1679. "oldName": "id"
  1680. },
  1681. {
  1682. "objectType": "TableField_MYSQL",
  1683. "name": "biz_name",
  1684. "type": "varchar",
  1685. "length": 100,
  1686. "decimals": 0,
  1687. "isUnsigned": false,
  1688. "isZeroFill": false,
  1689. "setEnumValues": "",
  1690. "isBinary": false,
  1691. "charset": "utf8mb4",
  1692. "collation": "utf8mb4_general_ci",
  1693. "isNullable": true,
  1694. "defaultType": "Null",
  1695. "defaultValue": "",
  1696. "isOnUpdateCurrentTimestamp": false,
  1697. "isAutoInc": false,
  1698. "comment": "业务名称",
  1699. "columnFormat": "",
  1700. "storage": "",
  1701. "isVirtual": false,
  1702. "isGeneratedAlways": false,
  1703. "virtualExpr": "",
  1704. "virtualType": "",
  1705. "oldName": "biz_name"
  1706. },
  1707. {
  1708. "objectType": "TableField_MYSQL",
  1709. "name": "biz_type",
  1710. "type": "varchar",
  1711. "length": 32,
  1712. "decimals": 0,
  1713. "isUnsigned": false,
  1714. "isZeroFill": false,
  1715. "setEnumValues": "",
  1716. "isBinary": false,
  1717. "charset": "utf8mb4",
  1718. "collation": "utf8mb4_general_ci",
  1719. "isNullable": false,
  1720. "defaultType": "Others",
  1721. "defaultValue": "",
  1722. "isOnUpdateCurrentTimestamp": false,
  1723. "isAutoInc": false,
  1724. "comment": "业务类型",
  1725. "columnFormat": "",
  1726. "storage": "",
  1727. "isVirtual": false,
  1728. "isGeneratedAlways": false,
  1729. "virtualExpr": "",
  1730. "virtualType": "",
  1731. "oldName": "biz_type"
  1732. },
  1733. {
  1734. "objectType": "TableField_MYSQL",
  1735. "name": "file_size_min",
  1736. "type": "bigint",
  1737. "length": 20,
  1738. "decimals": 0,
  1739. "isUnsigned": true,
  1740. "isZeroFill": false,
  1741. "setEnumValues": "",
  1742. "isBinary": false,
  1743. "charset": "",
  1744. "collation": "",
  1745. "isNullable": true,
  1746. "defaultType": "Others",
  1747. "defaultValue": "0",
  1748. "isOnUpdateCurrentTimestamp": false,
  1749. "isAutoInc": false,
  1750. "comment": "限定上传文件大小最小值,单位`byte`。(0为不限制)",
  1751. "columnFormat": "",
  1752. "storage": "",
  1753. "isVirtual": false,
  1754. "isGeneratedAlways": false,
  1755. "virtualExpr": "",
  1756. "virtualType": "",
  1757. "oldName": "file_size_min"
  1758. },
  1759. {
  1760. "objectType": "TableField_MYSQL",
  1761. "name": "file_size_max",
  1762. "type": "bigint",
  1763. "length": 20,
  1764. "decimals": 0,
  1765. "isUnsigned": true,
  1766. "isZeroFill": false,
  1767. "setEnumValues": "",
  1768. "isBinary": false,
  1769. "charset": "",
  1770. "collation": "",
  1771. "isNullable": true,
  1772. "defaultType": "Others",
  1773. "defaultValue": "0",
  1774. "isOnUpdateCurrentTimestamp": false,
  1775. "isAutoInc": false,
  1776. "comment": "限定上传文件大小最大值,单位`byte`。(0为不限制)",
  1777. "columnFormat": "",
  1778. "storage": "",
  1779. "isVirtual": false,
  1780. "isGeneratedAlways": false,
  1781. "virtualExpr": "",
  1782. "virtualType": "",
  1783. "oldName": "file_size_max"
  1784. },
  1785. {
  1786. "objectType": "TableField_MYSQL",
  1787. "name": "file_ext",
  1788. "type": "varchar",
  1789. "length": 64,
  1790. "decimals": 0,
  1791. "isUnsigned": false,
  1792. "isZeroFill": false,
  1793. "setEnumValues": "",
  1794. "isBinary": false,
  1795. "charset": "utf8mb4",
  1796. "collation": "utf8mb4_general_ci",
  1797. "isNullable": false,
  1798. "defaultType": "Others",
  1799. "defaultValue": "",
  1800. "isOnUpdateCurrentTimestamp": false,
  1801. "isAutoInc": false,
  1802. "comment": "限定用户上传后辍(多个逗号分割)",
  1803. "columnFormat": "",
  1804. "storage": "",
  1805. "isVirtual": false,
  1806. "isGeneratedAlways": false,
  1807. "virtualExpr": "",
  1808. "virtualType": "",
  1809. "oldName": "file_ext"
  1810. },
  1811. {
  1812. "objectType": "TableField_MYSQL",
  1813. "name": "upload_dir",
  1814. "type": "varchar",
  1815. "length": 100,
  1816. "decimals": 0,
  1817. "isUnsigned": false,
  1818. "isZeroFill": false,
  1819. "setEnumValues": "",
  1820. "isBinary": false,
  1821. "charset": "utf8mb4",
  1822. "collation": "utf8mb4_general_ci",
  1823. "isNullable": true,
  1824. "defaultType": "Empty",
  1825. "defaultValue": "",
  1826. "isOnUpdateCurrentTimestamp": false,
  1827. "isAutoInc": false,
  1828. "comment": "上传目录",
  1829. "columnFormat": "",
  1830. "storage": "",
  1831. "isVirtual": false,
  1832. "isGeneratedAlways": false,
  1833. "virtualExpr": "",
  1834. "virtualType": "",
  1835. "oldName": "upload_dir"
  1836. },
  1837. {
  1838. "objectType": "TableField_MYSQL",
  1839. "name": "upload_sub_dir",
  1840. "type": "varchar",
  1841. "length": 255,
  1842. "decimals": 0,
  1843. "isUnsigned": false,
  1844. "isZeroFill": false,
  1845. "setEnumValues": "",
  1846. "isBinary": false,
  1847. "charset": "utf8mb4",
  1848. "collation": "utf8mb4_general_ci",
  1849. "isNullable": true,
  1850. "defaultType": "Empty",
  1851. "defaultValue": "",
  1852. "isOnUpdateCurrentTimestamp": false,
  1853. "isAutoInc": false,
  1854. "comment": "上传子目录",
  1855. "columnFormat": "",
  1856. "storage": "",
  1857. "isVirtual": false,
  1858. "isGeneratedAlways": false,
  1859. "virtualExpr": "",
  1860. "virtualType": "",
  1861. "oldName": "upload_sub_dir"
  1862. },
  1863. {
  1864. "objectType": "TableField_MYSQL",
  1865. "name": "base_url",
  1866. "type": "varchar",
  1867. "length": 32,
  1868. "decimals": 0,
  1869. "isUnsigned": false,
  1870. "isZeroFill": false,
  1871. "setEnumValues": "",
  1872. "isBinary": false,
  1873. "charset": "utf8mb4",
  1874. "collation": "utf8mb4_general_ci",
  1875. "isNullable": true,
  1876. "defaultType": "Empty",
  1877. "defaultValue": "",
  1878. "isOnUpdateCurrentTimestamp": false,
  1879. "isAutoInc": false,
  1880. "comment": "访问地址前辍",
  1881. "columnFormat": "",
  1882. "storage": "",
  1883. "isVirtual": false,
  1884. "isGeneratedAlways": false,
  1885. "virtualExpr": "",
  1886. "virtualType": "",
  1887. "oldName": "base_url"
  1888. },
  1889. {
  1890. "objectType": "TableField_MYSQL",
  1891. "name": "callback_url",
  1892. "type": "varchar",
  1893. "length": 100,
  1894. "decimals": 0,
  1895. "isUnsigned": false,
  1896. "isZeroFill": false,
  1897. "setEnumValues": "",
  1898. "isBinary": false,
  1899. "charset": "utf8mb4",
  1900. "collation": "utf8mb4_general_ci",
  1901. "isNullable": true,
  1902. "defaultType": "Empty",
  1903. "defaultValue": "",
  1904. "isOnUpdateCurrentTimestamp": false,
  1905. "isAutoInc": false,
  1906. "comment": "回调地址",
  1907. "columnFormat": "",
  1908. "storage": "",
  1909. "isVirtual": false,
  1910. "isGeneratedAlways": false,
  1911. "virtualExpr": "",
  1912. "virtualType": "",
  1913. "oldName": "callback_url"
  1914. },
  1915. {
  1916. "objectType": "TableField_MYSQL",
  1917. "name": "naming_strategy",
  1918. "type": "varchar",
  1919. "length": 32,
  1920. "decimals": 0,
  1921. "isUnsigned": false,
  1922. "isZeroFill": false,
  1923. "setEnumValues": "",
  1924. "isBinary": false,
  1925. "charset": "utf8mb4",
  1926. "collation": "utf8mb4_general_ci",
  1927. "isNullable": false,
  1928. "defaultType": "Others",
  1929. "defaultValue": "",
  1930. "isOnUpdateCurrentTimestamp": false,
  1931. "isAutoInc": false,
  1932. "comment": "命名策略",
  1933. "columnFormat": "",
  1934. "storage": "",
  1935. "isVirtual": false,
  1936. "isGeneratedAlways": false,
  1937. "virtualExpr": "",
  1938. "virtualType": "",
  1939. "oldName": "naming_strategy"
  1940. },
  1941. {
  1942. "objectType": "TableField_MYSQL",
  1943. "name": "is_record",
  1944. "type": "tinyint",
  1945. "length": 1,
  1946. "decimals": 0,
  1947. "isUnsigned": true,
  1948. "isZeroFill": false,
  1949. "setEnumValues": "",
  1950. "isBinary": false,
  1951. "charset": "",
  1952. "collation": "",
  1953. "isNullable": false,
  1954. "defaultType": "Others",
  1955. "defaultValue": "1",
  1956. "isOnUpdateCurrentTimestamp": false,
  1957. "isAutoInc": false,
  1958. "comment": "是否记录(1->不记录|NO,2->记录|YES)",
  1959. "columnFormat": "",
  1960. "storage": "",
  1961. "isVirtual": false,
  1962. "isGeneratedAlways": false,
  1963. "virtualExpr": "",
  1964. "virtualType": "",
  1965. "oldName": "is_record"
  1966. },
  1967. {
  1968. "objectType": "TableField_MYSQL",
  1969. "name": "remark",
  1970. "type": "varchar",
  1971. "length": 255,
  1972. "decimals": 0,
  1973. "isUnsigned": false,
  1974. "isZeroFill": false,
  1975. "setEnumValues": "",
  1976. "isBinary": false,
  1977. "charset": "utf8mb4",
  1978. "collation": "utf8mb4_general_ci",
  1979. "isNullable": true,
  1980. "defaultType": "Null",
  1981. "defaultValue": "",
  1982. "isOnUpdateCurrentTimestamp": false,
  1983. "isAutoInc": false,
  1984. "comment": "备注",
  1985. "columnFormat": "",
  1986. "storage": "",
  1987. "isVirtual": false,
  1988. "isGeneratedAlways": false,
  1989. "virtualExpr": "",
  1990. "virtualType": "",
  1991. "oldName": "remark"
  1992. },
  1993. {
  1994. "objectType": "TableField_MYSQL",
  1995. "name": "create_time",
  1996. "type": "datetime",
  1997. "length": 3,
  1998. "decimals": 0,
  1999. "isUnsigned": false,
  2000. "isZeroFill": false,
  2001. "setEnumValues": "",
  2002. "isBinary": false,
  2003. "charset": "",
  2004. "collation": "",
  2005. "isNullable": false,
  2006. "defaultType": "Others",
  2007. "defaultValue": "",
  2008. "isOnUpdateCurrentTimestamp": false,
  2009. "isAutoInc": false,
  2010. "comment": "创建时间",
  2011. "columnFormat": "",
  2012. "storage": "",
  2013. "isVirtual": false,
  2014. "isGeneratedAlways": false,
  2015. "virtualExpr": "",
  2016. "virtualType": "",
  2017. "oldName": "create_time"
  2018. },
  2019. {
  2020. "objectType": "TableField_MYSQL",
  2021. "name": "update_time",
  2022. "type": "datetime",
  2023. "length": 3,
  2024. "decimals": 0,
  2025. "isUnsigned": false,
  2026. "isZeroFill": false,
  2027. "setEnumValues": "",
  2028. "isBinary": false,
  2029. "charset": "",
  2030. "collation": "",
  2031. "isNullable": false,
  2032. "defaultType": "Others",
  2033. "defaultValue": "",
  2034. "isOnUpdateCurrentTimestamp": false,
  2035. "isAutoInc": false,
  2036. "comment": "更新时间",
  2037. "columnFormat": "",
  2038. "storage": "",
  2039. "isVirtual": false,
  2040. "isGeneratedAlways": false,
  2041. "virtualExpr": "",
  2042. "virtualType": "",
  2043. "oldName": "update_time"
  2044. },
  2045. {
  2046. "objectType": "TableField_MYSQL",
  2047. "name": "is_deleted",
  2048. "type": "tinyint",
  2049. "length": 1,
  2050. "decimals": 0,
  2051. "isUnsigned": true,
  2052. "isZeroFill": false,
  2053. "setEnumValues": "",
  2054. "isBinary": false,
  2055. "charset": "",
  2056. "collation": "",
  2057. "isNullable": true,
  2058. "defaultType": "Others",
  2059. "defaultValue": "1",
  2060. "isOnUpdateCurrentTimestamp": false,
  2061. "isAutoInc": false,
  2062. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  2063. "columnFormat": "",
  2064. "storage": "",
  2065. "isVirtual": false,
  2066. "isGeneratedAlways": false,
  2067. "virtualExpr": "",
  2068. "virtualType": "",
  2069. "oldName": "is_deleted"
  2070. }
  2071. ],
  2072. "indexes": [],
  2073. "primaryKey": {
  2074. "objectType": "PrimaryKey_MYSQL",
  2075. "name": "",
  2076. "fields": [
  2077. {
  2078. "objectType": "IndexField_MYSQL",
  2079. "name": "id",
  2080. "keyLength": 0,
  2081. "order": "",
  2082. "oldName": "id"
  2083. }
  2084. ],
  2085. "oldName": "",
  2086. "indexMethod": "BTREE",
  2087. "comment": ""
  2088. },
  2089. "foreignKeys": [],
  2090. "triggers": [],
  2091. "tablePartitions": []
  2092. },
  2093. {
  2094. "objectType": "Table_MYSQL",
  2095. "name": "sys_upload_record",
  2096. "comment": "上传记录",
  2097. "engine": "InnoDB",
  2098. "characterSet": "utf8mb4",
  2099. "collation": "utf8mb4_general_ci",
  2100. "autoIncrement": 5,
  2101. "tablespace": "",
  2102. "storage": "",
  2103. "insertMethod": "",
  2104. "connection": "",
  2105. "checksum": false,
  2106. "rowFormat": "Dynamic",
  2107. "avgRowLength": 0,
  2108. "maxRows": 0,
  2109. "minRows": 0,
  2110. "keyBlockSize": 0,
  2111. "packKeys": "",
  2112. "delayKeyWrite": false,
  2113. "dataDirectory": "",
  2114. "indexDirectory": "",
  2115. "statsAutoRecalc": "",
  2116. "statsPersistent": "",
  2117. "statsSamplePages": 0,
  2118. "union": "",
  2119. "pageCheckSum": false,
  2120. "transactional": false,
  2121. "compression": "",
  2122. "oldName": "sys_upload_record",
  2123. "encryption": false,
  2124. "createOptions": "",
  2125. "createTime": "2020-06-14 12:58:12",
  2126. "checkTime": "",
  2127. "dataFree": 0,
  2128. "dataLength": 16384,
  2129. "indexLength": 0,
  2130. "maxDataLength": 0,
  2131. "rows": 0,
  2132. "updateTime": "",
  2133. "DDL": "CREATE TABLE `sys_upload_record` (\n `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',\n `biz_type` varchar(32) DEFAULT NULL COMMENT '业务类型',\n `biz_id` varchar(40) DEFAULT NULL COMMENT '业务id',\n `url` varchar(100) DEFAULT NULL COMMENT '文件保存的资源路径',\n `file_name` varchar(100) DEFAULT NULL COMMENT '上传的原始文件名',\n `file_size` bigint(20) unsigned DEFAULT NULL COMMENT '资源大小,单位为字节',\n `mime_type` varchar(32) DEFAULT NULL COMMENT '资源类型',\n `file_ext` varchar(10) DEFAULT NULL COMMENT '上传资源的后缀名',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='上传记录'",
  2134. "partitionBy": "",
  2135. "partitionByExpr": "",
  2136. "partitions": 0,
  2137. "partitionKeyAlgorithm": "",
  2138. "subPartitionBy": "",
  2139. "subPartitionByExpr": "",
  2140. "subPartitions": 0,
  2141. "subPartitionKeyAlgorithm": "",
  2142. "fields": [
  2143. {
  2144. "objectType": "TableField_MYSQL",
  2145. "name": "id",
  2146. "type": "bigint",
  2147. "length": 20,
  2148. "decimals": 0,
  2149. "isUnsigned": false,
  2150. "isZeroFill": false,
  2151. "setEnumValues": "",
  2152. "isBinary": false,
  2153. "charset": "",
  2154. "collation": "",
  2155. "isNullable": false,
  2156. "defaultType": "Others",
  2157. "defaultValue": "",
  2158. "isOnUpdateCurrentTimestamp": false,
  2159. "isAutoInc": true,
  2160. "comment": "主键",
  2161. "columnFormat": "",
  2162. "storage": "",
  2163. "isVirtual": false,
  2164. "isGeneratedAlways": false,
  2165. "virtualExpr": "",
  2166. "virtualType": "",
  2167. "oldName": "id"
  2168. },
  2169. {
  2170. "objectType": "TableField_MYSQL",
  2171. "name": "biz_type",
  2172. "type": "varchar",
  2173. "length": 32,
  2174. "decimals": 0,
  2175. "isUnsigned": false,
  2176. "isZeroFill": false,
  2177. "setEnumValues": "",
  2178. "isBinary": false,
  2179. "charset": "utf8mb4",
  2180. "collation": "utf8mb4_general_ci",
  2181. "isNullable": true,
  2182. "defaultType": "Null",
  2183. "defaultValue": "",
  2184. "isOnUpdateCurrentTimestamp": false,
  2185. "isAutoInc": false,
  2186. "comment": "业务类型",
  2187. "columnFormat": "",
  2188. "storage": "",
  2189. "isVirtual": false,
  2190. "isGeneratedAlways": false,
  2191. "virtualExpr": "",
  2192. "virtualType": "",
  2193. "oldName": "biz_type"
  2194. },
  2195. {
  2196. "objectType": "TableField_MYSQL",
  2197. "name": "biz_id",
  2198. "type": "varchar",
  2199. "length": 40,
  2200. "decimals": 0,
  2201. "isUnsigned": false,
  2202. "isZeroFill": false,
  2203. "setEnumValues": "",
  2204. "isBinary": false,
  2205. "charset": "utf8mb4",
  2206. "collation": "utf8mb4_general_ci",
  2207. "isNullable": true,
  2208. "defaultType": "Null",
  2209. "defaultValue": "",
  2210. "isOnUpdateCurrentTimestamp": false,
  2211. "isAutoInc": false,
  2212. "comment": "业务id",
  2213. "columnFormat": "",
  2214. "storage": "",
  2215. "isVirtual": false,
  2216. "isGeneratedAlways": false,
  2217. "virtualExpr": "",
  2218. "virtualType": "",
  2219. "oldName": "biz_id"
  2220. },
  2221. {
  2222. "objectType": "TableField_MYSQL",
  2223. "name": "url",
  2224. "type": "varchar",
  2225. "length": 100,
  2226. "decimals": 0,
  2227. "isUnsigned": false,
  2228. "isZeroFill": false,
  2229. "setEnumValues": "",
  2230. "isBinary": false,
  2231. "charset": "utf8mb4",
  2232. "collation": "utf8mb4_general_ci",
  2233. "isNullable": true,
  2234. "defaultType": "Null",
  2235. "defaultValue": "",
  2236. "isOnUpdateCurrentTimestamp": false,
  2237. "isAutoInc": false,
  2238. "comment": "文件保存的资源路径",
  2239. "columnFormat": "",
  2240. "storage": "",
  2241. "isVirtual": false,
  2242. "isGeneratedAlways": false,
  2243. "virtualExpr": "",
  2244. "virtualType": "",
  2245. "oldName": "url"
  2246. },
  2247. {
  2248. "objectType": "TableField_MYSQL",
  2249. "name": "file_name",
  2250. "type": "varchar",
  2251. "length": 100,
  2252. "decimals": 0,
  2253. "isUnsigned": false,
  2254. "isZeroFill": false,
  2255. "setEnumValues": "",
  2256. "isBinary": false,
  2257. "charset": "utf8mb4",
  2258. "collation": "utf8mb4_general_ci",
  2259. "isNullable": true,
  2260. "defaultType": "Null",
  2261. "defaultValue": "",
  2262. "isOnUpdateCurrentTimestamp": false,
  2263. "isAutoInc": false,
  2264. "comment": "上传的原始文件名",
  2265. "columnFormat": "",
  2266. "storage": "",
  2267. "isVirtual": false,
  2268. "isGeneratedAlways": false,
  2269. "virtualExpr": "",
  2270. "virtualType": "",
  2271. "oldName": "file_name"
  2272. },
  2273. {
  2274. "objectType": "TableField_MYSQL",
  2275. "name": "file_size",
  2276. "type": "bigint",
  2277. "length": 20,
  2278. "decimals": 0,
  2279. "isUnsigned": true,
  2280. "isZeroFill": false,
  2281. "setEnumValues": "",
  2282. "isBinary": false,
  2283. "charset": "",
  2284. "collation": "",
  2285. "isNullable": true,
  2286. "defaultType": "Null",
  2287. "defaultValue": "",
  2288. "isOnUpdateCurrentTimestamp": false,
  2289. "isAutoInc": false,
  2290. "comment": "资源大小,单位为字节",
  2291. "columnFormat": "",
  2292. "storage": "",
  2293. "isVirtual": false,
  2294. "isGeneratedAlways": false,
  2295. "virtualExpr": "",
  2296. "virtualType": "",
  2297. "oldName": "file_size"
  2298. },
  2299. {
  2300. "objectType": "TableField_MYSQL",
  2301. "name": "mime_type",
  2302. "type": "varchar",
  2303. "length": 32,
  2304. "decimals": 0,
  2305. "isUnsigned": false,
  2306. "isZeroFill": false,
  2307. "setEnumValues": "",
  2308. "isBinary": false,
  2309. "charset": "utf8mb4",
  2310. "collation": "utf8mb4_general_ci",
  2311. "isNullable": true,
  2312. "defaultType": "Null",
  2313. "defaultValue": "",
  2314. "isOnUpdateCurrentTimestamp": false,
  2315. "isAutoInc": false,
  2316. "comment": "资源类型",
  2317. "columnFormat": "",
  2318. "storage": "",
  2319. "isVirtual": false,
  2320. "isGeneratedAlways": false,
  2321. "virtualExpr": "",
  2322. "virtualType": "",
  2323. "oldName": "mime_type"
  2324. },
  2325. {
  2326. "objectType": "TableField_MYSQL",
  2327. "name": "file_ext",
  2328. "type": "varchar",
  2329. "length": 10,
  2330. "decimals": 0,
  2331. "isUnsigned": false,
  2332. "isZeroFill": false,
  2333. "setEnumValues": "",
  2334. "isBinary": false,
  2335. "charset": "utf8mb4",
  2336. "collation": "utf8mb4_general_ci",
  2337. "isNullable": true,
  2338. "defaultType": "Null",
  2339. "defaultValue": "",
  2340. "isOnUpdateCurrentTimestamp": false,
  2341. "isAutoInc": false,
  2342. "comment": "上传资源的后缀名",
  2343. "columnFormat": "",
  2344. "storage": "",
  2345. "isVirtual": false,
  2346. "isGeneratedAlways": false,
  2347. "virtualExpr": "",
  2348. "virtualType": "",
  2349. "oldName": "file_ext"
  2350. },
  2351. {
  2352. "objectType": "TableField_MYSQL",
  2353. "name": "create_time",
  2354. "type": "datetime",
  2355. "length": 3,
  2356. "decimals": 0,
  2357. "isUnsigned": false,
  2358. "isZeroFill": false,
  2359. "setEnumValues": "",
  2360. "isBinary": false,
  2361. "charset": "",
  2362. "collation": "",
  2363. "isNullable": true,
  2364. "defaultType": "Null",
  2365. "defaultValue": "",
  2366. "isOnUpdateCurrentTimestamp": false,
  2367. "isAutoInc": false,
  2368. "comment": "创建时间",
  2369. "columnFormat": "",
  2370. "storage": "",
  2371. "isVirtual": false,
  2372. "isGeneratedAlways": false,
  2373. "virtualExpr": "",
  2374. "virtualType": "",
  2375. "oldName": "create_time"
  2376. },
  2377. {
  2378. "objectType": "TableField_MYSQL",
  2379. "name": "update_time",
  2380. "type": "datetime",
  2381. "length": 3,
  2382. "decimals": 0,
  2383. "isUnsigned": false,
  2384. "isZeroFill": false,
  2385. "setEnumValues": "",
  2386. "isBinary": false,
  2387. "charset": "",
  2388. "collation": "",
  2389. "isNullable": true,
  2390. "defaultType": "Null",
  2391. "defaultValue": "",
  2392. "isOnUpdateCurrentTimestamp": false,
  2393. "isAutoInc": false,
  2394. "comment": "更新时间",
  2395. "columnFormat": "",
  2396. "storage": "",
  2397. "isVirtual": false,
  2398. "isGeneratedAlways": false,
  2399. "virtualExpr": "",
  2400. "virtualType": "",
  2401. "oldName": "update_time"
  2402. },
  2403. {
  2404. "objectType": "TableField_MYSQL",
  2405. "name": "is_deleted",
  2406. "type": "tinyint",
  2407. "length": 1,
  2408. "decimals": 0,
  2409. "isUnsigned": true,
  2410. "isZeroFill": false,
  2411. "setEnumValues": "",
  2412. "isBinary": false,
  2413. "charset": "",
  2414. "collation": "",
  2415. "isNullable": true,
  2416. "defaultType": "Others",
  2417. "defaultValue": "1",
  2418. "isOnUpdateCurrentTimestamp": false,
  2419. "isAutoInc": false,
  2420. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  2421. "columnFormat": "",
  2422. "storage": "",
  2423. "isVirtual": false,
  2424. "isGeneratedAlways": false,
  2425. "virtualExpr": "",
  2426. "virtualType": "",
  2427. "oldName": "is_deleted"
  2428. }
  2429. ],
  2430. "indexes": [],
  2431. "primaryKey": {
  2432. "objectType": "PrimaryKey_MYSQL",
  2433. "name": "",
  2434. "fields": [
  2435. {
  2436. "objectType": "IndexField_MYSQL",
  2437. "name": "id",
  2438. "keyLength": 0,
  2439. "order": "",
  2440. "oldName": "id"
  2441. }
  2442. ],
  2443. "oldName": "",
  2444. "indexMethod": "BTREE",
  2445. "comment": ""
  2446. },
  2447. "foreignKeys": [],
  2448. "triggers": [],
  2449. "tablePartitions": []
  2450. },
  2451. {
  2452. "objectType": "Table_MYSQL",
  2453. "name": "sys_user",
  2454. "comment": "用户",
  2455. "engine": "InnoDB",
  2456. "characterSet": "utf8mb4",
  2457. "collation": "utf8mb4_general_ci",
  2458. "autoIncrement": 16,
  2459. "tablespace": "",
  2460. "storage": "",
  2461. "insertMethod": "",
  2462. "connection": "",
  2463. "checksum": false,
  2464. "rowFormat": "Compact",
  2465. "avgRowLength": 0,
  2466. "maxRows": 0,
  2467. "minRows": 0,
  2468. "keyBlockSize": 0,
  2469. "packKeys": "",
  2470. "delayKeyWrite": false,
  2471. "dataDirectory": "",
  2472. "indexDirectory": "",
  2473. "statsAutoRecalc": "",
  2474. "statsPersistent": "",
  2475. "statsSamplePages": 0,
  2476. "union": "",
  2477. "pageCheckSum": false,
  2478. "transactional": false,
  2479. "compression": "",
  2480. "oldName": "sys_user",
  2481. "encryption": false,
  2482. "createOptions": "row_format=COMPACT",
  2483. "createTime": "2020-10-21 09:44:24",
  2484. "checkTime": "",
  2485. "dataFree": 0,
  2486. "dataLength": 16384,
  2487. "indexLength": 32768,
  2488. "maxDataLength": 0,
  2489. "rows": 12,
  2490. "updateTime": "",
  2491. "DDL": "CREATE TABLE `sys_user` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `user_name` varchar(32) NOT NULL COMMENT '用户名',\n `real_name` varchar(32) DEFAULT NULL COMMENT '姓名',\n `avatar` varchar(200) DEFAULT NULL COMMENT '头像',\n `email` varchar(64) DEFAULT NULL COMMENT '邮箱',\n `mobile_phone` varchar(11) DEFAULT NULL COMMENT '手机号',\n `telephone` varchar(20) DEFAULT NULL COMMENT '电话',\n `password` varchar(40) DEFAULT NULL COMMENT '密码',\n `salt` varchar(10) DEFAULT NULL COMMENT '加盐',\n `sex` int(6) unsigned DEFAULT '1' COMMENT '性别(1->男|MALE,2->女|FEMALE,3->未知|UNKNOWN)',\n `is_locked` tinyint(1) unsigned DEFAULT '1' COMMENT '是否锁定(2->已锁定|YES,1->未锁定|NO)',\n `dept_id` bigint(20) unsigned DEFAULT NULL COMMENT '部门id',\n `post_id` bigint(20) unsigned DEFAULT NULL COMMENT '岗位id',\n `remark` varchar(255) DEFAULT NULL COMMENT '备注',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`),\n KEY `real_name` (`real_name`),\n KEY `user_name` (`user_name`)\n) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='用户'",
  2492. "partitionBy": "",
  2493. "partitionByExpr": "",
  2494. "partitions": 0,
  2495. "partitionKeyAlgorithm": "",
  2496. "subPartitionBy": "",
  2497. "subPartitionByExpr": "",
  2498. "subPartitions": 0,
  2499. "subPartitionKeyAlgorithm": "",
  2500. "fields": [
  2501. {
  2502. "objectType": "TableField_MYSQL",
  2503. "name": "id",
  2504. "type": "bigint",
  2505. "length": 20,
  2506. "decimals": 0,
  2507. "isUnsigned": true,
  2508. "isZeroFill": false,
  2509. "setEnumValues": "",
  2510. "isBinary": false,
  2511. "charset": "",
  2512. "collation": "",
  2513. "isNullable": false,
  2514. "defaultType": "Others",
  2515. "defaultValue": "",
  2516. "isOnUpdateCurrentTimestamp": false,
  2517. "isAutoInc": true,
  2518. "comment": "主键",
  2519. "columnFormat": "",
  2520. "storage": "",
  2521. "isVirtual": false,
  2522. "isGeneratedAlways": false,
  2523. "virtualExpr": "",
  2524. "virtualType": "",
  2525. "oldName": "id"
  2526. },
  2527. {
  2528. "objectType": "TableField_MYSQL",
  2529. "name": "user_name",
  2530. "type": "varchar",
  2531. "length": 32,
  2532. "decimals": 0,
  2533. "isUnsigned": false,
  2534. "isZeroFill": false,
  2535. "setEnumValues": "",
  2536. "isBinary": false,
  2537. "charset": "utf8mb4",
  2538. "collation": "utf8mb4_general_ci",
  2539. "isNullable": false,
  2540. "defaultType": "Others",
  2541. "defaultValue": "",
  2542. "isOnUpdateCurrentTimestamp": false,
  2543. "isAutoInc": false,
  2544. "comment": "用户名",
  2545. "columnFormat": "",
  2546. "storage": "",
  2547. "isVirtual": false,
  2548. "isGeneratedAlways": false,
  2549. "virtualExpr": "",
  2550. "virtualType": "",
  2551. "oldName": "user_name"
  2552. },
  2553. {
  2554. "objectType": "TableField_MYSQL",
  2555. "name": "real_name",
  2556. "type": "varchar",
  2557. "length": 32,
  2558. "decimals": 0,
  2559. "isUnsigned": false,
  2560. "isZeroFill": false,
  2561. "setEnumValues": "",
  2562. "isBinary": false,
  2563. "charset": "utf8mb4",
  2564. "collation": "utf8mb4_general_ci",
  2565. "isNullable": true,
  2566. "defaultType": "Null",
  2567. "defaultValue": "",
  2568. "isOnUpdateCurrentTimestamp": false,
  2569. "isAutoInc": false,
  2570. "comment": "姓名",
  2571. "columnFormat": "",
  2572. "storage": "",
  2573. "isVirtual": false,
  2574. "isGeneratedAlways": false,
  2575. "virtualExpr": "",
  2576. "virtualType": "",
  2577. "oldName": "real_name"
  2578. },
  2579. {
  2580. "objectType": "TableField_MYSQL",
  2581. "name": "avatar",
  2582. "type": "varchar",
  2583. "length": 200,
  2584. "decimals": 0,
  2585. "isUnsigned": false,
  2586. "isZeroFill": false,
  2587. "setEnumValues": "",
  2588. "isBinary": false,
  2589. "charset": "utf8mb4",
  2590. "collation": "utf8mb4_general_ci",
  2591. "isNullable": true,
  2592. "defaultType": "Null",
  2593. "defaultValue": "",
  2594. "isOnUpdateCurrentTimestamp": false,
  2595. "isAutoInc": false,
  2596. "comment": "头像",
  2597. "columnFormat": "",
  2598. "storage": "",
  2599. "isVirtual": false,
  2600. "isGeneratedAlways": false,
  2601. "virtualExpr": "",
  2602. "virtualType": "",
  2603. "oldName": "avatar"
  2604. },
  2605. {
  2606. "objectType": "TableField_MYSQL",
  2607. "name": "email",
  2608. "type": "varchar",
  2609. "length": 64,
  2610. "decimals": 0,
  2611. "isUnsigned": false,
  2612. "isZeroFill": false,
  2613. "setEnumValues": "",
  2614. "isBinary": false,
  2615. "charset": "utf8mb4",
  2616. "collation": "utf8mb4_general_ci",
  2617. "isNullable": true,
  2618. "defaultType": "Null",
  2619. "defaultValue": "",
  2620. "isOnUpdateCurrentTimestamp": false,
  2621. "isAutoInc": false,
  2622. "comment": "邮箱",
  2623. "columnFormat": "",
  2624. "storage": "",
  2625. "isVirtual": false,
  2626. "isGeneratedAlways": false,
  2627. "virtualExpr": "",
  2628. "virtualType": "",
  2629. "oldName": "email"
  2630. },
  2631. {
  2632. "objectType": "TableField_MYSQL",
  2633. "name": "mobile_phone",
  2634. "type": "varchar",
  2635. "length": 11,
  2636. "decimals": 0,
  2637. "isUnsigned": false,
  2638. "isZeroFill": false,
  2639. "setEnumValues": "",
  2640. "isBinary": false,
  2641. "charset": "utf8mb4",
  2642. "collation": "utf8mb4_general_ci",
  2643. "isNullable": true,
  2644. "defaultType": "Null",
  2645. "defaultValue": "",
  2646. "isOnUpdateCurrentTimestamp": false,
  2647. "isAutoInc": false,
  2648. "comment": "手机号",
  2649. "columnFormat": "",
  2650. "storage": "",
  2651. "isVirtual": false,
  2652. "isGeneratedAlways": false,
  2653. "virtualExpr": "",
  2654. "virtualType": "",
  2655. "oldName": "mobile_phone"
  2656. },
  2657. {
  2658. "objectType": "TableField_MYSQL",
  2659. "name": "telephone",
  2660. "type": "varchar",
  2661. "length": 20,
  2662. "decimals": 0,
  2663. "isUnsigned": false,
  2664. "isZeroFill": false,
  2665. "setEnumValues": "",
  2666. "isBinary": false,
  2667. "charset": "utf8mb4",
  2668. "collation": "utf8mb4_general_ci",
  2669. "isNullable": true,
  2670. "defaultType": "Null",
  2671. "defaultValue": "",
  2672. "isOnUpdateCurrentTimestamp": false,
  2673. "isAutoInc": false,
  2674. "comment": "电话",
  2675. "columnFormat": "",
  2676. "storage": "",
  2677. "isVirtual": false,
  2678. "isGeneratedAlways": false,
  2679. "virtualExpr": "",
  2680. "virtualType": "",
  2681. "oldName": "telephone"
  2682. },
  2683. {
  2684. "objectType": "TableField_MYSQL",
  2685. "name": "password",
  2686. "type": "varchar",
  2687. "length": 40,
  2688. "decimals": 0,
  2689. "isUnsigned": false,
  2690. "isZeroFill": false,
  2691. "setEnumValues": "",
  2692. "isBinary": false,
  2693. "charset": "utf8mb4",
  2694. "collation": "utf8mb4_general_ci",
  2695. "isNullable": true,
  2696. "defaultType": "Null",
  2697. "defaultValue": "",
  2698. "isOnUpdateCurrentTimestamp": false,
  2699. "isAutoInc": false,
  2700. "comment": "密码",
  2701. "columnFormat": "",
  2702. "storage": "",
  2703. "isVirtual": false,
  2704. "isGeneratedAlways": false,
  2705. "virtualExpr": "",
  2706. "virtualType": "",
  2707. "oldName": "password"
  2708. },
  2709. {
  2710. "objectType": "TableField_MYSQL",
  2711. "name": "salt",
  2712. "type": "varchar",
  2713. "length": 10,
  2714. "decimals": 0,
  2715. "isUnsigned": false,
  2716. "isZeroFill": false,
  2717. "setEnumValues": "",
  2718. "isBinary": false,
  2719. "charset": "utf8mb4",
  2720. "collation": "utf8mb4_general_ci",
  2721. "isNullable": true,
  2722. "defaultType": "Null",
  2723. "defaultValue": "",
  2724. "isOnUpdateCurrentTimestamp": false,
  2725. "isAutoInc": false,
  2726. "comment": "加盐",
  2727. "columnFormat": "",
  2728. "storage": "",
  2729. "isVirtual": false,
  2730. "isGeneratedAlways": false,
  2731. "virtualExpr": "",
  2732. "virtualType": "",
  2733. "oldName": "salt"
  2734. },
  2735. {
  2736. "objectType": "TableField_MYSQL",
  2737. "name": "sex",
  2738. "type": "int",
  2739. "length": 6,
  2740. "decimals": 0,
  2741. "isUnsigned": true,
  2742. "isZeroFill": false,
  2743. "setEnumValues": "",
  2744. "isBinary": false,
  2745. "charset": "",
  2746. "collation": "",
  2747. "isNullable": true,
  2748. "defaultType": "Others",
  2749. "defaultValue": "1",
  2750. "isOnUpdateCurrentTimestamp": false,
  2751. "isAutoInc": false,
  2752. "comment": "性别(1->男|MALE,2->女|FEMALE,3->未知|UNKNOWN)",
  2753. "columnFormat": "",
  2754. "storage": "",
  2755. "isVirtual": false,
  2756. "isGeneratedAlways": false,
  2757. "virtualExpr": "",
  2758. "virtualType": "",
  2759. "oldName": "sex"
  2760. },
  2761. {
  2762. "objectType": "TableField_MYSQL",
  2763. "name": "is_locked",
  2764. "type": "tinyint",
  2765. "length": 1,
  2766. "decimals": 0,
  2767. "isUnsigned": true,
  2768. "isZeroFill": false,
  2769. "setEnumValues": "",
  2770. "isBinary": false,
  2771. "charset": "",
  2772. "collation": "",
  2773. "isNullable": true,
  2774. "defaultType": "Others",
  2775. "defaultValue": "1",
  2776. "isOnUpdateCurrentTimestamp": false,
  2777. "isAutoInc": false,
  2778. "comment": "是否锁定(2->已锁定|YES,1->未锁定|NO)",
  2779. "columnFormat": "",
  2780. "storage": "",
  2781. "isVirtual": false,
  2782. "isGeneratedAlways": false,
  2783. "virtualExpr": "",
  2784. "virtualType": "",
  2785. "oldName": "is_locked"
  2786. },
  2787. {
  2788. "objectType": "TableField_MYSQL",
  2789. "name": "dept_id",
  2790. "type": "bigint",
  2791. "length": 20,
  2792. "decimals": 0,
  2793. "isUnsigned": true,
  2794. "isZeroFill": false,
  2795. "setEnumValues": "",
  2796. "isBinary": false,
  2797. "charset": "",
  2798. "collation": "",
  2799. "isNullable": true,
  2800. "defaultType": "Null",
  2801. "defaultValue": "",
  2802. "isOnUpdateCurrentTimestamp": false,
  2803. "isAutoInc": false,
  2804. "comment": "部门id",
  2805. "columnFormat": "",
  2806. "storage": "",
  2807. "isVirtual": false,
  2808. "isGeneratedAlways": false,
  2809. "virtualExpr": "",
  2810. "virtualType": "",
  2811. "oldName": "dept_id"
  2812. },
  2813. {
  2814. "objectType": "TableField_MYSQL",
  2815. "name": "post_id",
  2816. "type": "bigint",
  2817. "length": 20,
  2818. "decimals": 0,
  2819. "isUnsigned": true,
  2820. "isZeroFill": false,
  2821. "setEnumValues": "",
  2822. "isBinary": false,
  2823. "charset": "",
  2824. "collation": "",
  2825. "isNullable": true,
  2826. "defaultType": "Null",
  2827. "defaultValue": "",
  2828. "isOnUpdateCurrentTimestamp": false,
  2829. "isAutoInc": false,
  2830. "comment": "岗位id",
  2831. "columnFormat": "",
  2832. "storage": "",
  2833. "isVirtual": false,
  2834. "isGeneratedAlways": false,
  2835. "virtualExpr": "",
  2836. "virtualType": "",
  2837. "oldName": "post_id"
  2838. },
  2839. {
  2840. "objectType": "TableField_MYSQL",
  2841. "name": "remark",
  2842. "type": "varchar",
  2843. "length": 255,
  2844. "decimals": 0,
  2845. "isUnsigned": false,
  2846. "isZeroFill": false,
  2847. "setEnumValues": "",
  2848. "isBinary": false,
  2849. "charset": "utf8mb4",
  2850. "collation": "utf8mb4_general_ci",
  2851. "isNullable": true,
  2852. "defaultType": "Null",
  2853. "defaultValue": "",
  2854. "isOnUpdateCurrentTimestamp": false,
  2855. "isAutoInc": false,
  2856. "comment": "备注",
  2857. "columnFormat": "",
  2858. "storage": "",
  2859. "isVirtual": false,
  2860. "isGeneratedAlways": false,
  2861. "virtualExpr": "",
  2862. "virtualType": "",
  2863. "oldName": "remark"
  2864. },
  2865. {
  2866. "objectType": "TableField_MYSQL",
  2867. "name": "create_time",
  2868. "type": "datetime",
  2869. "length": 3,
  2870. "decimals": 0,
  2871. "isUnsigned": false,
  2872. "isZeroFill": false,
  2873. "setEnumValues": "",
  2874. "isBinary": false,
  2875. "charset": "",
  2876. "collation": "",
  2877. "isNullable": false,
  2878. "defaultType": "Others",
  2879. "defaultValue": "",
  2880. "isOnUpdateCurrentTimestamp": false,
  2881. "isAutoInc": false,
  2882. "comment": "创建时间",
  2883. "columnFormat": "",
  2884. "storage": "",
  2885. "isVirtual": false,
  2886. "isGeneratedAlways": false,
  2887. "virtualExpr": "",
  2888. "virtualType": "",
  2889. "oldName": "create_time"
  2890. },
  2891. {
  2892. "objectType": "TableField_MYSQL",
  2893. "name": "update_time",
  2894. "type": "datetime",
  2895. "length": 3,
  2896. "decimals": 0,
  2897. "isUnsigned": false,
  2898. "isZeroFill": false,
  2899. "setEnumValues": "",
  2900. "isBinary": false,
  2901. "charset": "",
  2902. "collation": "",
  2903. "isNullable": false,
  2904. "defaultType": "Others",
  2905. "defaultValue": "",
  2906. "isOnUpdateCurrentTimestamp": false,
  2907. "isAutoInc": false,
  2908. "comment": "更新时间",
  2909. "columnFormat": "",
  2910. "storage": "",
  2911. "isVirtual": false,
  2912. "isGeneratedAlways": false,
  2913. "virtualExpr": "",
  2914. "virtualType": "",
  2915. "oldName": "update_time"
  2916. },
  2917. {
  2918. "objectType": "TableField_MYSQL",
  2919. "name": "is_deleted",
  2920. "type": "tinyint",
  2921. "length": 1,
  2922. "decimals": 0,
  2923. "isUnsigned": true,
  2924. "isZeroFill": false,
  2925. "setEnumValues": "",
  2926. "isBinary": false,
  2927. "charset": "",
  2928. "collation": "",
  2929. "isNullable": false,
  2930. "defaultType": "Others",
  2931. "defaultValue": "1",
  2932. "isOnUpdateCurrentTimestamp": false,
  2933. "isAutoInc": false,
  2934. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  2935. "columnFormat": "",
  2936. "storage": "",
  2937. "isVirtual": false,
  2938. "isGeneratedAlways": false,
  2939. "virtualExpr": "",
  2940. "virtualType": "",
  2941. "oldName": "is_deleted"
  2942. }
  2943. ],
  2944. "indexes": [
  2945. {
  2946. "objectType": "Index_MYSQL",
  2947. "name": "real_name",
  2948. "type": "NORMAL",
  2949. "method": "BTREE",
  2950. "comment": "",
  2951. "oldName": "real_name",
  2952. "online": false,
  2953. "keyBlockSize": 0,
  2954. "parser": "",
  2955. "algorithm": "",
  2956. "lock": "",
  2957. "collation": "A",
  2958. "cardinality": "10",
  2959. "packed": "",
  2960. "fields": [
  2961. {
  2962. "objectType": "IndexField_MYSQL",
  2963. "name": "real_name",
  2964. "keyLength": 0,
  2965. "order": "",
  2966. "oldName": "real_name"
  2967. }
  2968. ]
  2969. },
  2970. {
  2971. "objectType": "Index_MYSQL",
  2972. "name": "user_name",
  2973. "type": "NORMAL",
  2974. "method": "BTREE",
  2975. "comment": "",
  2976. "oldName": "user_name",
  2977. "online": false,
  2978. "keyBlockSize": 0,
  2979. "parser": "",
  2980. "algorithm": "",
  2981. "lock": "",
  2982. "collation": "A",
  2983. "cardinality": "12",
  2984. "packed": "",
  2985. "fields": [
  2986. {
  2987. "objectType": "IndexField_MYSQL",
  2988. "name": "user_name",
  2989. "keyLength": 0,
  2990. "order": "",
  2991. "oldName": "user_name"
  2992. }
  2993. ]
  2994. }
  2995. ],
  2996. "primaryKey": {
  2997. "objectType": "PrimaryKey_MYSQL",
  2998. "name": "",
  2999. "fields": [
  3000. {
  3001. "objectType": "IndexField_MYSQL",
  3002. "name": "id",
  3003. "keyLength": 0,
  3004. "order": "",
  3005. "oldName": "id"
  3006. }
  3007. ],
  3008. "oldName": "",
  3009. "indexMethod": "BTREE",
  3010. "comment": ""
  3011. },
  3012. "foreignKeys": [],
  3013. "triggers": [],
  3014. "tablePartitions": []
  3015. },
  3016. {
  3017. "objectType": "Table_MYSQL",
  3018. "name": "sys_user_role",
  3019. "comment": "用户角色关系表",
  3020. "engine": "InnoDB",
  3021. "characterSet": "utf8mb4",
  3022. "collation": "utf8mb4_general_ci",
  3023. "autoIncrement": 13,
  3024. "tablespace": "",
  3025. "storage": "",
  3026. "insertMethod": "",
  3027. "connection": "",
  3028. "checksum": false,
  3029. "rowFormat": "Dynamic",
  3030. "avgRowLength": 0,
  3031. "maxRows": 0,
  3032. "minRows": 0,
  3033. "keyBlockSize": 0,
  3034. "packKeys": "",
  3035. "delayKeyWrite": false,
  3036. "dataDirectory": "",
  3037. "indexDirectory": "",
  3038. "statsAutoRecalc": "",
  3039. "statsPersistent": "",
  3040. "statsSamplePages": 0,
  3041. "union": "",
  3042. "pageCheckSum": false,
  3043. "transactional": false,
  3044. "compression": "",
  3045. "oldName": "sys_user_role",
  3046. "encryption": false,
  3047. "createOptions": "",
  3048. "createTime": "2020-06-14 11:43:27",
  3049. "checkTime": "",
  3050. "dataFree": 0,
  3051. "dataLength": 16384,
  3052. "indexLength": 0,
  3053. "maxDataLength": 0,
  3054. "rows": 11,
  3055. "updateTime": "",
  3056. "DDL": "CREATE TABLE `sys_user_role` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `user_id` bigint(20) unsigned NOT NULL COMMENT '用户id',\n `role_id` bigint(20) unsigned NOT NULL COMMENT '角色id',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COMMENT='用户角色关系表'",
  3057. "partitionBy": "",
  3058. "partitionByExpr": "",
  3059. "partitions": 0,
  3060. "partitionKeyAlgorithm": "",
  3061. "subPartitionBy": "",
  3062. "subPartitionByExpr": "",
  3063. "subPartitions": 0,
  3064. "subPartitionKeyAlgorithm": "",
  3065. "fields": [
  3066. {
  3067. "objectType": "TableField_MYSQL",
  3068. "name": "id",
  3069. "type": "bigint",
  3070. "length": 20,
  3071. "decimals": 0,
  3072. "isUnsigned": true,
  3073. "isZeroFill": false,
  3074. "setEnumValues": "",
  3075. "isBinary": false,
  3076. "charset": "",
  3077. "collation": "",
  3078. "isNullable": false,
  3079. "defaultType": "Others",
  3080. "defaultValue": "",
  3081. "isOnUpdateCurrentTimestamp": false,
  3082. "isAutoInc": true,
  3083. "comment": "主键",
  3084. "columnFormat": "",
  3085. "storage": "",
  3086. "isVirtual": false,
  3087. "isGeneratedAlways": false,
  3088. "virtualExpr": "",
  3089. "virtualType": "",
  3090. "oldName": "id"
  3091. },
  3092. {
  3093. "objectType": "TableField_MYSQL",
  3094. "name": "user_id",
  3095. "type": "bigint",
  3096. "length": 20,
  3097. "decimals": 0,
  3098. "isUnsigned": true,
  3099. "isZeroFill": false,
  3100. "setEnumValues": "",
  3101. "isBinary": false,
  3102. "charset": "",
  3103. "collation": "",
  3104. "isNullable": false,
  3105. "defaultType": "Others",
  3106. "defaultValue": "",
  3107. "isOnUpdateCurrentTimestamp": false,
  3108. "isAutoInc": false,
  3109. "comment": "用户id",
  3110. "columnFormat": "",
  3111. "storage": "",
  3112. "isVirtual": false,
  3113. "isGeneratedAlways": false,
  3114. "virtualExpr": "",
  3115. "virtualType": "",
  3116. "oldName": "user_id"
  3117. },
  3118. {
  3119. "objectType": "TableField_MYSQL",
  3120. "name": "role_id",
  3121. "type": "bigint",
  3122. "length": 20,
  3123. "decimals": 0,
  3124. "isUnsigned": true,
  3125. "isZeroFill": false,
  3126. "setEnumValues": "",
  3127. "isBinary": false,
  3128. "charset": "",
  3129. "collation": "",
  3130. "isNullable": false,
  3131. "defaultType": "Others",
  3132. "defaultValue": "",
  3133. "isOnUpdateCurrentTimestamp": false,
  3134. "isAutoInc": false,
  3135. "comment": "角色id",
  3136. "columnFormat": "",
  3137. "storage": "",
  3138. "isVirtual": false,
  3139. "isGeneratedAlways": false,
  3140. "virtualExpr": "",
  3141. "virtualType": "",
  3142. "oldName": "role_id"
  3143. },
  3144. {
  3145. "objectType": "TableField_MYSQL",
  3146. "name": "create_time",
  3147. "type": "datetime",
  3148. "length": 3,
  3149. "decimals": 0,
  3150. "isUnsigned": false,
  3151. "isZeroFill": false,
  3152. "setEnumValues": "",
  3153. "isBinary": false,
  3154. "charset": "",
  3155. "collation": "",
  3156. "isNullable": false,
  3157. "defaultType": "Others",
  3158. "defaultValue": "",
  3159. "isOnUpdateCurrentTimestamp": false,
  3160. "isAutoInc": false,
  3161. "comment": "创建时间",
  3162. "columnFormat": "",
  3163. "storage": "",
  3164. "isVirtual": false,
  3165. "isGeneratedAlways": false,
  3166. "virtualExpr": "",
  3167. "virtualType": "",
  3168. "oldName": "create_time"
  3169. },
  3170. {
  3171. "objectType": "TableField_MYSQL",
  3172. "name": "update_time",
  3173. "type": "datetime",
  3174. "length": 3,
  3175. "decimals": 0,
  3176. "isUnsigned": false,
  3177. "isZeroFill": false,
  3178. "setEnumValues": "",
  3179. "isBinary": false,
  3180. "charset": "",
  3181. "collation": "",
  3182. "isNullable": false,
  3183. "defaultType": "Others",
  3184. "defaultValue": "",
  3185. "isOnUpdateCurrentTimestamp": false,
  3186. "isAutoInc": false,
  3187. "comment": "更新时间",
  3188. "columnFormat": "",
  3189. "storage": "",
  3190. "isVirtual": false,
  3191. "isGeneratedAlways": false,
  3192. "virtualExpr": "",
  3193. "virtualType": "",
  3194. "oldName": "update_time"
  3195. },
  3196. {
  3197. "objectType": "TableField_MYSQL",
  3198. "name": "is_deleted",
  3199. "type": "tinyint",
  3200. "length": 1,
  3201. "decimals": 0,
  3202. "isUnsigned": true,
  3203. "isZeroFill": false,
  3204. "setEnumValues": "",
  3205. "isBinary": false,
  3206. "charset": "",
  3207. "collation": "",
  3208. "isNullable": false,
  3209. "defaultType": "Others",
  3210. "defaultValue": "1",
  3211. "isOnUpdateCurrentTimestamp": false,
  3212. "isAutoInc": false,
  3213. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  3214. "columnFormat": "",
  3215. "storage": "",
  3216. "isVirtual": false,
  3217. "isGeneratedAlways": false,
  3218. "virtualExpr": "",
  3219. "virtualType": "",
  3220. "oldName": "is_deleted"
  3221. }
  3222. ],
  3223. "indexes": [],
  3224. "primaryKey": {
  3225. "objectType": "PrimaryKey_MYSQL",
  3226. "name": "",
  3227. "fields": [
  3228. {
  3229. "objectType": "IndexField_MYSQL",
  3230. "name": "id",
  3231. "keyLength": 0,
  3232. "order": "",
  3233. "oldName": "id"
  3234. }
  3235. ],
  3236. "oldName": "",
  3237. "indexMethod": "BTREE",
  3238. "comment": ""
  3239. },
  3240. "foreignKeys": [
  3241. {
  3242. "objectType": "ForeignKey_MYSQL",
  3243. "name": "fk_ur_user_id",
  3244. "fields": [
  3245. "user_id"
  3246. ],
  3247. "referenceSchema": "mldong",
  3248. "referenceTable": "sys_user",
  3249. "referenceFields": [
  3250. "id"
  3251. ],
  3252. "onDelete": "",
  3253. "onUpdate": "",
  3254. "sourceCardinality": "OneAndOnlyOneRelationship",
  3255. "targetCardinality": "ZeroOrManyRelationship",
  3256. "oldName": ""
  3257. },
  3258. {
  3259. "objectType": "ForeignKey_MYSQL",
  3260. "name": "fk_ur_role_id",
  3261. "fields": [
  3262. "role_id"
  3263. ],
  3264. "referenceSchema": "mldong",
  3265. "referenceTable": "sys_role",
  3266. "referenceFields": [
  3267. "id"
  3268. ],
  3269. "onDelete": "",
  3270. "onUpdate": "",
  3271. "sourceCardinality": "OneAndOnlyOneRelationship",
  3272. "targetCardinality": "ZeroOrManyRelationship",
  3273. "oldName": ""
  3274. }
  3275. ],
  3276. "triggers": [],
  3277. "tablePartitions": []
  3278. },
  3279. {
  3280. "objectType": "Table_MYSQL",
  3281. "name": "sys_role_menu",
  3282. "comment": "角色菜单关系",
  3283. "engine": "InnoDB",
  3284. "characterSet": "utf8mb4",
  3285. "collation": "utf8mb4_general_ci",
  3286. "autoIncrement": 47,
  3287. "tablespace": "",
  3288. "storage": "",
  3289. "insertMethod": "",
  3290. "connection": "",
  3291. "checksum": false,
  3292. "rowFormat": "Dynamic",
  3293. "avgRowLength": 0,
  3294. "maxRows": 0,
  3295. "minRows": 0,
  3296. "keyBlockSize": 0,
  3297. "packKeys": "",
  3298. "delayKeyWrite": false,
  3299. "dataDirectory": "",
  3300. "indexDirectory": "",
  3301. "statsAutoRecalc": "",
  3302. "statsPersistent": "",
  3303. "statsSamplePages": 0,
  3304. "union": "",
  3305. "pageCheckSum": false,
  3306. "transactional": false,
  3307. "compression": "",
  3308. "oldName": "sys_role_menu",
  3309. "encryption": false,
  3310. "createOptions": "",
  3311. "createTime": "2020-06-14 11:43:27",
  3312. "checkTime": "",
  3313. "dataFree": 0,
  3314. "dataLength": 16384,
  3315. "indexLength": 0,
  3316. "maxDataLength": 0,
  3317. "rows": 46,
  3318. "updateTime": "",
  3319. "DDL": "CREATE TABLE `sys_role_menu` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `role_id` bigint(20) unsigned NOT NULL COMMENT '角色id',\n `menu_id` bigint(20) unsigned NOT NULL COMMENT '菜单id',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8mb4 COMMENT='角色菜单关系'",
  3320. "partitionBy": "",
  3321. "partitionByExpr": "",
  3322. "partitions": 0,
  3323. "partitionKeyAlgorithm": "",
  3324. "subPartitionBy": "",
  3325. "subPartitionByExpr": "",
  3326. "subPartitions": 0,
  3327. "subPartitionKeyAlgorithm": "",
  3328. "fields": [
  3329. {
  3330. "objectType": "TableField_MYSQL",
  3331. "name": "id",
  3332. "type": "bigint",
  3333. "length": 20,
  3334. "decimals": 0,
  3335. "isUnsigned": true,
  3336. "isZeroFill": false,
  3337. "setEnumValues": "",
  3338. "isBinary": false,
  3339. "charset": "",
  3340. "collation": "",
  3341. "isNullable": false,
  3342. "defaultType": "Others",
  3343. "defaultValue": "",
  3344. "isOnUpdateCurrentTimestamp": false,
  3345. "isAutoInc": true,
  3346. "comment": "主键",
  3347. "columnFormat": "",
  3348. "storage": "",
  3349. "isVirtual": false,
  3350. "isGeneratedAlways": false,
  3351. "virtualExpr": "",
  3352. "virtualType": "",
  3353. "oldName": "id"
  3354. },
  3355. {
  3356. "objectType": "TableField_MYSQL",
  3357. "name": "role_id",
  3358. "type": "bigint",
  3359. "length": 20,
  3360. "decimals": 0,
  3361. "isUnsigned": true,
  3362. "isZeroFill": false,
  3363. "setEnumValues": "",
  3364. "isBinary": false,
  3365. "charset": "",
  3366. "collation": "",
  3367. "isNullable": false,
  3368. "defaultType": "Others",
  3369. "defaultValue": "",
  3370. "isOnUpdateCurrentTimestamp": false,
  3371. "isAutoInc": false,
  3372. "comment": "角色id",
  3373. "columnFormat": "",
  3374. "storage": "",
  3375. "isVirtual": false,
  3376. "isGeneratedAlways": false,
  3377. "virtualExpr": "",
  3378. "virtualType": "",
  3379. "oldName": "role_id"
  3380. },
  3381. {
  3382. "objectType": "TableField_MYSQL",
  3383. "name": "menu_id",
  3384. "type": "bigint",
  3385. "length": 20,
  3386. "decimals": 0,
  3387. "isUnsigned": true,
  3388. "isZeroFill": false,
  3389. "setEnumValues": "",
  3390. "isBinary": false,
  3391. "charset": "",
  3392. "collation": "",
  3393. "isNullable": false,
  3394. "defaultType": "Others",
  3395. "defaultValue": "",
  3396. "isOnUpdateCurrentTimestamp": false,
  3397. "isAutoInc": false,
  3398. "comment": "菜单id",
  3399. "columnFormat": "",
  3400. "storage": "",
  3401. "isVirtual": false,
  3402. "isGeneratedAlways": false,
  3403. "virtualExpr": "",
  3404. "virtualType": "",
  3405. "oldName": "menu_id"
  3406. },
  3407. {
  3408. "objectType": "TableField_MYSQL",
  3409. "name": "create_time",
  3410. "type": "datetime",
  3411. "length": 3,
  3412. "decimals": 0,
  3413. "isUnsigned": false,
  3414. "isZeroFill": false,
  3415. "setEnumValues": "",
  3416. "isBinary": false,
  3417. "charset": "",
  3418. "collation": "",
  3419. "isNullable": false,
  3420. "defaultType": "Others",
  3421. "defaultValue": "",
  3422. "isOnUpdateCurrentTimestamp": false,
  3423. "isAutoInc": false,
  3424. "comment": "创建时间",
  3425. "columnFormat": "",
  3426. "storage": "",
  3427. "isVirtual": false,
  3428. "isGeneratedAlways": false,
  3429. "virtualExpr": "",
  3430. "virtualType": "",
  3431. "oldName": "create_time"
  3432. },
  3433. {
  3434. "objectType": "TableField_MYSQL",
  3435. "name": "update_time",
  3436. "type": "datetime",
  3437. "length": 3,
  3438. "decimals": 0,
  3439. "isUnsigned": false,
  3440. "isZeroFill": false,
  3441. "setEnumValues": "",
  3442. "isBinary": false,
  3443. "charset": "",
  3444. "collation": "",
  3445. "isNullable": false,
  3446. "defaultType": "Others",
  3447. "defaultValue": "",
  3448. "isOnUpdateCurrentTimestamp": false,
  3449. "isAutoInc": false,
  3450. "comment": "更新时间",
  3451. "columnFormat": "",
  3452. "storage": "",
  3453. "isVirtual": false,
  3454. "isGeneratedAlways": false,
  3455. "virtualExpr": "",
  3456. "virtualType": "",
  3457. "oldName": "update_time"
  3458. },
  3459. {
  3460. "objectType": "TableField_MYSQL",
  3461. "name": "is_deleted",
  3462. "type": "tinyint",
  3463. "length": 1,
  3464. "decimals": 0,
  3465. "isUnsigned": true,
  3466. "isZeroFill": false,
  3467. "setEnumValues": "",
  3468. "isBinary": false,
  3469. "charset": "",
  3470. "collation": "",
  3471. "isNullable": false,
  3472. "defaultType": "Others",
  3473. "defaultValue": "1",
  3474. "isOnUpdateCurrentTimestamp": false,
  3475. "isAutoInc": false,
  3476. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  3477. "columnFormat": "",
  3478. "storage": "",
  3479. "isVirtual": false,
  3480. "isGeneratedAlways": false,
  3481. "virtualExpr": "",
  3482. "virtualType": "",
  3483. "oldName": "is_deleted"
  3484. }
  3485. ],
  3486. "indexes": [],
  3487. "primaryKey": {
  3488. "objectType": "PrimaryKey_MYSQL",
  3489. "name": "",
  3490. "fields": [
  3491. {
  3492. "objectType": "IndexField_MYSQL",
  3493. "name": "id",
  3494. "keyLength": 0,
  3495. "order": "",
  3496. "oldName": "id"
  3497. }
  3498. ],
  3499. "oldName": "",
  3500. "indexMethod": "BTREE",
  3501. "comment": ""
  3502. },
  3503. "foreignKeys": [
  3504. {
  3505. "objectType": "ForeignKey_MYSQL",
  3506. "name": "fk_rm_role_id",
  3507. "fields": [
  3508. "role_id"
  3509. ],
  3510. "referenceSchema": "mldong",
  3511. "referenceTable": "sys_role",
  3512. "referenceFields": [
  3513. "id"
  3514. ],
  3515. "onDelete": "",
  3516. "onUpdate": "",
  3517. "sourceCardinality": "OneAndOnlyOneRelationship",
  3518. "targetCardinality": "ZeroOrManyRelationship",
  3519. "oldName": ""
  3520. },
  3521. {
  3522. "objectType": "ForeignKey_MYSQL",
  3523. "name": "fk_rm_menu_id",
  3524. "fields": [
  3525. "menu_id"
  3526. ],
  3527. "referenceSchema": "mldong",
  3528. "referenceTable": "sys_menu",
  3529. "referenceFields": [
  3530. "id"
  3531. ],
  3532. "onDelete": "",
  3533. "onUpdate": "",
  3534. "sourceCardinality": "OneAndOnlyOneRelationship",
  3535. "targetCardinality": "ZeroOrManyRelationship",
  3536. "oldName": ""
  3537. }
  3538. ],
  3539. "triggers": [],
  3540. "tablePartitions": []
  3541. },
  3542. {
  3543. "objectType": "Table_MYSQL",
  3544. "name": "sys_role_access",
  3545. "comment": "角色权限关系",
  3546. "engine": "InnoDB",
  3547. "characterSet": "utf8mb4",
  3548. "collation": "utf8mb4_general_ci",
  3549. "autoIncrement": 51,
  3550. "tablespace": "",
  3551. "storage": "",
  3552. "insertMethod": "",
  3553. "connection": "",
  3554. "checksum": false,
  3555. "rowFormat": "Dynamic",
  3556. "avgRowLength": 0,
  3557. "maxRows": 0,
  3558. "minRows": 0,
  3559. "keyBlockSize": 0,
  3560. "packKeys": "",
  3561. "delayKeyWrite": false,
  3562. "dataDirectory": "",
  3563. "indexDirectory": "",
  3564. "statsAutoRecalc": "",
  3565. "statsPersistent": "",
  3566. "statsSamplePages": 0,
  3567. "union": "",
  3568. "pageCheckSum": false,
  3569. "transactional": false,
  3570. "compression": "",
  3571. "oldName": "sys_role_access",
  3572. "encryption": false,
  3573. "createOptions": "",
  3574. "createTime": "2020-06-14 11:43:27",
  3575. "checkTime": "",
  3576. "dataFree": 0,
  3577. "dataLength": 16384,
  3578. "indexLength": 16384,
  3579. "maxDataLength": 0,
  3580. "rows": 49,
  3581. "updateTime": "",
  3582. "DDL": "CREATE TABLE `sys_role_access` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `role_id` bigint(20) unsigned NOT NULL COMMENT '角色id',\n `access` varchar(64) NOT NULL COMMENT '权限标识',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`),\n KEY `idx_sys_role_access` (`access`) USING BTREE\n) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COMMENT='角色权限关系'",
  3583. "partitionBy": "",
  3584. "partitionByExpr": "",
  3585. "partitions": 0,
  3586. "partitionKeyAlgorithm": "",
  3587. "subPartitionBy": "",
  3588. "subPartitionByExpr": "",
  3589. "subPartitions": 0,
  3590. "subPartitionKeyAlgorithm": "",
  3591. "fields": [
  3592. {
  3593. "objectType": "TableField_MYSQL",
  3594. "name": "id",
  3595. "type": "bigint",
  3596. "length": 20,
  3597. "decimals": 0,
  3598. "isUnsigned": true,
  3599. "isZeroFill": false,
  3600. "setEnumValues": "",
  3601. "isBinary": false,
  3602. "charset": "",
  3603. "collation": "",
  3604. "isNullable": false,
  3605. "defaultType": "Others",
  3606. "defaultValue": "",
  3607. "isOnUpdateCurrentTimestamp": false,
  3608. "isAutoInc": true,
  3609. "comment": "主键",
  3610. "columnFormat": "",
  3611. "storage": "",
  3612. "isVirtual": false,
  3613. "isGeneratedAlways": false,
  3614. "virtualExpr": "",
  3615. "virtualType": "",
  3616. "oldName": "id"
  3617. },
  3618. {
  3619. "objectType": "TableField_MYSQL",
  3620. "name": "role_id",
  3621. "type": "bigint",
  3622. "length": 20,
  3623. "decimals": 0,
  3624. "isUnsigned": true,
  3625. "isZeroFill": false,
  3626. "setEnumValues": "",
  3627. "isBinary": false,
  3628. "charset": "",
  3629. "collation": "",
  3630. "isNullable": false,
  3631. "defaultType": "Others",
  3632. "defaultValue": "",
  3633. "isOnUpdateCurrentTimestamp": false,
  3634. "isAutoInc": false,
  3635. "comment": "角色id",
  3636. "columnFormat": "",
  3637. "storage": "",
  3638. "isVirtual": false,
  3639. "isGeneratedAlways": false,
  3640. "virtualExpr": "",
  3641. "virtualType": "",
  3642. "oldName": "role_id"
  3643. },
  3644. {
  3645. "objectType": "TableField_MYSQL",
  3646. "name": "access",
  3647. "type": "varchar",
  3648. "length": 64,
  3649. "decimals": 0,
  3650. "isUnsigned": false,
  3651. "isZeroFill": false,
  3652. "setEnumValues": "",
  3653. "isBinary": false,
  3654. "charset": "utf8mb4",
  3655. "collation": "utf8mb4_general_ci",
  3656. "isNullable": false,
  3657. "defaultType": "Others",
  3658. "defaultValue": "",
  3659. "isOnUpdateCurrentTimestamp": false,
  3660. "isAutoInc": false,
  3661. "comment": "权限标识",
  3662. "columnFormat": "",
  3663. "storage": "",
  3664. "isVirtual": false,
  3665. "isGeneratedAlways": false,
  3666. "virtualExpr": "",
  3667. "virtualType": "",
  3668. "oldName": "access"
  3669. },
  3670. {
  3671. "objectType": "TableField_MYSQL",
  3672. "name": "create_time",
  3673. "type": "datetime",
  3674. "length": 3,
  3675. "decimals": 0,
  3676. "isUnsigned": false,
  3677. "isZeroFill": false,
  3678. "setEnumValues": "",
  3679. "isBinary": false,
  3680. "charset": "",
  3681. "collation": "",
  3682. "isNullable": false,
  3683. "defaultType": "Others",
  3684. "defaultValue": "",
  3685. "isOnUpdateCurrentTimestamp": false,
  3686. "isAutoInc": false,
  3687. "comment": "创建时间",
  3688. "columnFormat": "",
  3689. "storage": "",
  3690. "isVirtual": false,
  3691. "isGeneratedAlways": false,
  3692. "virtualExpr": "",
  3693. "virtualType": "",
  3694. "oldName": "create_time"
  3695. },
  3696. {
  3697. "objectType": "TableField_MYSQL",
  3698. "name": "update_time",
  3699. "type": "datetime",
  3700. "length": 3,
  3701. "decimals": 0,
  3702. "isUnsigned": false,
  3703. "isZeroFill": false,
  3704. "setEnumValues": "",
  3705. "isBinary": false,
  3706. "charset": "",
  3707. "collation": "",
  3708. "isNullable": false,
  3709. "defaultType": "Others",
  3710. "defaultValue": "",
  3711. "isOnUpdateCurrentTimestamp": false,
  3712. "isAutoInc": false,
  3713. "comment": "更新时间",
  3714. "columnFormat": "",
  3715. "storage": "",
  3716. "isVirtual": false,
  3717. "isGeneratedAlways": false,
  3718. "virtualExpr": "",
  3719. "virtualType": "",
  3720. "oldName": "update_time"
  3721. },
  3722. {
  3723. "objectType": "TableField_MYSQL",
  3724. "name": "is_deleted",
  3725. "type": "tinyint",
  3726. "length": 1,
  3727. "decimals": 0,
  3728. "isUnsigned": false,
  3729. "isZeroFill": false,
  3730. "setEnumValues": "",
  3731. "isBinary": false,
  3732. "charset": "",
  3733. "collation": "",
  3734. "isNullable": false,
  3735. "defaultType": "Others",
  3736. "defaultValue": "1",
  3737. "isOnUpdateCurrentTimestamp": false,
  3738. "isAutoInc": false,
  3739. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  3740. "columnFormat": "",
  3741. "storage": "",
  3742. "isVirtual": false,
  3743. "isGeneratedAlways": false,
  3744. "virtualExpr": "",
  3745. "virtualType": "",
  3746. "oldName": "is_deleted"
  3747. }
  3748. ],
  3749. "indexes": [
  3750. {
  3751. "objectType": "Index_MYSQL",
  3752. "name": "idx_sys_role_access",
  3753. "type": "NORMAL",
  3754. "method": "BTREE",
  3755. "comment": "",
  3756. "oldName": "idx_sys_role_access",
  3757. "online": false,
  3758. "keyBlockSize": 0,
  3759. "parser": "",
  3760. "algorithm": "",
  3761. "lock": "",
  3762. "collation": "A",
  3763. "cardinality": "45",
  3764. "packed": "",
  3765. "fields": [
  3766. {
  3767. "objectType": "IndexField_MYSQL",
  3768. "name": "access",
  3769. "keyLength": 0,
  3770. "order": "",
  3771. "oldName": "access"
  3772. }
  3773. ]
  3774. }
  3775. ],
  3776. "primaryKey": {
  3777. "objectType": "PrimaryKey_MYSQL",
  3778. "name": "",
  3779. "fields": [
  3780. {
  3781. "objectType": "IndexField_MYSQL",
  3782. "name": "id",
  3783. "keyLength": 0,
  3784. "order": "",
  3785. "oldName": "id"
  3786. }
  3787. ],
  3788. "oldName": "",
  3789. "indexMethod": "BTREE",
  3790. "comment": ""
  3791. },
  3792. "foreignKeys": [
  3793. {
  3794. "objectType": "ForeignKey_MYSQL",
  3795. "name": "fk_ra_role_id",
  3796. "fields": [
  3797. "role_id"
  3798. ],
  3799. "referenceSchema": "mldong",
  3800. "referenceTable": "sys_role",
  3801. "referenceFields": [
  3802. "id"
  3803. ],
  3804. "onDelete": "",
  3805. "onUpdate": "",
  3806. "sourceCardinality": "OneAndOnlyOneRelationship",
  3807. "targetCardinality": "ZeroOrManyRelationship",
  3808. "oldName": ""
  3809. }
  3810. ],
  3811. "triggers": [],
  3812. "tablePartitions": []
  3813. },
  3814. {
  3815. "objectType": "Table_MYSQL",
  3816. "name": "sys_role_dept",
  3817. "comment": "角色部门关系表",
  3818. "engine": "InnoDB",
  3819. "characterSet": "utf8mb4",
  3820. "collation": "utf8mb4_general_ci",
  3821. "autoIncrement": 1,
  3822. "tablespace": "",
  3823. "storage": "",
  3824. "insertMethod": "",
  3825. "connection": "",
  3826. "checksum": false,
  3827. "rowFormat": "Dynamic",
  3828. "avgRowLength": 0,
  3829. "maxRows": 0,
  3830. "minRows": 0,
  3831. "keyBlockSize": 0,
  3832. "packKeys": "",
  3833. "delayKeyWrite": false,
  3834. "dataDirectory": "",
  3835. "indexDirectory": "",
  3836. "statsAutoRecalc": "",
  3837. "statsPersistent": "",
  3838. "statsSamplePages": 0,
  3839. "union": "",
  3840. "pageCheckSum": false,
  3841. "transactional": false,
  3842. "compression": "",
  3843. "oldName": "sys_role_dept",
  3844. "encryption": false,
  3845. "createOptions": "",
  3846. "createTime": "2020-12-23 19:59:51",
  3847. "checkTime": "",
  3848. "dataFree": 0,
  3849. "dataLength": 16384,
  3850. "indexLength": 0,
  3851. "maxDataLength": 0,
  3852. "rows": 0,
  3853. "updateTime": "",
  3854. "DDL": "CREATE TABLE `sys_role_dept` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `role_id` bigint(20) unsigned NOT NULL COMMENT '角色id',\n `dept_id` bigint(20) unsigned NOT NULL COMMENT '角色id',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='角色部门关系表'",
  3855. "partitionBy": "",
  3856. "partitionByExpr": "",
  3857. "partitions": 0,
  3858. "partitionKeyAlgorithm": "",
  3859. "subPartitionBy": "",
  3860. "subPartitionByExpr": "",
  3861. "subPartitions": 0,
  3862. "subPartitionKeyAlgorithm": "",
  3863. "fields": [
  3864. {
  3865. "objectType": "TableField_MYSQL",
  3866. "name": "id",
  3867. "type": "bigint",
  3868. "length": 20,
  3869. "decimals": 0,
  3870. "isUnsigned": true,
  3871. "isZeroFill": false,
  3872. "setEnumValues": "",
  3873. "isBinary": false,
  3874. "charset": "",
  3875. "collation": "",
  3876. "isNullable": false,
  3877. "defaultType": "Others",
  3878. "defaultValue": "",
  3879. "isOnUpdateCurrentTimestamp": false,
  3880. "isAutoInc": true,
  3881. "comment": "主键",
  3882. "columnFormat": "",
  3883. "storage": "",
  3884. "isVirtual": false,
  3885. "isGeneratedAlways": false,
  3886. "virtualExpr": "",
  3887. "virtualType": "",
  3888. "oldName": "id"
  3889. },
  3890. {
  3891. "objectType": "TableField_MYSQL",
  3892. "name": "role_id",
  3893. "type": "bigint",
  3894. "length": 20,
  3895. "decimals": 0,
  3896. "isUnsigned": true,
  3897. "isZeroFill": false,
  3898. "setEnumValues": "",
  3899. "isBinary": false,
  3900. "charset": "",
  3901. "collation": "",
  3902. "isNullable": false,
  3903. "defaultType": "Others",
  3904. "defaultValue": "",
  3905. "isOnUpdateCurrentTimestamp": false,
  3906. "isAutoInc": false,
  3907. "comment": "角色id",
  3908. "columnFormat": "",
  3909. "storage": "",
  3910. "isVirtual": false,
  3911. "isGeneratedAlways": false,
  3912. "virtualExpr": "",
  3913. "virtualType": "",
  3914. "oldName": "role_id"
  3915. },
  3916. {
  3917. "objectType": "TableField_MYSQL",
  3918. "name": "dept_id",
  3919. "type": "bigint",
  3920. "length": 20,
  3921. "decimals": 0,
  3922. "isUnsigned": true,
  3923. "isZeroFill": false,
  3924. "setEnumValues": "",
  3925. "isBinary": false,
  3926. "charset": "",
  3927. "collation": "",
  3928. "isNullable": false,
  3929. "defaultType": "Others",
  3930. "defaultValue": "",
  3931. "isOnUpdateCurrentTimestamp": false,
  3932. "isAutoInc": false,
  3933. "comment": "角色id",
  3934. "columnFormat": "",
  3935. "storage": "",
  3936. "isVirtual": false,
  3937. "isGeneratedAlways": false,
  3938. "virtualExpr": "",
  3939. "virtualType": "",
  3940. "oldName": "dept_id"
  3941. },
  3942. {
  3943. "objectType": "TableField_MYSQL",
  3944. "name": "create_time",
  3945. "type": "datetime",
  3946. "length": 3,
  3947. "decimals": 0,
  3948. "isUnsigned": false,
  3949. "isZeroFill": false,
  3950. "setEnumValues": "",
  3951. "isBinary": false,
  3952. "charset": "",
  3953. "collation": "",
  3954. "isNullable": false,
  3955. "defaultType": "Others",
  3956. "defaultValue": "",
  3957. "isOnUpdateCurrentTimestamp": false,
  3958. "isAutoInc": false,
  3959. "comment": "创建时间",
  3960. "columnFormat": "",
  3961. "storage": "",
  3962. "isVirtual": false,
  3963. "isGeneratedAlways": false,
  3964. "virtualExpr": "",
  3965. "virtualType": "",
  3966. "oldName": "create_time"
  3967. },
  3968. {
  3969. "objectType": "TableField_MYSQL",
  3970. "name": "update_time",
  3971. "type": "datetime",
  3972. "length": 3,
  3973. "decimals": 0,
  3974. "isUnsigned": false,
  3975. "isZeroFill": false,
  3976. "setEnumValues": "",
  3977. "isBinary": false,
  3978. "charset": "",
  3979. "collation": "",
  3980. "isNullable": false,
  3981. "defaultType": "Others",
  3982. "defaultValue": "",
  3983. "isOnUpdateCurrentTimestamp": false,
  3984. "isAutoInc": false,
  3985. "comment": "更新时间",
  3986. "columnFormat": "",
  3987. "storage": "",
  3988. "isVirtual": false,
  3989. "isGeneratedAlways": false,
  3990. "virtualExpr": "",
  3991. "virtualType": "",
  3992. "oldName": "update_time"
  3993. },
  3994. {
  3995. "objectType": "TableField_MYSQL",
  3996. "name": "is_deleted",
  3997. "type": "tinyint",
  3998. "length": 1,
  3999. "decimals": 0,
  4000. "isUnsigned": true,
  4001. "isZeroFill": false,
  4002. "setEnumValues": "",
  4003. "isBinary": false,
  4004. "charset": "",
  4005. "collation": "",
  4006. "isNullable": false,
  4007. "defaultType": "Others",
  4008. "defaultValue": "1",
  4009. "isOnUpdateCurrentTimestamp": false,
  4010. "isAutoInc": false,
  4011. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  4012. "columnFormat": "",
  4013. "storage": "",
  4014. "isVirtual": false,
  4015. "isGeneratedAlways": false,
  4016. "virtualExpr": "",
  4017. "virtualType": "",
  4018. "oldName": "is_deleted"
  4019. }
  4020. ],
  4021. "indexes": [],
  4022. "primaryKey": {
  4023. "objectType": "PrimaryKey_MYSQL",
  4024. "name": "",
  4025. "fields": [
  4026. {
  4027. "objectType": "IndexField_MYSQL",
  4028. "name": "id",
  4029. "keyLength": 0,
  4030. "order": "",
  4031. "oldName": "id"
  4032. }
  4033. ],
  4034. "oldName": "",
  4035. "indexMethod": "BTREE",
  4036. "comment": ""
  4037. },
  4038. "foreignKeys": [
  4039. {
  4040. "objectType": "ForeignKey_MYSQL",
  4041. "name": "fk_rd_role_id",
  4042. "fields": [
  4043. "role_id"
  4044. ],
  4045. "referenceSchema": "mldong",
  4046. "referenceTable": "sys_role",
  4047. "referenceFields": [
  4048. "id"
  4049. ],
  4050. "onDelete": "",
  4051. "onUpdate": "",
  4052. "sourceCardinality": "OneAndOnlyOneRelationship",
  4053. "targetCardinality": "ZeroOrManyRelationship",
  4054. "oldName": ""
  4055. },
  4056. {
  4057. "objectType": "ForeignKey_MYSQL",
  4058. "name": "fk_rd_dept_id",
  4059. "fields": [
  4060. "dept_id"
  4061. ],
  4062. "referenceSchema": "mldong",
  4063. "referenceTable": "sys_dept",
  4064. "referenceFields": [
  4065. "id"
  4066. ],
  4067. "onDelete": "",
  4068. "onUpdate": "",
  4069. "sourceCardinality": "OneAndOnlyOneRelationship",
  4070. "targetCardinality": "ZeroOrManyRelationship",
  4071. "oldName": ""
  4072. }
  4073. ],
  4074. "triggers": [],
  4075. "tablePartitions": []
  4076. },
  4077. {
  4078. "objectType": "Table_MYSQL",
  4079. "name": "sys_user_login_times",
  4080. "comment": "用户登录次数",
  4081. "engine": "InnoDB",
  4082. "characterSet": "utf8mb4",
  4083. "collation": "utf8mb4_general_ci",
  4084. "autoIncrement": 1,
  4085. "tablespace": "",
  4086. "storage": "",
  4087. "insertMethod": "",
  4088. "connection": "",
  4089. "checksum": false,
  4090. "rowFormat": "Dynamic",
  4091. "avgRowLength": 0,
  4092. "maxRows": 0,
  4093. "minRows": 0,
  4094. "keyBlockSize": 0,
  4095. "packKeys": "",
  4096. "delayKeyWrite": false,
  4097. "dataDirectory": "",
  4098. "indexDirectory": "",
  4099. "statsAutoRecalc": "",
  4100. "statsPersistent": "",
  4101. "statsSamplePages": 0,
  4102. "union": "",
  4103. "pageCheckSum": false,
  4104. "transactional": false,
  4105. "compression": "",
  4106. "oldName": "sys_user_login_times",
  4107. "encryption": false,
  4108. "createOptions": "",
  4109. "createTime": "2020-06-14 11:43:27",
  4110. "checkTime": "",
  4111. "dataFree": 0,
  4112. "dataLength": 16384,
  4113. "indexLength": 0,
  4114. "maxDataLength": 0,
  4115. "rows": 1,
  4116. "updateTime": "",
  4117. "DDL": "CREATE TABLE `sys_user_login_times` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `user_id` bigint(20) unsigned NOT NULL COMMENT '用户id',\n `login_ip` char(15) DEFAULT NULL COMMENT '登录ip',\n `times` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '登录次数',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='用户登录次数'",
  4118. "partitionBy": "",
  4119. "partitionByExpr": "",
  4120. "partitions": 0,
  4121. "partitionKeyAlgorithm": "",
  4122. "subPartitionBy": "",
  4123. "subPartitionByExpr": "",
  4124. "subPartitions": 0,
  4125. "subPartitionKeyAlgorithm": "",
  4126. "fields": [
  4127. {
  4128. "objectType": "TableField_MYSQL",
  4129. "name": "id",
  4130. "type": "bigint",
  4131. "length": 20,
  4132. "decimals": 0,
  4133. "isUnsigned": true,
  4134. "isZeroFill": false,
  4135. "setEnumValues": "",
  4136. "isBinary": false,
  4137. "charset": "",
  4138. "collation": "",
  4139. "isNullable": false,
  4140. "defaultType": "Others",
  4141. "defaultValue": "",
  4142. "isOnUpdateCurrentTimestamp": false,
  4143. "isAutoInc": true,
  4144. "comment": "主键",
  4145. "columnFormat": "",
  4146. "storage": "",
  4147. "isVirtual": false,
  4148. "isGeneratedAlways": false,
  4149. "virtualExpr": "",
  4150. "virtualType": "",
  4151. "oldName": "id"
  4152. },
  4153. {
  4154. "objectType": "TableField_MYSQL",
  4155. "name": "user_id",
  4156. "type": "bigint",
  4157. "length": 20,
  4158. "decimals": 0,
  4159. "isUnsigned": true,
  4160. "isZeroFill": false,
  4161. "setEnumValues": "",
  4162. "isBinary": false,
  4163. "charset": "",
  4164. "collation": "",
  4165. "isNullable": false,
  4166. "defaultType": "Others",
  4167. "defaultValue": "",
  4168. "isOnUpdateCurrentTimestamp": false,
  4169. "isAutoInc": false,
  4170. "comment": "用户id",
  4171. "columnFormat": "",
  4172. "storage": "",
  4173. "isVirtual": false,
  4174. "isGeneratedAlways": false,
  4175. "virtualExpr": "",
  4176. "virtualType": "",
  4177. "oldName": "user_id"
  4178. },
  4179. {
  4180. "objectType": "TableField_MYSQL",
  4181. "name": "login_ip",
  4182. "type": "char",
  4183. "length": 15,
  4184. "decimals": 0,
  4185. "isUnsigned": false,
  4186. "isZeroFill": false,
  4187. "setEnumValues": "",
  4188. "isBinary": false,
  4189. "charset": "utf8mb4",
  4190. "collation": "utf8mb4_general_ci",
  4191. "isNullable": true,
  4192. "defaultType": "Null",
  4193. "defaultValue": "",
  4194. "isOnUpdateCurrentTimestamp": false,
  4195. "isAutoInc": false,
  4196. "comment": "登录ip",
  4197. "columnFormat": "",
  4198. "storage": "",
  4199. "isVirtual": false,
  4200. "isGeneratedAlways": false,
  4201. "virtualExpr": "",
  4202. "virtualType": "",
  4203. "oldName": "login_ip"
  4204. },
  4205. {
  4206. "objectType": "TableField_MYSQL",
  4207. "name": "times",
  4208. "type": "int",
  4209. "length": 10,
  4210. "decimals": 0,
  4211. "isUnsigned": true,
  4212. "isZeroFill": false,
  4213. "setEnumValues": "",
  4214. "isBinary": false,
  4215. "charset": "",
  4216. "collation": "",
  4217. "isNullable": false,
  4218. "defaultType": "Others",
  4219. "defaultValue": "1",
  4220. "isOnUpdateCurrentTimestamp": false,
  4221. "isAutoInc": false,
  4222. "comment": "登录次数",
  4223. "columnFormat": "",
  4224. "storage": "",
  4225. "isVirtual": false,
  4226. "isGeneratedAlways": false,
  4227. "virtualExpr": "",
  4228. "virtualType": "",
  4229. "oldName": "times"
  4230. },
  4231. {
  4232. "objectType": "TableField_MYSQL",
  4233. "name": "create_time",
  4234. "type": "datetime",
  4235. "length": 3,
  4236. "decimals": 0,
  4237. "isUnsigned": false,
  4238. "isZeroFill": false,
  4239. "setEnumValues": "",
  4240. "isBinary": false,
  4241. "charset": "",
  4242. "collation": "",
  4243. "isNullable": false,
  4244. "defaultType": "Others",
  4245. "defaultValue": "",
  4246. "isOnUpdateCurrentTimestamp": false,
  4247. "isAutoInc": false,
  4248. "comment": "创建时间",
  4249. "columnFormat": "",
  4250. "storage": "",
  4251. "isVirtual": false,
  4252. "isGeneratedAlways": false,
  4253. "virtualExpr": "",
  4254. "virtualType": "",
  4255. "oldName": "create_time"
  4256. },
  4257. {
  4258. "objectType": "TableField_MYSQL",
  4259. "name": "update_time",
  4260. "type": "datetime",
  4261. "length": 3,
  4262. "decimals": 0,
  4263. "isUnsigned": false,
  4264. "isZeroFill": false,
  4265. "setEnumValues": "",
  4266. "isBinary": false,
  4267. "charset": "",
  4268. "collation": "",
  4269. "isNullable": false,
  4270. "defaultType": "Others",
  4271. "defaultValue": "",
  4272. "isOnUpdateCurrentTimestamp": false,
  4273. "isAutoInc": false,
  4274. "comment": "更新时间",
  4275. "columnFormat": "",
  4276. "storage": "",
  4277. "isVirtual": false,
  4278. "isGeneratedAlways": false,
  4279. "virtualExpr": "",
  4280. "virtualType": "",
  4281. "oldName": "update_time"
  4282. },
  4283. {
  4284. "objectType": "TableField_MYSQL",
  4285. "name": "is_deleted",
  4286. "type": "tinyint",
  4287. "length": 1,
  4288. "decimals": 0,
  4289. "isUnsigned": true,
  4290. "isZeroFill": false,
  4291. "setEnumValues": "",
  4292. "isBinary": false,
  4293. "charset": "",
  4294. "collation": "",
  4295. "isNullable": false,
  4296. "defaultType": "Others",
  4297. "defaultValue": "1",
  4298. "isOnUpdateCurrentTimestamp": false,
  4299. "isAutoInc": false,
  4300. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  4301. "columnFormat": "",
  4302. "storage": "",
  4303. "isVirtual": false,
  4304. "isGeneratedAlways": false,
  4305. "virtualExpr": "",
  4306. "virtualType": "",
  4307. "oldName": "is_deleted"
  4308. }
  4309. ],
  4310. "indexes": [],
  4311. "primaryKey": {
  4312. "objectType": "PrimaryKey_MYSQL",
  4313. "name": "",
  4314. "fields": [
  4315. {
  4316. "objectType": "IndexField_MYSQL",
  4317. "name": "id",
  4318. "keyLength": 0,
  4319. "order": "",
  4320. "oldName": "id"
  4321. }
  4322. ],
  4323. "oldName": "",
  4324. "indexMethod": "BTREE",
  4325. "comment": ""
  4326. },
  4327. "foreignKeys": [
  4328. {
  4329. "objectType": "ForeignKey_MYSQL",
  4330. "name": "fk_ult_user_id",
  4331. "fields": [
  4332. "user_id"
  4333. ],
  4334. "referenceSchema": "mldong",
  4335. "referenceTable": "sys_user",
  4336. "referenceFields": [
  4337. "id"
  4338. ],
  4339. "onDelete": "",
  4340. "onUpdate": "",
  4341. "sourceCardinality": "ZeroOrManyRelationship",
  4342. "targetCardinality": "OneAndOnlyOneRelationship",
  4343. "oldName": ""
  4344. }
  4345. ],
  4346. "triggers": [],
  4347. "tablePartitions": []
  4348. },
  4349. {
  4350. "objectType": "Table_MYSQL",
  4351. "name": "sys_request_log",
  4352. "comment": "请求日志",
  4353. "engine": "InnoDB",
  4354. "characterSet": "utf8mb4",
  4355. "collation": "utf8mb4_general_ci",
  4356. "autoIncrement": 1004,
  4357. "tablespace": "",
  4358. "storage": "",
  4359. "insertMethod": "",
  4360. "connection": "",
  4361. "checksum": false,
  4362. "rowFormat": "Dynamic",
  4363. "avgRowLength": 0,
  4364. "maxRows": 0,
  4365. "minRows": 0,
  4366. "keyBlockSize": 0,
  4367. "packKeys": "",
  4368. "delayKeyWrite": false,
  4369. "dataDirectory": "",
  4370. "indexDirectory": "",
  4371. "statsAutoRecalc": "",
  4372. "statsPersistent": "",
  4373. "statsSamplePages": 0,
  4374. "union": "",
  4375. "pageCheckSum": false,
  4376. "transactional": false,
  4377. "compression": "",
  4378. "oldName": "sys_request_log",
  4379. "encryption": false,
  4380. "createOptions": "",
  4381. "createTime": "2020-09-06 20:13:17",
  4382. "checkTime": "",
  4383. "dataFree": 4194304,
  4384. "dataLength": 3686400,
  4385. "indexLength": 0,
  4386. "maxDataLength": 0,
  4387. "rows": 642,
  4388. "updateTime": "2021-02-03 08:43:14",
  4389. "DDL": "CREATE TABLE `sys_request_log` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `track_id` char(40) DEFAULT NULL COMMENT '请求唯一标识',\n `request_type` int(10) unsigned DEFAULT '99' COMMENT '请求类型(10->添加|SAVE,20->修改|UPDATE,30->删除|REMOVE,40->导入|IMPORT,50->导出|EXPORT,99->其他|OTHER)',\n `uri` varchar(64) DEFAULT NULL COMMENT '请求路径',\n `query_string` varchar(255) DEFAULT NULL COMMENT '请求url参数',\n `method` char(8) DEFAULT NULL COMMENT '请求方式',\n `description` varchar(64) DEFAULT NULL COMMENT '操作说明',\n `ip` varchar(16) DEFAULT NULL COMMENT '客户端ip',\n `body` text COMMENT '请求体',\n `token` varchar(255) DEFAULT NULL COMMENT '请求token',\n `user_id` bigint(20) DEFAULT NULL COMMENT '用户id',\n `user_name` varchar(64) DEFAULT NULL COMMENT '用户名',\n `return_data` longtext COMMENT '返回参数',\n `start_time` datetime(3) DEFAULT NULL COMMENT '开始时间',\n `end_time` datetime(3) DEFAULT NULL COMMENT '结束时间',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=1004 DEFAULT CHARSET=utf8mb4 COMMENT='请求日志'",
  4390. "partitionBy": "",
  4391. "partitionByExpr": "",
  4392. "partitions": 0,
  4393. "partitionKeyAlgorithm": "",
  4394. "subPartitionBy": "",
  4395. "subPartitionByExpr": "",
  4396. "subPartitions": 0,
  4397. "subPartitionKeyAlgorithm": "",
  4398. "fields": [
  4399. {
  4400. "objectType": "TableField_MYSQL",
  4401. "name": "id",
  4402. "type": "bigint",
  4403. "length": 20,
  4404. "decimals": 0,
  4405. "isUnsigned": true,
  4406. "isZeroFill": false,
  4407. "setEnumValues": "",
  4408. "isBinary": false,
  4409. "charset": "",
  4410. "collation": "",
  4411. "isNullable": false,
  4412. "defaultType": "Others",
  4413. "defaultValue": "",
  4414. "isOnUpdateCurrentTimestamp": false,
  4415. "isAutoInc": true,
  4416. "comment": "主键",
  4417. "columnFormat": "",
  4418. "storage": "",
  4419. "isVirtual": false,
  4420. "isGeneratedAlways": false,
  4421. "virtualExpr": "",
  4422. "virtualType": "",
  4423. "oldName": "id"
  4424. },
  4425. {
  4426. "objectType": "TableField_MYSQL",
  4427. "name": "track_id",
  4428. "type": "char",
  4429. "length": 40,
  4430. "decimals": 0,
  4431. "isUnsigned": false,
  4432. "isZeroFill": false,
  4433. "setEnumValues": "",
  4434. "isBinary": false,
  4435. "charset": "utf8mb4",
  4436. "collation": "utf8mb4_general_ci",
  4437. "isNullable": true,
  4438. "defaultType": "Null",
  4439. "defaultValue": "",
  4440. "isOnUpdateCurrentTimestamp": false,
  4441. "isAutoInc": false,
  4442. "comment": "请求唯一标识",
  4443. "columnFormat": "",
  4444. "storage": "",
  4445. "isVirtual": false,
  4446. "isGeneratedAlways": false,
  4447. "virtualExpr": "",
  4448. "virtualType": "",
  4449. "oldName": "track_id"
  4450. },
  4451. {
  4452. "objectType": "TableField_MYSQL",
  4453. "name": "request_type",
  4454. "type": "int",
  4455. "length": 10,
  4456. "decimals": 0,
  4457. "isUnsigned": true,
  4458. "isZeroFill": false,
  4459. "setEnumValues": "",
  4460. "isBinary": false,
  4461. "charset": "",
  4462. "collation": "",
  4463. "isNullable": true,
  4464. "defaultType": "Others",
  4465. "defaultValue": "99",
  4466. "isOnUpdateCurrentTimestamp": false,
  4467. "isAutoInc": false,
  4468. "comment": "请求类型(10->添加|SAVE,20->修改|UPDATE,30->删除|REMOVE,40->导入|IMPORT,50->导出|EXPORT,99->其他|OTHER)",
  4469. "columnFormat": "",
  4470. "storage": "",
  4471. "isVirtual": false,
  4472. "isGeneratedAlways": false,
  4473. "virtualExpr": "",
  4474. "virtualType": "",
  4475. "oldName": "request_type"
  4476. },
  4477. {
  4478. "objectType": "TableField_MYSQL",
  4479. "name": "uri",
  4480. "type": "varchar",
  4481. "length": 64,
  4482. "decimals": 0,
  4483. "isUnsigned": false,
  4484. "isZeroFill": false,
  4485. "setEnumValues": "",
  4486. "isBinary": false,
  4487. "charset": "utf8mb4",
  4488. "collation": "utf8mb4_general_ci",
  4489. "isNullable": true,
  4490. "defaultType": "Null",
  4491. "defaultValue": "",
  4492. "isOnUpdateCurrentTimestamp": false,
  4493. "isAutoInc": false,
  4494. "comment": "请求路径",
  4495. "columnFormat": "",
  4496. "storage": "",
  4497. "isVirtual": false,
  4498. "isGeneratedAlways": false,
  4499. "virtualExpr": "",
  4500. "virtualType": "",
  4501. "oldName": "uri"
  4502. },
  4503. {
  4504. "objectType": "TableField_MYSQL",
  4505. "name": "query_string",
  4506. "type": "varchar",
  4507. "length": 255,
  4508. "decimals": 0,
  4509. "isUnsigned": false,
  4510. "isZeroFill": false,
  4511. "setEnumValues": "",
  4512. "isBinary": false,
  4513. "charset": "utf8mb4",
  4514. "collation": "utf8mb4_general_ci",
  4515. "isNullable": true,
  4516. "defaultType": "Null",
  4517. "defaultValue": "",
  4518. "isOnUpdateCurrentTimestamp": false,
  4519. "isAutoInc": false,
  4520. "comment": "请求url参数",
  4521. "columnFormat": "",
  4522. "storage": "",
  4523. "isVirtual": false,
  4524. "isGeneratedAlways": false,
  4525. "virtualExpr": "",
  4526. "virtualType": "",
  4527. "oldName": "query_string"
  4528. },
  4529. {
  4530. "objectType": "TableField_MYSQL",
  4531. "name": "method",
  4532. "type": "char",
  4533. "length": 8,
  4534. "decimals": 0,
  4535. "isUnsigned": false,
  4536. "isZeroFill": false,
  4537. "setEnumValues": "",
  4538. "isBinary": false,
  4539. "charset": "utf8mb4",
  4540. "collation": "utf8mb4_general_ci",
  4541. "isNullable": true,
  4542. "defaultType": "Null",
  4543. "defaultValue": "",
  4544. "isOnUpdateCurrentTimestamp": false,
  4545. "isAutoInc": false,
  4546. "comment": "请求方式",
  4547. "columnFormat": "",
  4548. "storage": "",
  4549. "isVirtual": false,
  4550. "isGeneratedAlways": false,
  4551. "virtualExpr": "",
  4552. "virtualType": "",
  4553. "oldName": "method"
  4554. },
  4555. {
  4556. "objectType": "TableField_MYSQL",
  4557. "name": "description",
  4558. "type": "varchar",
  4559. "length": 64,
  4560. "decimals": 0,
  4561. "isUnsigned": false,
  4562. "isZeroFill": false,
  4563. "setEnumValues": "",
  4564. "isBinary": false,
  4565. "charset": "utf8mb4",
  4566. "collation": "utf8mb4_general_ci",
  4567. "isNullable": true,
  4568. "defaultType": "Null",
  4569. "defaultValue": "",
  4570. "isOnUpdateCurrentTimestamp": false,
  4571. "isAutoInc": false,
  4572. "comment": "操作说明",
  4573. "columnFormat": "",
  4574. "storage": "",
  4575. "isVirtual": false,
  4576. "isGeneratedAlways": false,
  4577. "virtualExpr": "",
  4578. "virtualType": "",
  4579. "oldName": "description"
  4580. },
  4581. {
  4582. "objectType": "TableField_MYSQL",
  4583. "name": "ip",
  4584. "type": "varchar",
  4585. "length": 16,
  4586. "decimals": 0,
  4587. "isUnsigned": false,
  4588. "isZeroFill": false,
  4589. "setEnumValues": "",
  4590. "isBinary": false,
  4591. "charset": "utf8mb4",
  4592. "collation": "utf8mb4_general_ci",
  4593. "isNullable": true,
  4594. "defaultType": "Null",
  4595. "defaultValue": "",
  4596. "isOnUpdateCurrentTimestamp": false,
  4597. "isAutoInc": false,
  4598. "comment": "客户端ip",
  4599. "columnFormat": "",
  4600. "storage": "",
  4601. "isVirtual": false,
  4602. "isGeneratedAlways": false,
  4603. "virtualExpr": "",
  4604. "virtualType": "",
  4605. "oldName": "ip"
  4606. },
  4607. {
  4608. "objectType": "TableField_MYSQL",
  4609. "name": "body",
  4610. "type": "text",
  4611. "length": 0,
  4612. "decimals": 0,
  4613. "isUnsigned": false,
  4614. "isZeroFill": false,
  4615. "setEnumValues": "",
  4616. "isBinary": false,
  4617. "charset": "utf8mb4",
  4618. "collation": "utf8mb4_general_ci",
  4619. "isNullable": true,
  4620. "defaultType": "Null",
  4621. "defaultValue": "",
  4622. "isOnUpdateCurrentTimestamp": false,
  4623. "isAutoInc": false,
  4624. "comment": "请求体",
  4625. "columnFormat": "",
  4626. "storage": "",
  4627. "isVirtual": false,
  4628. "isGeneratedAlways": false,
  4629. "virtualExpr": "",
  4630. "virtualType": "",
  4631. "oldName": "body"
  4632. },
  4633. {
  4634. "objectType": "TableField_MYSQL",
  4635. "name": "token",
  4636. "type": "varchar",
  4637. "length": 255,
  4638. "decimals": 0,
  4639. "isUnsigned": false,
  4640. "isZeroFill": false,
  4641. "setEnumValues": "",
  4642. "isBinary": false,
  4643. "charset": "utf8mb4",
  4644. "collation": "utf8mb4_general_ci",
  4645. "isNullable": true,
  4646. "defaultType": "Null",
  4647. "defaultValue": "",
  4648. "isOnUpdateCurrentTimestamp": false,
  4649. "isAutoInc": false,
  4650. "comment": "请求token",
  4651. "columnFormat": "",
  4652. "storage": "",
  4653. "isVirtual": false,
  4654. "isGeneratedAlways": false,
  4655. "virtualExpr": "",
  4656. "virtualType": "",
  4657. "oldName": "token"
  4658. },
  4659. {
  4660. "objectType": "TableField_MYSQL",
  4661. "name": "user_id",
  4662. "type": "bigint",
  4663. "length": 20,
  4664. "decimals": 0,
  4665. "isUnsigned": false,
  4666. "isZeroFill": false,
  4667. "setEnumValues": "",
  4668. "isBinary": false,
  4669. "charset": "",
  4670. "collation": "",
  4671. "isNullable": true,
  4672. "defaultType": "Null",
  4673. "defaultValue": "",
  4674. "isOnUpdateCurrentTimestamp": false,
  4675. "isAutoInc": false,
  4676. "comment": "用户id",
  4677. "columnFormat": "",
  4678. "storage": "",
  4679. "isVirtual": false,
  4680. "isGeneratedAlways": false,
  4681. "virtualExpr": "",
  4682. "virtualType": "",
  4683. "oldName": "user_id"
  4684. },
  4685. {
  4686. "objectType": "TableField_MYSQL",
  4687. "name": "user_name",
  4688. "type": "varchar",
  4689. "length": 64,
  4690. "decimals": 0,
  4691. "isUnsigned": false,
  4692. "isZeroFill": false,
  4693. "setEnumValues": "",
  4694. "isBinary": false,
  4695. "charset": "utf8mb4",
  4696. "collation": "utf8mb4_general_ci",
  4697. "isNullable": true,
  4698. "defaultType": "Null",
  4699. "defaultValue": "",
  4700. "isOnUpdateCurrentTimestamp": false,
  4701. "isAutoInc": false,
  4702. "comment": "用户名",
  4703. "columnFormat": "",
  4704. "storage": "",
  4705. "isVirtual": false,
  4706. "isGeneratedAlways": false,
  4707. "virtualExpr": "",
  4708. "virtualType": "",
  4709. "oldName": "user_name"
  4710. },
  4711. {
  4712. "objectType": "TableField_MYSQL",
  4713. "name": "return_data",
  4714. "type": "longtext",
  4715. "length": 0,
  4716. "decimals": 0,
  4717. "isUnsigned": false,
  4718. "isZeroFill": false,
  4719. "setEnumValues": "",
  4720. "isBinary": false,
  4721. "charset": "utf8mb4",
  4722. "collation": "utf8mb4_general_ci",
  4723. "isNullable": true,
  4724. "defaultType": "Null",
  4725. "defaultValue": "",
  4726. "isOnUpdateCurrentTimestamp": false,
  4727. "isAutoInc": false,
  4728. "comment": "返回参数",
  4729. "columnFormat": "",
  4730. "storage": "",
  4731. "isVirtual": false,
  4732. "isGeneratedAlways": false,
  4733. "virtualExpr": "",
  4734. "virtualType": "",
  4735. "oldName": "return_data"
  4736. },
  4737. {
  4738. "objectType": "TableField_MYSQL",
  4739. "name": "start_time",
  4740. "type": "datetime",
  4741. "length": 3,
  4742. "decimals": 0,
  4743. "isUnsigned": false,
  4744. "isZeroFill": false,
  4745. "setEnumValues": "",
  4746. "isBinary": false,
  4747. "charset": "",
  4748. "collation": "",
  4749. "isNullable": true,
  4750. "defaultType": "Null",
  4751. "defaultValue": "",
  4752. "isOnUpdateCurrentTimestamp": false,
  4753. "isAutoInc": false,
  4754. "comment": "开始时间",
  4755. "columnFormat": "",
  4756. "storage": "",
  4757. "isVirtual": false,
  4758. "isGeneratedAlways": false,
  4759. "virtualExpr": "",
  4760. "virtualType": "",
  4761. "oldName": "start_time"
  4762. },
  4763. {
  4764. "objectType": "TableField_MYSQL",
  4765. "name": "end_time",
  4766. "type": "datetime",
  4767. "length": 3,
  4768. "decimals": 0,
  4769. "isUnsigned": false,
  4770. "isZeroFill": false,
  4771. "setEnumValues": "",
  4772. "isBinary": false,
  4773. "charset": "",
  4774. "collation": "",
  4775. "isNullable": true,
  4776. "defaultType": "Null",
  4777. "defaultValue": "",
  4778. "isOnUpdateCurrentTimestamp": false,
  4779. "isAutoInc": false,
  4780. "comment": "结束时间",
  4781. "columnFormat": "",
  4782. "storage": "",
  4783. "isVirtual": false,
  4784. "isGeneratedAlways": false,
  4785. "virtualExpr": "",
  4786. "virtualType": "",
  4787. "oldName": "end_time"
  4788. },
  4789. {
  4790. "objectType": "TableField_MYSQL",
  4791. "name": "create_time",
  4792. "type": "datetime",
  4793. "length": 3,
  4794. "decimals": 0,
  4795. "isUnsigned": false,
  4796. "isZeroFill": false,
  4797. "setEnumValues": "",
  4798. "isBinary": false,
  4799. "charset": "",
  4800. "collation": "",
  4801. "isNullable": true,
  4802. "defaultType": "Null",
  4803. "defaultValue": "",
  4804. "isOnUpdateCurrentTimestamp": false,
  4805. "isAutoInc": false,
  4806. "comment": "创建时间",
  4807. "columnFormat": "",
  4808. "storage": "",
  4809. "isVirtual": false,
  4810. "isGeneratedAlways": false,
  4811. "virtualExpr": "",
  4812. "virtualType": "",
  4813. "oldName": "create_time"
  4814. },
  4815. {
  4816. "objectType": "TableField_MYSQL",
  4817. "name": "update_time",
  4818. "type": "datetime",
  4819. "length": 3,
  4820. "decimals": 0,
  4821. "isUnsigned": false,
  4822. "isZeroFill": false,
  4823. "setEnumValues": "",
  4824. "isBinary": false,
  4825. "charset": "",
  4826. "collation": "",
  4827. "isNullable": true,
  4828. "defaultType": "Null",
  4829. "defaultValue": "",
  4830. "isOnUpdateCurrentTimestamp": false,
  4831. "isAutoInc": false,
  4832. "comment": "更新时间",
  4833. "columnFormat": "",
  4834. "storage": "",
  4835. "isVirtual": false,
  4836. "isGeneratedAlways": false,
  4837. "virtualExpr": "",
  4838. "virtualType": "",
  4839. "oldName": "update_time"
  4840. },
  4841. {
  4842. "objectType": "TableField_MYSQL",
  4843. "name": "is_deleted",
  4844. "type": "tinyint",
  4845. "length": 1,
  4846. "decimals": 0,
  4847. "isUnsigned": true,
  4848. "isZeroFill": false,
  4849. "setEnumValues": "",
  4850. "isBinary": false,
  4851. "charset": "",
  4852. "collation": "",
  4853. "isNullable": true,
  4854. "defaultType": "Others",
  4855. "defaultValue": "1",
  4856. "isOnUpdateCurrentTimestamp": false,
  4857. "isAutoInc": false,
  4858. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  4859. "columnFormat": "",
  4860. "storage": "",
  4861. "isVirtual": false,
  4862. "isGeneratedAlways": false,
  4863. "virtualExpr": "",
  4864. "virtualType": "",
  4865. "oldName": "is_deleted"
  4866. }
  4867. ],
  4868. "indexes": [],
  4869. "primaryKey": {
  4870. "objectType": "PrimaryKey_MYSQL",
  4871. "name": "",
  4872. "fields": [
  4873. {
  4874. "objectType": "IndexField_MYSQL",
  4875. "name": "id",
  4876. "keyLength": 0,
  4877. "order": "",
  4878. "oldName": "id"
  4879. }
  4880. ],
  4881. "oldName": "",
  4882. "indexMethod": "BTREE",
  4883. "comment": ""
  4884. },
  4885. "foreignKeys": [
  4886. {
  4887. "objectType": "ForeignKey_MYSQL",
  4888. "name": "fk_url_user_id",
  4889. "fields": [
  4890. "user_id"
  4891. ],
  4892. "referenceSchema": "mldong",
  4893. "referenceTable": "sys_user",
  4894. "referenceFields": [
  4895. "id"
  4896. ],
  4897. "onDelete": "",
  4898. "onUpdate": "",
  4899. "sourceCardinality": "ZeroOrManyRelationship",
  4900. "targetCardinality": "OneAndOnlyOneRelationship",
  4901. "oldName": ""
  4902. }
  4903. ],
  4904. "triggers": [],
  4905. "tablePartitions": []
  4906. },
  4907. {
  4908. "objectType": "Table_MYSQL",
  4909. "name": "cms_article",
  4910. "comment": "",
  4911. "engine": "InnoDB",
  4912. "characterSet": "utf8mb4",
  4913. "collation": "utf8mb4_general_ci",
  4914. "autoIncrement": 4,
  4915. "tablespace": "",
  4916. "storage": "",
  4917. "insertMethod": "",
  4918. "connection": "",
  4919. "checksum": false,
  4920. "rowFormat": "Dynamic",
  4921. "avgRowLength": 0,
  4922. "maxRows": 0,
  4923. "minRows": 0,
  4924. "keyBlockSize": 0,
  4925. "packKeys": "",
  4926. "delayKeyWrite": false,
  4927. "dataDirectory": "",
  4928. "indexDirectory": "",
  4929. "statsAutoRecalc": "",
  4930. "statsPersistent": "",
  4931. "statsSamplePages": 0,
  4932. "union": "",
  4933. "pageCheckSum": false,
  4934. "transactional": false,
  4935. "compression": "",
  4936. "oldName": "cms_article",
  4937. "encryption": false,
  4938. "createOptions": "row_format=DYNAMIC",
  4939. "createTime": "2021-01-05 09:00:09",
  4940. "checkTime": "",
  4941. "dataFree": 0,
  4942. "dataLength": 16384,
  4943. "indexLength": 0,
  4944. "maxDataLength": 0,
  4945. "rows": 3,
  4946. "updateTime": "",
  4947. "DDL": "CREATE TABLE `cms_article` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `category_id` bigint(20) unsigned DEFAULT NULL COMMENT '栏目id',\n `title` varchar(120) NOT NULL COMMENT '标题',\n `description` varchar(255) DEFAULT NULL COMMENT '描述',\n `cover` varchar(255) DEFAULT NULL COMMENT '大图',\n `author` varchar(30) DEFAULT NULL COMMENT '作者',\n `source` varchar(64) DEFAULT NULL COMMENT '文章来源',\n `sort` double(10,2) unsigned DEFAULT '10.00' COMMENT '排序',\n `publish_time` datetime(3) DEFAULT NULL COMMENT '发布时间',\n `is_publish` tinyint(1) DEFAULT NULL COMMENT '是否发布(1->否|NO,2->是|YES)',\n `content` mediumtext COMMENT '文本内容',\n `ext_form_value` text COMMENT '扩展信息',\n `dept_id` bigint(20) unsigned DEFAULT NULL COMMENT '所属部门',\n `user_id` bigint(20) unsigned DEFAULT NULL COMMENT '所属用户',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC",
  4948. "partitionBy": "",
  4949. "partitionByExpr": "",
  4950. "partitions": 0,
  4951. "partitionKeyAlgorithm": "",
  4952. "subPartitionBy": "",
  4953. "subPartitionByExpr": "",
  4954. "subPartitions": 0,
  4955. "subPartitionKeyAlgorithm": "",
  4956. "fields": [
  4957. {
  4958. "objectType": "TableField_MYSQL",
  4959. "name": "id",
  4960. "type": "bigint",
  4961. "length": 20,
  4962. "decimals": 0,
  4963. "isUnsigned": true,
  4964. "isZeroFill": false,
  4965. "setEnumValues": "",
  4966. "isBinary": false,
  4967. "charset": "",
  4968. "collation": "",
  4969. "isNullable": false,
  4970. "defaultType": "Others",
  4971. "defaultValue": "",
  4972. "isOnUpdateCurrentTimestamp": false,
  4973. "isAutoInc": true,
  4974. "comment": "主键",
  4975. "columnFormat": "",
  4976. "storage": "",
  4977. "isVirtual": false,
  4978. "isGeneratedAlways": false,
  4979. "virtualExpr": "",
  4980. "virtualType": "",
  4981. "oldName": "id"
  4982. },
  4983. {
  4984. "objectType": "TableField_MYSQL",
  4985. "name": "category_id",
  4986. "type": "bigint",
  4987. "length": 20,
  4988. "decimals": 0,
  4989. "isUnsigned": true,
  4990. "isZeroFill": false,
  4991. "setEnumValues": "",
  4992. "isBinary": false,
  4993. "charset": "",
  4994. "collation": "",
  4995. "isNullable": true,
  4996. "defaultType": "Null",
  4997. "defaultValue": "",
  4998. "isOnUpdateCurrentTimestamp": false,
  4999. "isAutoInc": false,
  5000. "comment": "栏目id",
  5001. "columnFormat": "",
  5002. "storage": "",
  5003. "isVirtual": false,
  5004. "isGeneratedAlways": false,
  5005. "virtualExpr": "",
  5006. "virtualType": "",
  5007. "oldName": "category_id"
  5008. },
  5009. {
  5010. "objectType": "TableField_MYSQL",
  5011. "name": "title",
  5012. "type": "varchar",
  5013. "length": 120,
  5014. "decimals": 0,
  5015. "isUnsigned": false,
  5016. "isZeroFill": false,
  5017. "setEnumValues": "",
  5018. "isBinary": false,
  5019. "charset": "utf8mb4",
  5020. "collation": "utf8mb4_general_ci",
  5021. "isNullable": false,
  5022. "defaultType": "Others",
  5023. "defaultValue": "",
  5024. "isOnUpdateCurrentTimestamp": false,
  5025. "isAutoInc": false,
  5026. "comment": "标题",
  5027. "columnFormat": "",
  5028. "storage": "",
  5029. "isVirtual": false,
  5030. "isGeneratedAlways": false,
  5031. "virtualExpr": "",
  5032. "virtualType": "",
  5033. "oldName": "title"
  5034. },
  5035. {
  5036. "objectType": "TableField_MYSQL",
  5037. "name": "description",
  5038. "type": "varchar",
  5039. "length": 255,
  5040. "decimals": 0,
  5041. "isUnsigned": false,
  5042. "isZeroFill": false,
  5043. "setEnumValues": "",
  5044. "isBinary": false,
  5045. "charset": "utf8mb4",
  5046. "collation": "utf8mb4_general_ci",
  5047. "isNullable": true,
  5048. "defaultType": "Null",
  5049. "defaultValue": "",
  5050. "isOnUpdateCurrentTimestamp": false,
  5051. "isAutoInc": false,
  5052. "comment": "描述",
  5053. "columnFormat": "",
  5054. "storage": "",
  5055. "isVirtual": false,
  5056. "isGeneratedAlways": false,
  5057. "virtualExpr": "",
  5058. "virtualType": "",
  5059. "oldName": "description"
  5060. },
  5061. {
  5062. "objectType": "TableField_MYSQL",
  5063. "name": "cover",
  5064. "type": "varchar",
  5065. "length": 255,
  5066. "decimals": 0,
  5067. "isUnsigned": false,
  5068. "isZeroFill": false,
  5069. "setEnumValues": "",
  5070. "isBinary": false,
  5071. "charset": "utf8mb4",
  5072. "collation": "utf8mb4_general_ci",
  5073. "isNullable": true,
  5074. "defaultType": "Null",
  5075. "defaultValue": "",
  5076. "isOnUpdateCurrentTimestamp": false,
  5077. "isAutoInc": false,
  5078. "comment": "大图",
  5079. "columnFormat": "",
  5080. "storage": "",
  5081. "isVirtual": false,
  5082. "isGeneratedAlways": false,
  5083. "virtualExpr": "",
  5084. "virtualType": "",
  5085. "oldName": "cover"
  5086. },
  5087. {
  5088. "objectType": "TableField_MYSQL",
  5089. "name": "author",
  5090. "type": "varchar",
  5091. "length": 30,
  5092. "decimals": 0,
  5093. "isUnsigned": false,
  5094. "isZeroFill": false,
  5095. "setEnumValues": "",
  5096. "isBinary": false,
  5097. "charset": "utf8mb4",
  5098. "collation": "utf8mb4_general_ci",
  5099. "isNullable": true,
  5100. "defaultType": "Null",
  5101. "defaultValue": "",
  5102. "isOnUpdateCurrentTimestamp": false,
  5103. "isAutoInc": false,
  5104. "comment": "作者",
  5105. "columnFormat": "",
  5106. "storage": "",
  5107. "isVirtual": false,
  5108. "isGeneratedAlways": false,
  5109. "virtualExpr": "",
  5110. "virtualType": "",
  5111. "oldName": "author"
  5112. },
  5113. {
  5114. "objectType": "TableField_MYSQL",
  5115. "name": "source",
  5116. "type": "varchar",
  5117. "length": 64,
  5118. "decimals": 0,
  5119. "isUnsigned": false,
  5120. "isZeroFill": false,
  5121. "setEnumValues": "",
  5122. "isBinary": false,
  5123. "charset": "utf8mb4",
  5124. "collation": "utf8mb4_general_ci",
  5125. "isNullable": true,
  5126. "defaultType": "Null",
  5127. "defaultValue": "",
  5128. "isOnUpdateCurrentTimestamp": false,
  5129. "isAutoInc": false,
  5130. "comment": "文章来源",
  5131. "columnFormat": "",
  5132. "storage": "",
  5133. "isVirtual": false,
  5134. "isGeneratedAlways": false,
  5135. "virtualExpr": "",
  5136. "virtualType": "",
  5137. "oldName": "source"
  5138. },
  5139. {
  5140. "objectType": "TableField_MYSQL",
  5141. "name": "sort",
  5142. "type": "double",
  5143. "length": 10,
  5144. "decimals": 2,
  5145. "isUnsigned": true,
  5146. "isZeroFill": false,
  5147. "setEnumValues": "",
  5148. "isBinary": false,
  5149. "charset": "",
  5150. "collation": "",
  5151. "isNullable": true,
  5152. "defaultType": "Others",
  5153. "defaultValue": "10.00",
  5154. "isOnUpdateCurrentTimestamp": false,
  5155. "isAutoInc": false,
  5156. "comment": "排序",
  5157. "columnFormat": "",
  5158. "storage": "",
  5159. "isVirtual": false,
  5160. "isGeneratedAlways": false,
  5161. "virtualExpr": "",
  5162. "virtualType": "",
  5163. "oldName": "sort"
  5164. },
  5165. {
  5166. "objectType": "TableField_MYSQL",
  5167. "name": "publish_time",
  5168. "type": "datetime",
  5169. "length": 3,
  5170. "decimals": 0,
  5171. "isUnsigned": false,
  5172. "isZeroFill": false,
  5173. "setEnumValues": "",
  5174. "isBinary": false,
  5175. "charset": "",
  5176. "collation": "",
  5177. "isNullable": true,
  5178. "defaultType": "Null",
  5179. "defaultValue": "",
  5180. "isOnUpdateCurrentTimestamp": false,
  5181. "isAutoInc": false,
  5182. "comment": "发布时间",
  5183. "columnFormat": "",
  5184. "storage": "",
  5185. "isVirtual": false,
  5186. "isGeneratedAlways": false,
  5187. "virtualExpr": "",
  5188. "virtualType": "",
  5189. "oldName": "publish_time"
  5190. },
  5191. {
  5192. "objectType": "TableField_MYSQL",
  5193. "name": "is_publish",
  5194. "type": "tinyint",
  5195. "length": 1,
  5196. "decimals": 0,
  5197. "isUnsigned": false,
  5198. "isZeroFill": false,
  5199. "setEnumValues": "",
  5200. "isBinary": false,
  5201. "charset": "",
  5202. "collation": "",
  5203. "isNullable": true,
  5204. "defaultType": "Null",
  5205. "defaultValue": "",
  5206. "isOnUpdateCurrentTimestamp": false,
  5207. "isAutoInc": false,
  5208. "comment": "是否发布(1->否|NO,2->是|YES)",
  5209. "columnFormat": "",
  5210. "storage": "",
  5211. "isVirtual": false,
  5212. "isGeneratedAlways": false,
  5213. "virtualExpr": "",
  5214. "virtualType": "",
  5215. "oldName": "is_publish"
  5216. },
  5217. {
  5218. "objectType": "TableField_MYSQL",
  5219. "name": "content",
  5220. "type": "mediumtext",
  5221. "length": 0,
  5222. "decimals": 0,
  5223. "isUnsigned": false,
  5224. "isZeroFill": false,
  5225. "setEnumValues": "",
  5226. "isBinary": false,
  5227. "charset": "utf8mb4",
  5228. "collation": "utf8mb4_general_ci",
  5229. "isNullable": true,
  5230. "defaultType": "Null",
  5231. "defaultValue": "",
  5232. "isOnUpdateCurrentTimestamp": false,
  5233. "isAutoInc": false,
  5234. "comment": "文本内容",
  5235. "columnFormat": "",
  5236. "storage": "",
  5237. "isVirtual": false,
  5238. "isGeneratedAlways": false,
  5239. "virtualExpr": "",
  5240. "virtualType": "",
  5241. "oldName": "content"
  5242. },
  5243. {
  5244. "objectType": "TableField_MYSQL",
  5245. "name": "ext_form_value",
  5246. "type": "text",
  5247. "length": 0,
  5248. "decimals": 0,
  5249. "isUnsigned": false,
  5250. "isZeroFill": false,
  5251. "setEnumValues": "",
  5252. "isBinary": false,
  5253. "charset": "utf8mb4",
  5254. "collation": "utf8mb4_general_ci",
  5255. "isNullable": true,
  5256. "defaultType": "Null",
  5257. "defaultValue": "",
  5258. "isOnUpdateCurrentTimestamp": false,
  5259. "isAutoInc": false,
  5260. "comment": "扩展信息",
  5261. "columnFormat": "",
  5262. "storage": "",
  5263. "isVirtual": false,
  5264. "isGeneratedAlways": false,
  5265. "virtualExpr": "",
  5266. "virtualType": "",
  5267. "oldName": "ext_form_value"
  5268. },
  5269. {
  5270. "objectType": "TableField_MYSQL",
  5271. "name": "dept_id",
  5272. "type": "bigint",
  5273. "length": 20,
  5274. "decimals": 0,
  5275. "isUnsigned": true,
  5276. "isZeroFill": false,
  5277. "setEnumValues": "",
  5278. "isBinary": false,
  5279. "charset": "",
  5280. "collation": "",
  5281. "isNullable": true,
  5282. "defaultType": "Null",
  5283. "defaultValue": "",
  5284. "isOnUpdateCurrentTimestamp": false,
  5285. "isAutoInc": false,
  5286. "comment": "所属部门",
  5287. "columnFormat": "",
  5288. "storage": "",
  5289. "isVirtual": false,
  5290. "isGeneratedAlways": false,
  5291. "virtualExpr": "",
  5292. "virtualType": "",
  5293. "oldName": "dept_id"
  5294. },
  5295. {
  5296. "objectType": "TableField_MYSQL",
  5297. "name": "user_id",
  5298. "type": "bigint",
  5299. "length": 20,
  5300. "decimals": 0,
  5301. "isUnsigned": true,
  5302. "isZeroFill": false,
  5303. "setEnumValues": "",
  5304. "isBinary": false,
  5305. "charset": "",
  5306. "collation": "",
  5307. "isNullable": true,
  5308. "defaultType": "Null",
  5309. "defaultValue": "",
  5310. "isOnUpdateCurrentTimestamp": false,
  5311. "isAutoInc": false,
  5312. "comment": "所属用户",
  5313. "columnFormat": "",
  5314. "storage": "",
  5315. "isVirtual": false,
  5316. "isGeneratedAlways": false,
  5317. "virtualExpr": "",
  5318. "virtualType": "",
  5319. "oldName": "user_id"
  5320. },
  5321. {
  5322. "objectType": "TableField_MYSQL",
  5323. "name": "create_time",
  5324. "type": "datetime",
  5325. "length": 3,
  5326. "decimals": 0,
  5327. "isUnsigned": false,
  5328. "isZeroFill": false,
  5329. "setEnumValues": "",
  5330. "isBinary": false,
  5331. "charset": "",
  5332. "collation": "",
  5333. "isNullable": true,
  5334. "defaultType": "Null",
  5335. "defaultValue": "",
  5336. "isOnUpdateCurrentTimestamp": false,
  5337. "isAutoInc": false,
  5338. "comment": "创建时间",
  5339. "columnFormat": "",
  5340. "storage": "",
  5341. "isVirtual": false,
  5342. "isGeneratedAlways": false,
  5343. "virtualExpr": "",
  5344. "virtualType": "",
  5345. "oldName": "create_time"
  5346. },
  5347. {
  5348. "objectType": "TableField_MYSQL",
  5349. "name": "update_time",
  5350. "type": "datetime",
  5351. "length": 3,
  5352. "decimals": 0,
  5353. "isUnsigned": false,
  5354. "isZeroFill": false,
  5355. "setEnumValues": "",
  5356. "isBinary": false,
  5357. "charset": "",
  5358. "collation": "",
  5359. "isNullable": true,
  5360. "defaultType": "Null",
  5361. "defaultValue": "",
  5362. "isOnUpdateCurrentTimestamp": false,
  5363. "isAutoInc": false,
  5364. "comment": "更新时间",
  5365. "columnFormat": "",
  5366. "storage": "",
  5367. "isVirtual": false,
  5368. "isGeneratedAlways": false,
  5369. "virtualExpr": "",
  5370. "virtualType": "",
  5371. "oldName": "update_time"
  5372. },
  5373. {
  5374. "objectType": "TableField_MYSQL",
  5375. "name": "is_deleted",
  5376. "type": "tinyint",
  5377. "length": 1,
  5378. "decimals": 0,
  5379. "isUnsigned": true,
  5380. "isZeroFill": false,
  5381. "setEnumValues": "",
  5382. "isBinary": false,
  5383. "charset": "",
  5384. "collation": "",
  5385. "isNullable": true,
  5386. "defaultType": "Others",
  5387. "defaultValue": "1",
  5388. "isOnUpdateCurrentTimestamp": false,
  5389. "isAutoInc": false,
  5390. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  5391. "columnFormat": "",
  5392. "storage": "",
  5393. "isVirtual": false,
  5394. "isGeneratedAlways": false,
  5395. "virtualExpr": "",
  5396. "virtualType": "",
  5397. "oldName": "is_deleted"
  5398. }
  5399. ],
  5400. "indexes": [],
  5401. "primaryKey": {
  5402. "objectType": "PrimaryKey_MYSQL",
  5403. "name": "",
  5404. "fields": [
  5405. {
  5406. "objectType": "IndexField_MYSQL",
  5407. "name": "id",
  5408. "keyLength": 0,
  5409. "order": "",
  5410. "oldName": "id"
  5411. }
  5412. ],
  5413. "oldName": "",
  5414. "indexMethod": "BTREE",
  5415. "comment": ""
  5416. },
  5417. "foreignKeys": [
  5418. {
  5419. "objectType": "ForeignKey_MYSQL",
  5420. "name": "fk_ac_category_id",
  5421. "fields": [
  5422. "category_id"
  5423. ],
  5424. "referenceSchema": "mldong",
  5425. "referenceTable": "cms_category",
  5426. "referenceFields": [
  5427. "id"
  5428. ],
  5429. "onDelete": "",
  5430. "onUpdate": "",
  5431. "sourceCardinality": "ZeroOrManyRelationship",
  5432. "targetCardinality": "OneAndOnlyOneRelationship",
  5433. "oldName": ""
  5434. },
  5435. {
  5436. "objectType": "ForeignKey_MYSQL",
  5437. "name": "fk_au_user_id",
  5438. "fields": [],
  5439. "referenceSchema": "mldong",
  5440. "referenceTable": "sys_user",
  5441. "referenceFields": [
  5442. "id"
  5443. ],
  5444. "onDelete": "",
  5445. "onUpdate": "",
  5446. "sourceCardinality": "OneAndOnlyOneRelationship",
  5447. "targetCardinality": "ZeroOrManyRelationship",
  5448. "oldName": ""
  5449. },
  5450. {
  5451. "objectType": "ForeignKey_MYSQL",
  5452. "name": "fk_ad_dept_id",
  5453. "fields": [],
  5454. "referenceSchema": "mldong",
  5455. "referenceTable": "sys_dept",
  5456. "referenceFields": [
  5457. "id"
  5458. ],
  5459. "onDelete": "",
  5460. "onUpdate": "",
  5461. "sourceCardinality": "ZeroOrManyRelationship",
  5462. "targetCardinality": "OneAndOnlyOneRelationship",
  5463. "oldName": ""
  5464. }
  5465. ],
  5466. "triggers": [],
  5467. "tablePartitions": []
  5468. },
  5469. {
  5470. "objectType": "Table_MYSQL",
  5471. "name": "sys_menu",
  5472. "comment": "菜单",
  5473. "engine": "InnoDB",
  5474. "characterSet": "utf8mb4",
  5475. "collation": "utf8mb4_general_ci",
  5476. "autoIncrement": 27,
  5477. "tablespace": "",
  5478. "storage": "",
  5479. "insertMethod": "",
  5480. "connection": "",
  5481. "checksum": false,
  5482. "rowFormat": "Dynamic",
  5483. "avgRowLength": 0,
  5484. "maxRows": 0,
  5485. "minRows": 0,
  5486. "keyBlockSize": 0,
  5487. "packKeys": "",
  5488. "delayKeyWrite": false,
  5489. "dataDirectory": "",
  5490. "indexDirectory": "",
  5491. "statsAutoRecalc": "",
  5492. "statsPersistent": "",
  5493. "statsSamplePages": 0,
  5494. "union": "",
  5495. "pageCheckSum": false,
  5496. "transactional": false,
  5497. "compression": "",
  5498. "oldName": "sys_menu",
  5499. "encryption": false,
  5500. "createOptions": "",
  5501. "createTime": "2021-01-08 17:30:13",
  5502. "checkTime": "",
  5503. "dataFree": 0,
  5504. "dataLength": 16384,
  5505. "indexLength": 0,
  5506. "maxDataLength": 0,
  5507. "rows": 22,
  5508. "updateTime": "",
  5509. "DDL": "CREATE TABLE `sys_menu` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `parent_id` bigint(20) unsigned DEFAULT '0' COMMENT '父菜单id',\n `name` varchar(64) NOT NULL COMMENT '菜单名称',\n `sort` double(10,2) DEFAULT '10.00' COMMENT '排序',\n `route_name` varchar(64) DEFAULT NULL COMMENT '路由名称',\n `path` varchar(64) DEFAULT NULL COMMENT '路由地址',\n `icon` varchar(32) DEFAULT NULL COMMENT '图标',\n `is_show` tinyint(1) unsigned DEFAULT '2' COMMENT '是否显示(1->不显示|NO,2->显示|YES)',\n `is_cache` tinyint(1) unsigned DEFAULT '1' COMMENT '是否缓存(1->不缓存|NO,2->缓存|YES)',\n `remark` varchar(100) DEFAULT NULL COMMENT '备注',\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8mb4 COMMENT='菜单'",
  5510. "partitionBy": "",
  5511. "partitionByExpr": "",
  5512. "partitions": 0,
  5513. "partitionKeyAlgorithm": "",
  5514. "subPartitionBy": "",
  5515. "subPartitionByExpr": "",
  5516. "subPartitions": 0,
  5517. "subPartitionKeyAlgorithm": "",
  5518. "fields": [
  5519. {
  5520. "objectType": "TableField_MYSQL",
  5521. "name": "id",
  5522. "type": "bigint",
  5523. "length": 20,
  5524. "decimals": 0,
  5525. "isUnsigned": true,
  5526. "isZeroFill": false,
  5527. "setEnumValues": "",
  5528. "isBinary": false,
  5529. "charset": "",
  5530. "collation": "",
  5531. "isNullable": false,
  5532. "defaultType": "Others",
  5533. "defaultValue": "",
  5534. "isOnUpdateCurrentTimestamp": false,
  5535. "isAutoInc": true,
  5536. "comment": "主键",
  5537. "columnFormat": "",
  5538. "storage": "",
  5539. "isVirtual": false,
  5540. "isGeneratedAlways": false,
  5541. "virtualExpr": "",
  5542. "virtualType": "",
  5543. "oldName": "id"
  5544. },
  5545. {
  5546. "objectType": "TableField_MYSQL",
  5547. "name": "parent_id",
  5548. "type": "bigint",
  5549. "length": 20,
  5550. "decimals": 0,
  5551. "isUnsigned": true,
  5552. "isZeroFill": false,
  5553. "setEnumValues": "",
  5554. "isBinary": false,
  5555. "charset": "",
  5556. "collation": "",
  5557. "isNullable": true,
  5558. "defaultType": "Others",
  5559. "defaultValue": "0",
  5560. "isOnUpdateCurrentTimestamp": false,
  5561. "isAutoInc": false,
  5562. "comment": "父菜单id",
  5563. "columnFormat": "",
  5564. "storage": "",
  5565. "isVirtual": false,
  5566. "isGeneratedAlways": false,
  5567. "virtualExpr": "",
  5568. "virtualType": "",
  5569. "oldName": "parent_id"
  5570. },
  5571. {
  5572. "objectType": "TableField_MYSQL",
  5573. "name": "name",
  5574. "type": "varchar",
  5575. "length": 64,
  5576. "decimals": 0,
  5577. "isUnsigned": false,
  5578. "isZeroFill": false,
  5579. "setEnumValues": "",
  5580. "isBinary": false,
  5581. "charset": "utf8mb4",
  5582. "collation": "utf8mb4_general_ci",
  5583. "isNullable": false,
  5584. "defaultType": "Others",
  5585. "defaultValue": "",
  5586. "isOnUpdateCurrentTimestamp": false,
  5587. "isAutoInc": false,
  5588. "comment": "菜单名称",
  5589. "columnFormat": "",
  5590. "storage": "",
  5591. "isVirtual": false,
  5592. "isGeneratedAlways": false,
  5593. "virtualExpr": "",
  5594. "virtualType": "",
  5595. "oldName": "name"
  5596. },
  5597. {
  5598. "objectType": "TableField_MYSQL",
  5599. "name": "sort",
  5600. "type": "double",
  5601. "length": 10,
  5602. "decimals": 2,
  5603. "isUnsigned": false,
  5604. "isZeroFill": false,
  5605. "setEnumValues": "",
  5606. "isBinary": false,
  5607. "charset": "",
  5608. "collation": "",
  5609. "isNullable": true,
  5610. "defaultType": "Others",
  5611. "defaultValue": "10.00",
  5612. "isOnUpdateCurrentTimestamp": false,
  5613. "isAutoInc": false,
  5614. "comment": "排序",
  5615. "columnFormat": "",
  5616. "storage": "",
  5617. "isVirtual": false,
  5618. "isGeneratedAlways": false,
  5619. "virtualExpr": "",
  5620. "virtualType": "",
  5621. "oldName": "sort"
  5622. },
  5623. {
  5624. "objectType": "TableField_MYSQL",
  5625. "name": "route_name",
  5626. "type": "varchar",
  5627. "length": 64,
  5628. "decimals": 0,
  5629. "isUnsigned": false,
  5630. "isZeroFill": false,
  5631. "setEnumValues": "",
  5632. "isBinary": false,
  5633. "charset": "utf8mb4",
  5634. "collation": "utf8mb4_general_ci",
  5635. "isNullable": true,
  5636. "defaultType": "Null",
  5637. "defaultValue": "",
  5638. "isOnUpdateCurrentTimestamp": false,
  5639. "isAutoInc": false,
  5640. "comment": "路由名称",
  5641. "columnFormat": "",
  5642. "storage": "",
  5643. "isVirtual": false,
  5644. "isGeneratedAlways": false,
  5645. "virtualExpr": "",
  5646. "virtualType": "",
  5647. "oldName": "route_name"
  5648. },
  5649. {
  5650. "objectType": "TableField_MYSQL",
  5651. "name": "path",
  5652. "type": "varchar",
  5653. "length": 64,
  5654. "decimals": 0,
  5655. "isUnsigned": false,
  5656. "isZeroFill": false,
  5657. "setEnumValues": "",
  5658. "isBinary": false,
  5659. "charset": "utf8mb4",
  5660. "collation": "utf8mb4_general_ci",
  5661. "isNullable": true,
  5662. "defaultType": "Null",
  5663. "defaultValue": "",
  5664. "isOnUpdateCurrentTimestamp": false,
  5665. "isAutoInc": false,
  5666. "comment": "路由地址",
  5667. "columnFormat": "",
  5668. "storage": "",
  5669. "isVirtual": false,
  5670. "isGeneratedAlways": false,
  5671. "virtualExpr": "",
  5672. "virtualType": "",
  5673. "oldName": "path"
  5674. },
  5675. {
  5676. "objectType": "TableField_MYSQL",
  5677. "name": "icon",
  5678. "type": "varchar",
  5679. "length": 32,
  5680. "decimals": 0,
  5681. "isUnsigned": false,
  5682. "isZeroFill": false,
  5683. "setEnumValues": "",
  5684. "isBinary": false,
  5685. "charset": "utf8mb4",
  5686. "collation": "utf8mb4_general_ci",
  5687. "isNullable": true,
  5688. "defaultType": "Null",
  5689. "defaultValue": "",
  5690. "isOnUpdateCurrentTimestamp": false,
  5691. "isAutoInc": false,
  5692. "comment": "图标",
  5693. "columnFormat": "",
  5694. "storage": "",
  5695. "isVirtual": false,
  5696. "isGeneratedAlways": false,
  5697. "virtualExpr": "",
  5698. "virtualType": "",
  5699. "oldName": "icon"
  5700. },
  5701. {
  5702. "objectType": "TableField_MYSQL",
  5703. "name": "is_show",
  5704. "type": "tinyint",
  5705. "length": 1,
  5706. "decimals": 0,
  5707. "isUnsigned": true,
  5708. "isZeroFill": false,
  5709. "setEnumValues": "",
  5710. "isBinary": false,
  5711. "charset": "",
  5712. "collation": "",
  5713. "isNullable": true,
  5714. "defaultType": "Others",
  5715. "defaultValue": "2",
  5716. "isOnUpdateCurrentTimestamp": false,
  5717. "isAutoInc": false,
  5718. "comment": "是否显示(1->不显示|NO,2->显示|YES)",
  5719. "columnFormat": "",
  5720. "storage": "",
  5721. "isVirtual": false,
  5722. "isGeneratedAlways": false,
  5723. "virtualExpr": "",
  5724. "virtualType": "",
  5725. "oldName": "is_show"
  5726. },
  5727. {
  5728. "objectType": "TableField_MYSQL",
  5729. "name": "is_cache",
  5730. "type": "tinyint",
  5731. "length": 1,
  5732. "decimals": 0,
  5733. "isUnsigned": true,
  5734. "isZeroFill": false,
  5735. "setEnumValues": "",
  5736. "isBinary": false,
  5737. "charset": "",
  5738. "collation": "",
  5739. "isNullable": true,
  5740. "defaultType": "Others",
  5741. "defaultValue": "1",
  5742. "isOnUpdateCurrentTimestamp": false,
  5743. "isAutoInc": false,
  5744. "comment": "是否缓存(1->不缓存|NO,2->缓存|YES)",
  5745. "columnFormat": "",
  5746. "storage": "",
  5747. "isVirtual": false,
  5748. "isGeneratedAlways": false,
  5749. "virtualExpr": "",
  5750. "virtualType": "",
  5751. "oldName": "is_cache"
  5752. },
  5753. {
  5754. "objectType": "TableField_MYSQL",
  5755. "name": "remark",
  5756. "type": "varchar",
  5757. "length": 100,
  5758. "decimals": 0,
  5759. "isUnsigned": false,
  5760. "isZeroFill": false,
  5761. "setEnumValues": "",
  5762. "isBinary": false,
  5763. "charset": "utf8mb4",
  5764. "collation": "utf8mb4_general_ci",
  5765. "isNullable": true,
  5766. "defaultType": "Null",
  5767. "defaultValue": "",
  5768. "isOnUpdateCurrentTimestamp": false,
  5769. "isAutoInc": false,
  5770. "comment": "备注",
  5771. "columnFormat": "",
  5772. "storage": "",
  5773. "isVirtual": false,
  5774. "isGeneratedAlways": false,
  5775. "virtualExpr": "",
  5776. "virtualType": "",
  5777. "oldName": "remark"
  5778. },
  5779. {
  5780. "objectType": "TableField_MYSQL",
  5781. "name": "create_time",
  5782. "type": "datetime",
  5783. "length": 3,
  5784. "decimals": 0,
  5785. "isUnsigned": false,
  5786. "isZeroFill": false,
  5787. "setEnumValues": "",
  5788. "isBinary": false,
  5789. "charset": "",
  5790. "collation": "",
  5791. "isNullable": false,
  5792. "defaultType": "Others",
  5793. "defaultValue": "",
  5794. "isOnUpdateCurrentTimestamp": false,
  5795. "isAutoInc": false,
  5796. "comment": "创建时间",
  5797. "columnFormat": "",
  5798. "storage": "",
  5799. "isVirtual": false,
  5800. "isGeneratedAlways": false,
  5801. "virtualExpr": "",
  5802. "virtualType": "",
  5803. "oldName": "create_time"
  5804. },
  5805. {
  5806. "objectType": "TableField_MYSQL",
  5807. "name": "update_time",
  5808. "type": "datetime",
  5809. "length": 3,
  5810. "decimals": 0,
  5811. "isUnsigned": false,
  5812. "isZeroFill": false,
  5813. "setEnumValues": "",
  5814. "isBinary": false,
  5815. "charset": "",
  5816. "collation": "",
  5817. "isNullable": false,
  5818. "defaultType": "Others",
  5819. "defaultValue": "",
  5820. "isOnUpdateCurrentTimestamp": false,
  5821. "isAutoInc": false,
  5822. "comment": "更新时间",
  5823. "columnFormat": "",
  5824. "storage": "",
  5825. "isVirtual": false,
  5826. "isGeneratedAlways": false,
  5827. "virtualExpr": "",
  5828. "virtualType": "",
  5829. "oldName": "update_time"
  5830. },
  5831. {
  5832. "objectType": "TableField_MYSQL",
  5833. "name": "is_deleted",
  5834. "type": "tinyint",
  5835. "length": 1,
  5836. "decimals": 0,
  5837. "isUnsigned": true,
  5838. "isZeroFill": false,
  5839. "setEnumValues": "",
  5840. "isBinary": false,
  5841. "charset": "",
  5842. "collation": "",
  5843. "isNullable": false,
  5844. "defaultType": "Others",
  5845. "defaultValue": "1",
  5846. "isOnUpdateCurrentTimestamp": false,
  5847. "isAutoInc": false,
  5848. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  5849. "columnFormat": "",
  5850. "storage": "",
  5851. "isVirtual": false,
  5852. "isGeneratedAlways": false,
  5853. "virtualExpr": "",
  5854. "virtualType": "",
  5855. "oldName": "is_deleted"
  5856. }
  5857. ],
  5858. "indexes": [],
  5859. "primaryKey": {
  5860. "objectType": "PrimaryKey_MYSQL",
  5861. "name": "",
  5862. "fields": [
  5863. {
  5864. "objectType": "IndexField_MYSQL",
  5865. "name": "id",
  5866. "keyLength": 0,
  5867. "order": "",
  5868. "oldName": "id"
  5869. }
  5870. ],
  5871. "oldName": "",
  5872. "indexMethod": "BTREE",
  5873. "comment": ""
  5874. },
  5875. "foreignKeys": [
  5876. {
  5877. "objectType": "ForeignKey_MYSQL",
  5878. "name": "fk_mm_parent_id",
  5879. "fields": [
  5880. "parent_id"
  5881. ],
  5882. "referenceSchema": "mldong",
  5883. "referenceTable": "sys_menu",
  5884. "referenceFields": [
  5885. "id"
  5886. ],
  5887. "onDelete": "",
  5888. "onUpdate": "",
  5889. "sourceCardinality": "OneAndOnlyOneRelationship",
  5890. "targetCardinality": "ZeroOrManyRelationship",
  5891. "oldName": ""
  5892. }
  5893. ],
  5894. "triggers": [],
  5895. "tablePartitions": []
  5896. },
  5897. {
  5898. "objectType": "Table_MYSQL",
  5899. "name": "cms_category",
  5900. "comment": "",
  5901. "engine": "InnoDB",
  5902. "characterSet": "utf8mb4",
  5903. "collation": "utf8mb4_general_ci",
  5904. "autoIncrement": 28,
  5905. "tablespace": "",
  5906. "storage": "",
  5907. "insertMethod": "",
  5908. "connection": "",
  5909. "checksum": false,
  5910. "rowFormat": "Dynamic",
  5911. "avgRowLength": 0,
  5912. "maxRows": 0,
  5913. "minRows": 0,
  5914. "keyBlockSize": 0,
  5915. "packKeys": "",
  5916. "delayKeyWrite": false,
  5917. "dataDirectory": "",
  5918. "indexDirectory": "",
  5919. "statsAutoRecalc": "",
  5920. "statsPersistent": "",
  5921. "statsSamplePages": 0,
  5922. "union": "",
  5923. "pageCheckSum": false,
  5924. "transactional": false,
  5925. "compression": "",
  5926. "oldName": "cms_category",
  5927. "encryption": false,
  5928. "createOptions": "row_format=DYNAMIC",
  5929. "createTime": "2021-01-05 08:56:48",
  5930. "checkTime": "",
  5931. "dataFree": 0,
  5932. "dataLength": 16384,
  5933. "indexLength": 0,
  5934. "maxDataLength": 0,
  5935. "rows": 27,
  5936. "updateTime": "",
  5937. "DDL": "CREATE TABLE `cms_category` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `parent_id` bigint(20) unsigned DEFAULT '0' COMMENT '父栏目id',\n `name` varchar(100) NOT NULL COMMENT '栏目名称',\n `sort` double(10,2) unsigned DEFAULT '10.00' COMMENT '排序',\n `icon` varchar(255) DEFAULT NULL COMMENT '图标',\n `is_nav` tinyint(1) unsigned DEFAULT '2' COMMENT '是否导航(1->否|NO,2->是|YES)',\n `is_show` tinyint(1) unsigned DEFAULT '2' COMMENT '是否显示(1->否|NO,2->是|YES)',\n `is_page` tinyint(1) unsigned DEFAULT '1' COMMENT '是否单页面(1->否|NO,2->是|YES)',\n `dept_id` bigint(20) unsigned DEFAULT NULL COMMENT '所属部门',\n `user_id` bigint(20) unsigned DEFAULT NULL COMMENT '所属用户',\n `model_id` bigint(255) unsigned DEFAULT NULL COMMENT '所属模型',\n `seo_keyworks` varchar(100) DEFAULT NULL COMMENT 'seo关键字',\n `seo_description` varchar(255) DEFAULT NULL COMMENT 'seo描述',\n `ext_form_config` text COMMENT '扩展的表单配置',\n `ext_form_value` varchar(255) DEFAULT NULL COMMENT '扩展表单值',\n `ext_article_form_config` text COMMENT '文章扩展字段配置',\n `content` mediumtext COMMENT '富文本',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC",
  5938. "partitionBy": "",
  5939. "partitionByExpr": "",
  5940. "partitions": 0,
  5941. "partitionKeyAlgorithm": "",
  5942. "subPartitionBy": "",
  5943. "subPartitionByExpr": "",
  5944. "subPartitions": 0,
  5945. "subPartitionKeyAlgorithm": "",
  5946. "fields": [
  5947. {
  5948. "objectType": "TableField_MYSQL",
  5949. "name": "id",
  5950. "type": "bigint",
  5951. "length": 20,
  5952. "decimals": 0,
  5953. "isUnsigned": true,
  5954. "isZeroFill": false,
  5955. "setEnumValues": "",
  5956. "isBinary": false,
  5957. "charset": "",
  5958. "collation": "",
  5959. "isNullable": false,
  5960. "defaultType": "Others",
  5961. "defaultValue": "",
  5962. "isOnUpdateCurrentTimestamp": false,
  5963. "isAutoInc": true,
  5964. "comment": "主键",
  5965. "columnFormat": "",
  5966. "storage": "",
  5967. "isVirtual": false,
  5968. "isGeneratedAlways": false,
  5969. "virtualExpr": "",
  5970. "virtualType": "",
  5971. "oldName": "id"
  5972. },
  5973. {
  5974. "objectType": "TableField_MYSQL",
  5975. "name": "parent_id",
  5976. "type": "bigint",
  5977. "length": 20,
  5978. "decimals": 0,
  5979. "isUnsigned": true,
  5980. "isZeroFill": false,
  5981. "setEnumValues": "",
  5982. "isBinary": false,
  5983. "charset": "",
  5984. "collation": "",
  5985. "isNullable": true,
  5986. "defaultType": "Others",
  5987. "defaultValue": "0",
  5988. "isOnUpdateCurrentTimestamp": false,
  5989. "isAutoInc": false,
  5990. "comment": "父栏目id",
  5991. "columnFormat": "",
  5992. "storage": "",
  5993. "isVirtual": false,
  5994. "isGeneratedAlways": false,
  5995. "virtualExpr": "",
  5996. "virtualType": "",
  5997. "oldName": "parent_id"
  5998. },
  5999. {
  6000. "objectType": "TableField_MYSQL",
  6001. "name": "name",
  6002. "type": "varchar",
  6003. "length": 100,
  6004. "decimals": 0,
  6005. "isUnsigned": false,
  6006. "isZeroFill": false,
  6007. "setEnumValues": "",
  6008. "isBinary": false,
  6009. "charset": "utf8mb4",
  6010. "collation": "utf8mb4_general_ci",
  6011. "isNullable": false,
  6012. "defaultType": "Others",
  6013. "defaultValue": "",
  6014. "isOnUpdateCurrentTimestamp": false,
  6015. "isAutoInc": false,
  6016. "comment": "栏目名称",
  6017. "columnFormat": "",
  6018. "storage": "",
  6019. "isVirtual": false,
  6020. "isGeneratedAlways": false,
  6021. "virtualExpr": "",
  6022. "virtualType": "",
  6023. "oldName": "name"
  6024. },
  6025. {
  6026. "objectType": "TableField_MYSQL",
  6027. "name": "sort",
  6028. "type": "double",
  6029. "length": 10,
  6030. "decimals": 2,
  6031. "isUnsigned": true,
  6032. "isZeroFill": false,
  6033. "setEnumValues": "",
  6034. "isBinary": false,
  6035. "charset": "",
  6036. "collation": "",
  6037. "isNullable": true,
  6038. "defaultType": "Others",
  6039. "defaultValue": "10.00",
  6040. "isOnUpdateCurrentTimestamp": false,
  6041. "isAutoInc": false,
  6042. "comment": "排序",
  6043. "columnFormat": "",
  6044. "storage": "",
  6045. "isVirtual": false,
  6046. "isGeneratedAlways": false,
  6047. "virtualExpr": "",
  6048. "virtualType": "",
  6049. "oldName": "sort"
  6050. },
  6051. {
  6052. "objectType": "TableField_MYSQL",
  6053. "name": "icon",
  6054. "type": "varchar",
  6055. "length": 255,
  6056. "decimals": 0,
  6057. "isUnsigned": false,
  6058. "isZeroFill": false,
  6059. "setEnumValues": "",
  6060. "isBinary": false,
  6061. "charset": "utf8mb4",
  6062. "collation": "utf8mb4_general_ci",
  6063. "isNullable": true,
  6064. "defaultType": "Null",
  6065. "defaultValue": "",
  6066. "isOnUpdateCurrentTimestamp": false,
  6067. "isAutoInc": false,
  6068. "comment": "图标",
  6069. "columnFormat": "",
  6070. "storage": "",
  6071. "isVirtual": false,
  6072. "isGeneratedAlways": false,
  6073. "virtualExpr": "",
  6074. "virtualType": "",
  6075. "oldName": "icon"
  6076. },
  6077. {
  6078. "objectType": "TableField_MYSQL",
  6079. "name": "is_nav",
  6080. "type": "tinyint",
  6081. "length": 1,
  6082. "decimals": 0,
  6083. "isUnsigned": true,
  6084. "isZeroFill": false,
  6085. "setEnumValues": "",
  6086. "isBinary": false,
  6087. "charset": "",
  6088. "collation": "",
  6089. "isNullable": true,
  6090. "defaultType": "Others",
  6091. "defaultValue": "2",
  6092. "isOnUpdateCurrentTimestamp": false,
  6093. "isAutoInc": false,
  6094. "comment": "是否导航(1->否|NO,2->是|YES)",
  6095. "columnFormat": "",
  6096. "storage": "",
  6097. "isVirtual": false,
  6098. "isGeneratedAlways": false,
  6099. "virtualExpr": "",
  6100. "virtualType": "",
  6101. "oldName": "is_nav"
  6102. },
  6103. {
  6104. "objectType": "TableField_MYSQL",
  6105. "name": "is_show",
  6106. "type": "tinyint",
  6107. "length": 1,
  6108. "decimals": 0,
  6109. "isUnsigned": true,
  6110. "isZeroFill": false,
  6111. "setEnumValues": "",
  6112. "isBinary": false,
  6113. "charset": "",
  6114. "collation": "",
  6115. "isNullable": true,
  6116. "defaultType": "Others",
  6117. "defaultValue": "2",
  6118. "isOnUpdateCurrentTimestamp": false,
  6119. "isAutoInc": false,
  6120. "comment": "是否显示(1->否|NO,2->是|YES)",
  6121. "columnFormat": "",
  6122. "storage": "",
  6123. "isVirtual": false,
  6124. "isGeneratedAlways": false,
  6125. "virtualExpr": "",
  6126. "virtualType": "",
  6127. "oldName": "is_show"
  6128. },
  6129. {
  6130. "objectType": "TableField_MYSQL",
  6131. "name": "is_page",
  6132. "type": "tinyint",
  6133. "length": 1,
  6134. "decimals": 0,
  6135. "isUnsigned": true,
  6136. "isZeroFill": false,
  6137. "setEnumValues": "",
  6138. "isBinary": false,
  6139. "charset": "",
  6140. "collation": "",
  6141. "isNullable": true,
  6142. "defaultType": "Others",
  6143. "defaultValue": "1",
  6144. "isOnUpdateCurrentTimestamp": false,
  6145. "isAutoInc": false,
  6146. "comment": "是否单页面(1->否|NO,2->是|YES)",
  6147. "columnFormat": "",
  6148. "storage": "",
  6149. "isVirtual": false,
  6150. "isGeneratedAlways": false,
  6151. "virtualExpr": "",
  6152. "virtualType": "",
  6153. "oldName": "is_page"
  6154. },
  6155. {
  6156. "objectType": "TableField_MYSQL",
  6157. "name": "dept_id",
  6158. "type": "bigint",
  6159. "length": 20,
  6160. "decimals": 0,
  6161. "isUnsigned": true,
  6162. "isZeroFill": false,
  6163. "setEnumValues": "",
  6164. "isBinary": false,
  6165. "charset": "",
  6166. "collation": "",
  6167. "isNullable": true,
  6168. "defaultType": "Null",
  6169. "defaultValue": "",
  6170. "isOnUpdateCurrentTimestamp": false,
  6171. "isAutoInc": false,
  6172. "comment": "所属部门",
  6173. "columnFormat": "",
  6174. "storage": "",
  6175. "isVirtual": false,
  6176. "isGeneratedAlways": false,
  6177. "virtualExpr": "",
  6178. "virtualType": "",
  6179. "oldName": "dept_id"
  6180. },
  6181. {
  6182. "objectType": "TableField_MYSQL",
  6183. "name": "user_id",
  6184. "type": "bigint",
  6185. "length": 20,
  6186. "decimals": 0,
  6187. "isUnsigned": true,
  6188. "isZeroFill": false,
  6189. "setEnumValues": "",
  6190. "isBinary": false,
  6191. "charset": "",
  6192. "collation": "",
  6193. "isNullable": true,
  6194. "defaultType": "Null",
  6195. "defaultValue": "",
  6196. "isOnUpdateCurrentTimestamp": false,
  6197. "isAutoInc": false,
  6198. "comment": "所属用户",
  6199. "columnFormat": "",
  6200. "storage": "",
  6201. "isVirtual": false,
  6202. "isGeneratedAlways": false,
  6203. "virtualExpr": "",
  6204. "virtualType": "",
  6205. "oldName": "user_id"
  6206. },
  6207. {
  6208. "objectType": "TableField_MYSQL",
  6209. "name": "model_id",
  6210. "type": "bigint",
  6211. "length": 255,
  6212. "decimals": 0,
  6213. "isUnsigned": true,
  6214. "isZeroFill": false,
  6215. "setEnumValues": "",
  6216. "isBinary": false,
  6217. "charset": "",
  6218. "collation": "",
  6219. "isNullable": true,
  6220. "defaultType": "Null",
  6221. "defaultValue": "",
  6222. "isOnUpdateCurrentTimestamp": false,
  6223. "isAutoInc": false,
  6224. "comment": "所属模型",
  6225. "columnFormat": "",
  6226. "storage": "",
  6227. "isVirtual": false,
  6228. "isGeneratedAlways": false,
  6229. "virtualExpr": "",
  6230. "virtualType": "",
  6231. "oldName": "model_id"
  6232. },
  6233. {
  6234. "objectType": "TableField_MYSQL",
  6235. "name": "seo_keyworks",
  6236. "type": "varchar",
  6237. "length": 100,
  6238. "decimals": 0,
  6239. "isUnsigned": false,
  6240. "isZeroFill": false,
  6241. "setEnumValues": "",
  6242. "isBinary": false,
  6243. "charset": "utf8mb4",
  6244. "collation": "utf8mb4_general_ci",
  6245. "isNullable": true,
  6246. "defaultType": "Null",
  6247. "defaultValue": "",
  6248. "isOnUpdateCurrentTimestamp": false,
  6249. "isAutoInc": false,
  6250. "comment": "seo关键字",
  6251. "columnFormat": "",
  6252. "storage": "",
  6253. "isVirtual": false,
  6254. "isGeneratedAlways": false,
  6255. "virtualExpr": "",
  6256. "virtualType": "",
  6257. "oldName": "seo_keyworks"
  6258. },
  6259. {
  6260. "objectType": "TableField_MYSQL",
  6261. "name": "seo_description",
  6262. "type": "varchar",
  6263. "length": 255,
  6264. "decimals": 0,
  6265. "isUnsigned": false,
  6266. "isZeroFill": false,
  6267. "setEnumValues": "",
  6268. "isBinary": false,
  6269. "charset": "utf8mb4",
  6270. "collation": "utf8mb4_general_ci",
  6271. "isNullable": true,
  6272. "defaultType": "Null",
  6273. "defaultValue": "",
  6274. "isOnUpdateCurrentTimestamp": false,
  6275. "isAutoInc": false,
  6276. "comment": "seo描述",
  6277. "columnFormat": "",
  6278. "storage": "",
  6279. "isVirtual": false,
  6280. "isGeneratedAlways": false,
  6281. "virtualExpr": "",
  6282. "virtualType": "",
  6283. "oldName": "seo_description"
  6284. },
  6285. {
  6286. "objectType": "TableField_MYSQL",
  6287. "name": "ext_form_config",
  6288. "type": "text",
  6289. "length": 0,
  6290. "decimals": 0,
  6291. "isUnsigned": false,
  6292. "isZeroFill": false,
  6293. "setEnumValues": "",
  6294. "isBinary": false,
  6295. "charset": "utf8mb4",
  6296. "collation": "utf8mb4_general_ci",
  6297. "isNullable": true,
  6298. "defaultType": "Null",
  6299. "defaultValue": "",
  6300. "isOnUpdateCurrentTimestamp": false,
  6301. "isAutoInc": false,
  6302. "comment": "扩展的表单配置",
  6303. "columnFormat": "",
  6304. "storage": "",
  6305. "isVirtual": false,
  6306. "isGeneratedAlways": false,
  6307. "virtualExpr": "",
  6308. "virtualType": "",
  6309. "oldName": "ext_form_config"
  6310. },
  6311. {
  6312. "objectType": "TableField_MYSQL",
  6313. "name": "ext_form_value",
  6314. "type": "varchar",
  6315. "length": 255,
  6316. "decimals": 0,
  6317. "isUnsigned": false,
  6318. "isZeroFill": false,
  6319. "setEnumValues": "",
  6320. "isBinary": false,
  6321. "charset": "utf8mb4",
  6322. "collation": "utf8mb4_general_ci",
  6323. "isNullable": true,
  6324. "defaultType": "Null",
  6325. "defaultValue": "",
  6326. "isOnUpdateCurrentTimestamp": false,
  6327. "isAutoInc": false,
  6328. "comment": "扩展表单值",
  6329. "columnFormat": "",
  6330. "storage": "",
  6331. "isVirtual": false,
  6332. "isGeneratedAlways": false,
  6333. "virtualExpr": "",
  6334. "virtualType": "",
  6335. "oldName": "ext_form_value"
  6336. },
  6337. {
  6338. "objectType": "TableField_MYSQL",
  6339. "name": "ext_article_form_config",
  6340. "type": "text",
  6341. "length": 0,
  6342. "decimals": 0,
  6343. "isUnsigned": false,
  6344. "isZeroFill": false,
  6345. "setEnumValues": "",
  6346. "isBinary": false,
  6347. "charset": "utf8mb4",
  6348. "collation": "utf8mb4_general_ci",
  6349. "isNullable": true,
  6350. "defaultType": "Null",
  6351. "defaultValue": "",
  6352. "isOnUpdateCurrentTimestamp": false,
  6353. "isAutoInc": false,
  6354. "comment": "文章扩展字段配置",
  6355. "columnFormat": "",
  6356. "storage": "",
  6357. "isVirtual": false,
  6358. "isGeneratedAlways": false,
  6359. "virtualExpr": "",
  6360. "virtualType": "",
  6361. "oldName": "ext_article_form_config"
  6362. },
  6363. {
  6364. "objectType": "TableField_MYSQL",
  6365. "name": "content",
  6366. "type": "mediumtext",
  6367. "length": 0,
  6368. "decimals": 0,
  6369. "isUnsigned": false,
  6370. "isZeroFill": false,
  6371. "setEnumValues": "",
  6372. "isBinary": false,
  6373. "charset": "utf8mb4",
  6374. "collation": "utf8mb4_general_ci",
  6375. "isNullable": true,
  6376. "defaultType": "Null",
  6377. "defaultValue": "",
  6378. "isOnUpdateCurrentTimestamp": false,
  6379. "isAutoInc": false,
  6380. "comment": "富文本",
  6381. "columnFormat": "",
  6382. "storage": "",
  6383. "isVirtual": false,
  6384. "isGeneratedAlways": false,
  6385. "virtualExpr": "",
  6386. "virtualType": "",
  6387. "oldName": "content"
  6388. },
  6389. {
  6390. "objectType": "TableField_MYSQL",
  6391. "name": "create_time",
  6392. "type": "datetime",
  6393. "length": 3,
  6394. "decimals": 0,
  6395. "isUnsigned": false,
  6396. "isZeroFill": false,
  6397. "setEnumValues": "",
  6398. "isBinary": false,
  6399. "charset": "",
  6400. "collation": "",
  6401. "isNullable": true,
  6402. "defaultType": "Null",
  6403. "defaultValue": "",
  6404. "isOnUpdateCurrentTimestamp": false,
  6405. "isAutoInc": false,
  6406. "comment": "创建时间",
  6407. "columnFormat": "",
  6408. "storage": "",
  6409. "isVirtual": false,
  6410. "isGeneratedAlways": false,
  6411. "virtualExpr": "",
  6412. "virtualType": "",
  6413. "oldName": "create_time"
  6414. },
  6415. {
  6416. "objectType": "TableField_MYSQL",
  6417. "name": "update_time",
  6418. "type": "datetime",
  6419. "length": 3,
  6420. "decimals": 0,
  6421. "isUnsigned": false,
  6422. "isZeroFill": false,
  6423. "setEnumValues": "",
  6424. "isBinary": false,
  6425. "charset": "",
  6426. "collation": "",
  6427. "isNullable": true,
  6428. "defaultType": "Null",
  6429. "defaultValue": "",
  6430. "isOnUpdateCurrentTimestamp": false,
  6431. "isAutoInc": false,
  6432. "comment": "更新时间",
  6433. "columnFormat": "",
  6434. "storage": "",
  6435. "isVirtual": false,
  6436. "isGeneratedAlways": false,
  6437. "virtualExpr": "",
  6438. "virtualType": "",
  6439. "oldName": "update_time"
  6440. },
  6441. {
  6442. "objectType": "TableField_MYSQL",
  6443. "name": "is_deleted",
  6444. "type": "tinyint",
  6445. "length": 1,
  6446. "decimals": 0,
  6447. "isUnsigned": true,
  6448. "isZeroFill": false,
  6449. "setEnumValues": "",
  6450. "isBinary": false,
  6451. "charset": "",
  6452. "collation": "",
  6453. "isNullable": true,
  6454. "defaultType": "Others",
  6455. "defaultValue": "1",
  6456. "isOnUpdateCurrentTimestamp": false,
  6457. "isAutoInc": false,
  6458. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  6459. "columnFormat": "",
  6460. "storage": "",
  6461. "isVirtual": false,
  6462. "isGeneratedAlways": false,
  6463. "virtualExpr": "",
  6464. "virtualType": "",
  6465. "oldName": "is_deleted"
  6466. }
  6467. ],
  6468. "indexes": [],
  6469. "primaryKey": {
  6470. "objectType": "PrimaryKey_MYSQL",
  6471. "name": "",
  6472. "fields": [
  6473. {
  6474. "objectType": "IndexField_MYSQL",
  6475. "name": "id",
  6476. "keyLength": 0,
  6477. "order": "",
  6478. "oldName": "id"
  6479. }
  6480. ],
  6481. "oldName": "",
  6482. "indexMethod": "BTREE",
  6483. "comment": ""
  6484. },
  6485. "foreignKeys": [
  6486. {
  6487. "objectType": "ForeignKey_MYSQL",
  6488. "name": "fk_cu_user_id",
  6489. "fields": [
  6490. "user_id"
  6491. ],
  6492. "referenceSchema": "mldong",
  6493. "referenceTable": "sys_user",
  6494. "referenceFields": [
  6495. "id"
  6496. ],
  6497. "onDelete": "",
  6498. "onUpdate": "",
  6499. "sourceCardinality": "ZeroOrManyRelationship",
  6500. "targetCardinality": "OneAndOnlyOneRelationship",
  6501. "oldName": ""
  6502. },
  6503. {
  6504. "objectType": "ForeignKey_MYSQL",
  6505. "name": "fk_cd_dept_id",
  6506. "fields": [
  6507. "dept_id"
  6508. ],
  6509. "referenceSchema": "mldong",
  6510. "referenceTable": "sys_dept",
  6511. "referenceFields": [
  6512. "id"
  6513. ],
  6514. "onDelete": "",
  6515. "onUpdate": "",
  6516. "sourceCardinality": "ZeroOrManyRelationship",
  6517. "targetCardinality": "OneAndOnlyOneRelationship",
  6518. "oldName": ""
  6519. },
  6520. {
  6521. "objectType": "ForeignKey_MYSQL",
  6522. "name": "fk_cc_parent_id",
  6523. "fields": [
  6524. "parent_id"
  6525. ],
  6526. "referenceSchema": "mldong",
  6527. "referenceTable": "cms_category",
  6528. "referenceFields": [
  6529. "id"
  6530. ],
  6531. "onDelete": "",
  6532. "onUpdate": "",
  6533. "sourceCardinality": "OneAndOnlyOneRelationship",
  6534. "targetCardinality": "ZeroOrManyRelationship",
  6535. "oldName": ""
  6536. }
  6537. ],
  6538. "triggers": [],
  6539. "tablePartitions": []
  6540. },
  6541. {
  6542. "objectType": "Table_MYSQL",
  6543. "name": "sys_dict_item",
  6544. "comment": "字典项",
  6545. "engine": "InnoDB",
  6546. "characterSet": "utf8mb4",
  6547. "collation": "utf8mb4_general_ci",
  6548. "autoIncrement": 12,
  6549. "tablespace": "",
  6550. "storage": "",
  6551. "insertMethod": "",
  6552. "connection": "",
  6553. "checksum": false,
  6554. "rowFormat": "Dynamic",
  6555. "avgRowLength": 0,
  6556. "maxRows": 0,
  6557. "minRows": 0,
  6558. "keyBlockSize": 0,
  6559. "packKeys": "",
  6560. "delayKeyWrite": false,
  6561. "dataDirectory": "",
  6562. "indexDirectory": "",
  6563. "statsAutoRecalc": "",
  6564. "statsPersistent": "",
  6565. "statsSamplePages": 0,
  6566. "union": "",
  6567. "pageCheckSum": false,
  6568. "transactional": false,
  6569. "compression": "",
  6570. "oldName": "sys_dict_item",
  6571. "encryption": false,
  6572. "createOptions": "",
  6573. "createTime": "2020-06-14 11:43:27",
  6574. "checkTime": "",
  6575. "dataFree": 0,
  6576. "dataLength": 16384,
  6577. "indexLength": 0,
  6578. "maxDataLength": 0,
  6579. "rows": 11,
  6580. "updateTime": "2021-01-22 15:28:29",
  6581. "DDL": "CREATE TABLE `sys_dict_item` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `dict_id` bigint(20) unsigned NOT NULL COMMENT '字典id',\n `name` varchar(32) NOT NULL COMMENT '名称',\n `dict_item_value` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '值',\n `sort` double(10,2) unsigned DEFAULT '10.00' COMMENT '排序',\n `remark` varchar(255) DEFAULT NULL,\n `create_time` datetime(3) NOT NULL COMMENT '创建时间',\n `update_time` datetime(3) NOT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COMMENT='字典项'",
  6582. "partitionBy": "",
  6583. "partitionByExpr": "",
  6584. "partitions": 0,
  6585. "partitionKeyAlgorithm": "",
  6586. "subPartitionBy": "",
  6587. "subPartitionByExpr": "",
  6588. "subPartitions": 0,
  6589. "subPartitionKeyAlgorithm": "",
  6590. "fields": [
  6591. {
  6592. "objectType": "TableField_MYSQL",
  6593. "name": "id",
  6594. "type": "bigint",
  6595. "length": 20,
  6596. "decimals": 0,
  6597. "isUnsigned": true,
  6598. "isZeroFill": false,
  6599. "setEnumValues": "",
  6600. "isBinary": false,
  6601. "charset": "",
  6602. "collation": "",
  6603. "isNullable": false,
  6604. "defaultType": "Others",
  6605. "defaultValue": "",
  6606. "isOnUpdateCurrentTimestamp": false,
  6607. "isAutoInc": true,
  6608. "comment": "主键",
  6609. "columnFormat": "",
  6610. "storage": "",
  6611. "isVirtual": false,
  6612. "isGeneratedAlways": false,
  6613. "virtualExpr": "",
  6614. "virtualType": "",
  6615. "oldName": "id"
  6616. },
  6617. {
  6618. "objectType": "TableField_MYSQL",
  6619. "name": "dict_id",
  6620. "type": "bigint",
  6621. "length": 20,
  6622. "decimals": 0,
  6623. "isUnsigned": true,
  6624. "isZeroFill": false,
  6625. "setEnumValues": "",
  6626. "isBinary": false,
  6627. "charset": "",
  6628. "collation": "",
  6629. "isNullable": false,
  6630. "defaultType": "Others",
  6631. "defaultValue": "",
  6632. "isOnUpdateCurrentTimestamp": false,
  6633. "isAutoInc": false,
  6634. "comment": "字典id",
  6635. "columnFormat": "",
  6636. "storage": "",
  6637. "isVirtual": false,
  6638. "isGeneratedAlways": false,
  6639. "virtualExpr": "",
  6640. "virtualType": "",
  6641. "oldName": "dict_id"
  6642. },
  6643. {
  6644. "objectType": "TableField_MYSQL",
  6645. "name": "name",
  6646. "type": "varchar",
  6647. "length": 32,
  6648. "decimals": 0,
  6649. "isUnsigned": false,
  6650. "isZeroFill": false,
  6651. "setEnumValues": "",
  6652. "isBinary": false,
  6653. "charset": "utf8mb4",
  6654. "collation": "utf8mb4_general_ci",
  6655. "isNullable": false,
  6656. "defaultType": "Others",
  6657. "defaultValue": "",
  6658. "isOnUpdateCurrentTimestamp": false,
  6659. "isAutoInc": false,
  6660. "comment": "名称",
  6661. "columnFormat": "",
  6662. "storage": "",
  6663. "isVirtual": false,
  6664. "isGeneratedAlways": false,
  6665. "virtualExpr": "",
  6666. "virtualType": "",
  6667. "oldName": "name"
  6668. },
  6669. {
  6670. "objectType": "TableField_MYSQL",
  6671. "name": "dict_item_value",
  6672. "type": "int",
  6673. "length": 10,
  6674. "decimals": 0,
  6675. "isUnsigned": true,
  6676. "isZeroFill": false,
  6677. "setEnumValues": "",
  6678. "isBinary": false,
  6679. "charset": "",
  6680. "collation": "",
  6681. "isNullable": false,
  6682. "defaultType": "Others",
  6683. "defaultValue": "1",
  6684. "isOnUpdateCurrentTimestamp": false,
  6685. "isAutoInc": false,
  6686. "comment": "值",
  6687. "columnFormat": "",
  6688. "storage": "",
  6689. "isVirtual": false,
  6690. "isGeneratedAlways": false,
  6691. "virtualExpr": "",
  6692. "virtualType": "",
  6693. "oldName": "dict_item_value"
  6694. },
  6695. {
  6696. "objectType": "TableField_MYSQL",
  6697. "name": "sort",
  6698. "type": "double",
  6699. "length": 10,
  6700. "decimals": 2,
  6701. "isUnsigned": true,
  6702. "isZeroFill": false,
  6703. "setEnumValues": "",
  6704. "isBinary": false,
  6705. "charset": "",
  6706. "collation": "",
  6707. "isNullable": true,
  6708. "defaultType": "Others",
  6709. "defaultValue": "10.00",
  6710. "isOnUpdateCurrentTimestamp": false,
  6711. "isAutoInc": false,
  6712. "comment": "排序",
  6713. "columnFormat": "",
  6714. "storage": "",
  6715. "isVirtual": false,
  6716. "isGeneratedAlways": false,
  6717. "virtualExpr": "",
  6718. "virtualType": "",
  6719. "oldName": "sort"
  6720. },
  6721. {
  6722. "objectType": "TableField_MYSQL",
  6723. "name": "remark",
  6724. "type": "varchar",
  6725. "length": 255,
  6726. "decimals": 0,
  6727. "isUnsigned": false,
  6728. "isZeroFill": false,
  6729. "setEnumValues": "",
  6730. "isBinary": false,
  6731. "charset": "utf8mb4",
  6732. "collation": "utf8mb4_general_ci",
  6733. "isNullable": true,
  6734. "defaultType": "Null",
  6735. "defaultValue": "",
  6736. "isOnUpdateCurrentTimestamp": false,
  6737. "isAutoInc": false,
  6738. "comment": "备注",
  6739. "columnFormat": "",
  6740. "storage": "",
  6741. "isVirtual": false,
  6742. "isGeneratedAlways": false,
  6743. "virtualExpr": "",
  6744. "virtualType": "",
  6745. "oldName": "remark"
  6746. },
  6747. {
  6748. "objectType": "TableField_MYSQL",
  6749. "name": "create_time",
  6750. "type": "datetime",
  6751. "length": 3,
  6752. "decimals": 0,
  6753. "isUnsigned": false,
  6754. "isZeroFill": false,
  6755. "setEnumValues": "",
  6756. "isBinary": false,
  6757. "charset": "",
  6758. "collation": "",
  6759. "isNullable": false,
  6760. "defaultType": "Others",
  6761. "defaultValue": "",
  6762. "isOnUpdateCurrentTimestamp": false,
  6763. "isAutoInc": false,
  6764. "comment": "创建时间",
  6765. "columnFormat": "",
  6766. "storage": "",
  6767. "isVirtual": false,
  6768. "isGeneratedAlways": false,
  6769. "virtualExpr": "",
  6770. "virtualType": "",
  6771. "oldName": "create_time"
  6772. },
  6773. {
  6774. "objectType": "TableField_MYSQL",
  6775. "name": "update_time",
  6776. "type": "datetime",
  6777. "length": 3,
  6778. "decimals": 0,
  6779. "isUnsigned": false,
  6780. "isZeroFill": false,
  6781. "setEnumValues": "",
  6782. "isBinary": false,
  6783. "charset": "",
  6784. "collation": "",
  6785. "isNullable": false,
  6786. "defaultType": "Others",
  6787. "defaultValue": "",
  6788. "isOnUpdateCurrentTimestamp": false,
  6789. "isAutoInc": false,
  6790. "comment": "更新时间",
  6791. "columnFormat": "",
  6792. "storage": "",
  6793. "isVirtual": false,
  6794. "isGeneratedAlways": false,
  6795. "virtualExpr": "",
  6796. "virtualType": "",
  6797. "oldName": "update_time"
  6798. },
  6799. {
  6800. "objectType": "TableField_MYSQL",
  6801. "name": "is_deleted",
  6802. "type": "tinyint",
  6803. "length": 1,
  6804. "decimals": 0,
  6805. "isUnsigned": true,
  6806. "isZeroFill": false,
  6807. "setEnumValues": "",
  6808. "isBinary": false,
  6809. "charset": "",
  6810. "collation": "",
  6811. "isNullable": false,
  6812. "defaultType": "Others",
  6813. "defaultValue": "1",
  6814. "isOnUpdateCurrentTimestamp": false,
  6815. "isAutoInc": false,
  6816. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  6817. "columnFormat": "",
  6818. "storage": "",
  6819. "isVirtual": false,
  6820. "isGeneratedAlways": false,
  6821. "virtualExpr": "",
  6822. "virtualType": "",
  6823. "oldName": "is_deleted"
  6824. }
  6825. ],
  6826. "indexes": [],
  6827. "primaryKey": {
  6828. "objectType": "PrimaryKey_MYSQL",
  6829. "name": "",
  6830. "fields": [
  6831. {
  6832. "objectType": "IndexField_MYSQL",
  6833. "name": "id",
  6834. "keyLength": 0,
  6835. "order": "",
  6836. "oldName": "id"
  6837. }
  6838. ],
  6839. "oldName": "",
  6840. "indexMethod": "BTREE",
  6841. "comment": ""
  6842. },
  6843. "foreignKeys": [
  6844. {
  6845. "objectType": "ForeignKey_MYSQL",
  6846. "name": "fk_di_dict_id",
  6847. "fields": [
  6848. "dict_id"
  6849. ],
  6850. "referenceSchema": "mldong",
  6851. "referenceTable": "sys_dict",
  6852. "referenceFields": [
  6853. "id"
  6854. ],
  6855. "onDelete": "",
  6856. "onUpdate": "",
  6857. "sourceCardinality": "ZeroOrManyRelationship",
  6858. "targetCardinality": "OneAndOnlyOneRelationship",
  6859. "oldName": ""
  6860. }
  6861. ],
  6862. "triggers": [],
  6863. "tablePartitions": []
  6864. },
  6865. {
  6866. "objectType": "Table_MYSQL",
  6867. "name": "sys_post",
  6868. "comment": "岗位",
  6869. "engine": "InnoDB",
  6870. "characterSet": "utf8mb4",
  6871. "collation": "utf8mb4_general_ci",
  6872. "autoIncrement": 5,
  6873. "tablespace": "",
  6874. "storage": "",
  6875. "insertMethod": "",
  6876. "connection": "",
  6877. "checksum": false,
  6878. "rowFormat": "Dynamic",
  6879. "avgRowLength": 0,
  6880. "maxRows": 0,
  6881. "minRows": 0,
  6882. "keyBlockSize": 0,
  6883. "packKeys": "",
  6884. "delayKeyWrite": false,
  6885. "dataDirectory": "",
  6886. "indexDirectory": "",
  6887. "statsAutoRecalc": "",
  6888. "statsPersistent": "",
  6889. "statsSamplePages": 0,
  6890. "union": "",
  6891. "pageCheckSum": false,
  6892. "transactional": false,
  6893. "compression": "",
  6894. "oldName": "sys_post",
  6895. "encryption": false,
  6896. "createOptions": "row_format=DYNAMIC",
  6897. "createTime": "2020-10-24 19:02:50",
  6898. "checkTime": "",
  6899. "dataFree": 0,
  6900. "dataLength": 16384,
  6901. "indexLength": 0,
  6902. "maxDataLength": 0,
  6903. "rows": 4,
  6904. "updateTime": "",
  6905. "DDL": "CREATE TABLE `sys_post` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',\n `name` varchar(100) NOT NULL COMMENT '岗位名称',\n `code` varchar(30) NOT NULL COMMENT '岗位编号',\n `sort` double(10,2) unsigned DEFAULT '10.00' COMMENT '排序',\n `is_enabled` tinyint(1) unsigned DEFAULT '2' COMMENT '是否启用(1->禁用|NO,2->启用|YES)',\n `create_time` datetime(3) DEFAULT NULL COMMENT '创建时间',\n `update_time` datetime(3) DEFAULT NULL COMMENT '更新时间',\n `is_deleted` tinyint(1) unsigned DEFAULT '1' COMMENT '是否删除(1->未删除|NO,2->已删除|YES)',\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC",
  6906. "partitionBy": "",
  6907. "partitionByExpr": "",
  6908. "partitions": 0,
  6909. "partitionKeyAlgorithm": "",
  6910. "subPartitionBy": "",
  6911. "subPartitionByExpr": "",
  6912. "subPartitions": 0,
  6913. "subPartitionKeyAlgorithm": "",
  6914. "fields": [
  6915. {
  6916. "objectType": "TableField_MYSQL",
  6917. "name": "id",
  6918. "type": "bigint",
  6919. "length": 20,
  6920. "decimals": 0,
  6921. "isUnsigned": true,
  6922. "isZeroFill": false,
  6923. "setEnumValues": "",
  6924. "isBinary": false,
  6925. "charset": "",
  6926. "collation": "",
  6927. "isNullable": false,
  6928. "defaultType": "Others",
  6929. "defaultValue": "",
  6930. "isOnUpdateCurrentTimestamp": false,
  6931. "isAutoInc": true,
  6932. "comment": "主键",
  6933. "columnFormat": "",
  6934. "storage": "",
  6935. "isVirtual": false,
  6936. "isGeneratedAlways": false,
  6937. "virtualExpr": "",
  6938. "virtualType": "",
  6939. "oldName": "id"
  6940. },
  6941. {
  6942. "objectType": "TableField_MYSQL",
  6943. "name": "name",
  6944. "type": "varchar",
  6945. "length": 100,
  6946. "decimals": 0,
  6947. "isUnsigned": false,
  6948. "isZeroFill": false,
  6949. "setEnumValues": "",
  6950. "isBinary": false,
  6951. "charset": "utf8mb4",
  6952. "collation": "utf8mb4_general_ci",
  6953. "isNullable": false,
  6954. "defaultType": "Others",
  6955. "defaultValue": "",
  6956. "isOnUpdateCurrentTimestamp": false,
  6957. "isAutoInc": false,
  6958. "comment": "岗位名称",
  6959. "columnFormat": "",
  6960. "storage": "",
  6961. "isVirtual": false,
  6962. "isGeneratedAlways": false,
  6963. "virtualExpr": "",
  6964. "virtualType": "",
  6965. "oldName": "name"
  6966. },
  6967. {
  6968. "objectType": "TableField_MYSQL",
  6969. "name": "code",
  6970. "type": "varchar",
  6971. "length": 30,
  6972. "decimals": 0,
  6973. "isUnsigned": false,
  6974. "isZeroFill": false,
  6975. "setEnumValues": "",
  6976. "isBinary": false,
  6977. "charset": "utf8mb4",
  6978. "collation": "utf8mb4_general_ci",
  6979. "isNullable": false,
  6980. "defaultType": "Others",
  6981. "defaultValue": "",
  6982. "isOnUpdateCurrentTimestamp": false,
  6983. "isAutoInc": false,
  6984. "comment": "岗位编号",
  6985. "columnFormat": "",
  6986. "storage": "",
  6987. "isVirtual": false,
  6988. "isGeneratedAlways": false,
  6989. "virtualExpr": "",
  6990. "virtualType": "",
  6991. "oldName": "code"
  6992. },
  6993. {
  6994. "objectType": "TableField_MYSQL",
  6995. "name": "sort",
  6996. "type": "double",
  6997. "length": 10,
  6998. "decimals": 2,
  6999. "isUnsigned": true,
  7000. "isZeroFill": false,
  7001. "setEnumValues": "",
  7002. "isBinary": false,
  7003. "charset": "",
  7004. "collation": "",
  7005. "isNullable": true,
  7006. "defaultType": "Others",
  7007. "defaultValue": "10.00",
  7008. "isOnUpdateCurrentTimestamp": false,
  7009. "isAutoInc": false,
  7010. "comment": "排序",
  7011. "columnFormat": "",
  7012. "storage": "",
  7013. "isVirtual": false,
  7014. "isGeneratedAlways": false,
  7015. "virtualExpr": "",
  7016. "virtualType": "",
  7017. "oldName": "sort"
  7018. },
  7019. {
  7020. "objectType": "TableField_MYSQL",
  7021. "name": "is_enabled",
  7022. "type": "tinyint",
  7023. "length": 1,
  7024. "decimals": 0,
  7025. "isUnsigned": true,
  7026. "isZeroFill": false,
  7027. "setEnumValues": "",
  7028. "isBinary": false,
  7029. "charset": "",
  7030. "collation": "",
  7031. "isNullable": true,
  7032. "defaultType": "Others",
  7033. "defaultValue": "2",
  7034. "isOnUpdateCurrentTimestamp": false,
  7035. "isAutoInc": false,
  7036. "comment": "是否启用(1->禁用|NO,2->启用|YES)",
  7037. "columnFormat": "",
  7038. "storage": "",
  7039. "isVirtual": false,
  7040. "isGeneratedAlways": false,
  7041. "virtualExpr": "",
  7042. "virtualType": "",
  7043. "oldName": "is_enabled"
  7044. },
  7045. {
  7046. "objectType": "TableField_MYSQL",
  7047. "name": "create_time",
  7048. "type": "datetime",
  7049. "length": 3,
  7050. "decimals": 0,
  7051. "isUnsigned": false,
  7052. "isZeroFill": false,
  7053. "setEnumValues": "",
  7054. "isBinary": false,
  7055. "charset": "",
  7056. "collation": "",
  7057. "isNullable": true,
  7058. "defaultType": "Null",
  7059. "defaultValue": "",
  7060. "isOnUpdateCurrentTimestamp": false,
  7061. "isAutoInc": false,
  7062. "comment": "创建时间",
  7063. "columnFormat": "",
  7064. "storage": "",
  7065. "isVirtual": false,
  7066. "isGeneratedAlways": false,
  7067. "virtualExpr": "",
  7068. "virtualType": "",
  7069. "oldName": "create_time"
  7070. },
  7071. {
  7072. "objectType": "TableField_MYSQL",
  7073. "name": "update_time",
  7074. "type": "datetime",
  7075. "length": 3,
  7076. "decimals": 0,
  7077. "isUnsigned": false,
  7078. "isZeroFill": false,
  7079. "setEnumValues": "",
  7080. "isBinary": false,
  7081. "charset": "",
  7082. "collation": "",
  7083. "isNullable": true,
  7084. "defaultType": "Null",
  7085. "defaultValue": "",
  7086. "isOnUpdateCurrentTimestamp": false,
  7087. "isAutoInc": false,
  7088. "comment": "更新时间",
  7089. "columnFormat": "",
  7090. "storage": "",
  7091. "isVirtual": false,
  7092. "isGeneratedAlways": false,
  7093. "virtualExpr": "",
  7094. "virtualType": "",
  7095. "oldName": "update_time"
  7096. },
  7097. {
  7098. "objectType": "TableField_MYSQL",
  7099. "name": "is_deleted",
  7100. "type": "tinyint",
  7101. "length": 1,
  7102. "decimals": 0,
  7103. "isUnsigned": true,
  7104. "isZeroFill": false,
  7105. "setEnumValues": "",
  7106. "isBinary": false,
  7107. "charset": "",
  7108. "collation": "",
  7109. "isNullable": true,
  7110. "defaultType": "Others",
  7111. "defaultValue": "1",
  7112. "isOnUpdateCurrentTimestamp": false,
  7113. "isAutoInc": false,
  7114. "comment": "是否删除(1->未删除|NO,2->已删除|YES)",
  7115. "columnFormat": "",
  7116. "storage": "",
  7117. "isVirtual": false,
  7118. "isGeneratedAlways": false,
  7119. "virtualExpr": "",
  7120. "virtualType": "",
  7121. "oldName": "is_deleted"
  7122. }
  7123. ],
  7124. "indexes": [],
  7125. "primaryKey": {
  7126. "objectType": "PrimaryKey_MYSQL",
  7127. "name": "",
  7128. "fields": [
  7129. {
  7130. "objectType": "IndexField_MYSQL",
  7131. "name": "id",
  7132. "keyLength": 0,
  7133. "order": "",
  7134. "oldName": "id"
  7135. }
  7136. ],
  7137. "oldName": "",
  7138. "indexMethod": "BTREE",
  7139. "comment": ""
  7140. },
  7141. "foreignKeys": [],
  7142. "triggers": [],
  7143. "tablePartitions": []
  7144. }
  7145. ],
  7146. "views": []
  7147. }
  7148. ]
  7149. },
  7150. "diagrams": [
  7151. {
  7152. "name": "mldong",
  7153. "paperWidth": 3,
  7154. "paperHeight": 2,
  7155. "tableFont": "Arial Unicode MS",
  7156. "tableFontSize": 14,
  7157. "isBalckWhite": false,
  7158. "showDBSchemaName": false,
  7159. "showViewRelations": true,
  7160. "notation": "default",
  7161. "showFieldComment": true,
  7162. "showTableComment": true,
  7163. "shapes": [
  7164. {
  7165. "type": "table",
  7166. "schemaName": "mldong",
  7167. "tableName": "cms_article",
  7168. "x": 830,
  7169. "y": 1120,
  7170. "width": 460,
  7171. "height": 391,
  7172. "isBold": false,
  7173. "titleColor": {
  7174. "r": 55,
  7175. "g": 131,
  7176. "b": 192,
  7177. "a": 1
  7178. }
  7179. },
  7180. {
  7181. "type": "table",
  7182. "schemaName": "mldong",
  7183. "tableName": "cms_category",
  7184. "x": 1310,
  7185. "y": 1090,
  7186. "width": 490,
  7187. "height": 451,
  7188. "isBold": false,
  7189. "titleColor": {
  7190. "r": 55,
  7191. "g": 131,
  7192. "b": 192,
  7193. "a": 1
  7194. }
  7195. },
  7196. {
  7197. "type": "table",
  7198. "schemaName": "mldong",
  7199. "tableName": "sys_config",
  7200. "x": 1180,
  7201. "y": 1960,
  7202. "width": 450,
  7203. "height": 260,
  7204. "isBold": false,
  7205. "titleColor": {
  7206. "r": 55,
  7207. "g": 131,
  7208. "b": 192,
  7209. "a": 1
  7210. }
  7211. },
  7212. {
  7213. "type": "table",
  7214. "schemaName": "mldong",
  7215. "tableName": "sys_dept",
  7216. "x": 1590,
  7217. "y": 1560,
  7218. "width": 450,
  7219. "height": 331,
  7220. "isBold": false,
  7221. "titleColor": {
  7222. "r": 55,
  7223. "g": 131,
  7224. "b": 192,
  7225. "a": 1
  7226. }
  7227. },
  7228. {
  7229. "type": "table",
  7230. "schemaName": "mldong",
  7231. "tableName": "sys_dict",
  7232. "x": 2660,
  7233. "y": 1960,
  7234. "width": 470,
  7235. "height": 220,
  7236. "isBold": false,
  7237. "titleColor": {
  7238. "r": 55,
  7239. "g": 131,
  7240. "b": 192,
  7241. "a": 1
  7242. }
  7243. },
  7244. {
  7245. "type": "table",
  7246. "schemaName": "mldong",
  7247. "tableName": "sys_dict_item",
  7248. "x": 2220,
  7249. "y": 1940,
  7250. "width": 390,
  7251. "height": 260,
  7252. "isBold": false,
  7253. "titleColor": {
  7254. "r": 55,
  7255. "g": 131,
  7256. "b": 192,
  7257. "a": 1
  7258. }
  7259. },
  7260. {
  7261. "type": "table",
  7262. "schemaName": "mldong",
  7263. "tableName": "sys_menu",
  7264. "x": 2300,
  7265. "y": 30,
  7266. "width": 460,
  7267. "height": 340,
  7268. "isBold": false,
  7269. "titleColor": {
  7270. "r": 55,
  7271. "g": 131,
  7272. "b": 192,
  7273. "a": 1
  7274. }
  7275. },
  7276. {
  7277. "type": "table",
  7278. "schemaName": "mldong",
  7279. "tableName": "sys_notice",
  7280. "x": 30,
  7281. "y": 2430,
  7282. "width": 470,
  7283. "height": 220,
  7284. "isBold": false,
  7285. "titleColor": {
  7286. "r": 55,
  7287. "g": 131,
  7288. "b": 192,
  7289. "a": 1
  7290. }
  7291. },
  7292. {
  7293. "type": "table",
  7294. "schemaName": "mldong",
  7295. "tableName": "sys_post",
  7296. "x": 1700,
  7297. "y": 1960,
  7298. "width": 460,
  7299. "height": 240,
  7300. "isBold": false,
  7301. "titleColor": {
  7302. "r": 55,
  7303. "g": 131,
  7304. "b": 192,
  7305. "a": 1
  7306. }
  7307. },
  7308. {
  7309. "type": "table",
  7310. "schemaName": "mldong",
  7311. "tableName": "sys_request_log",
  7312. "x": 30,
  7313. "y": 600,
  7314. "width": 910,
  7315. "height": 440,
  7316. "isBold": false,
  7317. "titleColor": {
  7318. "r": 55,
  7319. "g": 131,
  7320. "b": 192,
  7321. "a": 1
  7322. }
  7323. },
  7324. {
  7325. "type": "table",
  7326. "schemaName": "mldong",
  7327. "tableName": "sys_role",
  7328. "x": 1990,
  7329. "y": 660,
  7330. "width": 1080,
  7331. "height": 280,
  7332. "isBold": false,
  7333. "titleColor": {
  7334. "r": 55,
  7335. "g": 131,
  7336. "b": 192,
  7337. "a": 1
  7338. }
  7339. },
  7340. {
  7341. "type": "table",
  7342. "schemaName": "mldong",
  7343. "tableName": "sys_role_access",
  7344. "x": 3110,
  7345. "y": 700,
  7346. "width": 410,
  7347. "height": 200,
  7348. "isBold": false,
  7349. "titleColor": {
  7350. "r": 55,
  7351. "g": 131,
  7352. "b": 192,
  7353. "a": 1
  7354. }
  7355. },
  7356. {
  7357. "type": "table",
  7358. "schemaName": "mldong",
  7359. "tableName": "sys_role_dept",
  7360. "x": 2270,
  7361. "y": 1650,
  7362. "width": 480,
  7363. "height": 200,
  7364. "isBold": false,
  7365. "titleColor": {
  7366. "r": 55,
  7367. "g": 131,
  7368. "b": 192,
  7369. "a": 1
  7370. }
  7371. },
  7372. {
  7373. "type": "table",
  7374. "schemaName": "mldong",
  7375. "tableName": "sys_role_menu",
  7376. "x": 2270,
  7377. "y": 410,
  7378. "width": 510,
  7379. "height": 200,
  7380. "isBold": false,
  7381. "titleColor": {
  7382. "r": 55,
  7383. "g": 131,
  7384. "b": 192,
  7385. "a": 1
  7386. }
  7387. },
  7388. {
  7389. "type": "table",
  7390. "schemaName": "mldong",
  7391. "tableName": "sys_upload_config",
  7392. "x": 30,
  7393. "y": 1960,
  7394. "width": 550,
  7395. "height": 400,
  7396. "isBold": false,
  7397. "titleColor": {
  7398. "r": 55,
  7399. "g": 131,
  7400. "b": 192,
  7401. "a": 1
  7402. }
  7403. },
  7404. {
  7405. "type": "table",
  7406. "schemaName": "mldong",
  7407. "tableName": "sys_upload_record",
  7408. "x": 650,
  7409. "y": 1960,
  7410. "width": 460,
  7411. "height": 300,
  7412. "isBold": false,
  7413. "titleColor": {
  7414. "r": 55,
  7415. "g": 131,
  7416. "b": 192,
  7417. "a": 1
  7418. }
  7419. },
  7420. {
  7421. "type": "table",
  7422. "schemaName": "mldong",
  7423. "tableName": "sys_user",
  7424. "x": 980,
  7425. "y": 610,
  7426. "width": 490,
  7427. "height": 420,
  7428. "isBold": false,
  7429. "titleColor": {
  7430. "r": 55,
  7431. "g": 131,
  7432. "b": 192,
  7433. "a": 1
  7434. }
  7435. },
  7436. {
  7437. "type": "table",
  7438. "schemaName": "mldong",
  7439. "tableName": "sys_user_login_times",
  7440. "x": 1000,
  7441. "y": 310,
  7442. "width": 450,
  7443. "height": 220,
  7444. "isBold": false,
  7445. "titleColor": {
  7446. "r": 55,
  7447. "g": 131,
  7448. "b": 192,
  7449. "a": 1
  7450. }
  7451. },
  7452. {
  7453. "type": "table",
  7454. "schemaName": "mldong",
  7455. "tableName": "sys_user_role",
  7456. "x": 1500,
  7457. "y": 700,
  7458. "width": 450,
  7459. "height": 200,
  7460. "isBold": false,
  7461. "titleColor": {
  7462. "r": 55,
  7463. "g": 131,
  7464. "b": 192,
  7465. "a": 1
  7466. }
  7467. }
  7468. ],
  7469. "layers": [],
  7470. "relations": [
  7471. {
  7472. "name": "fk_di_dict_id",
  7473. "sourceTableName": "sys_dict_item",
  7474. "sourceSchemaName": "mldong",
  7475. "lineWidth": 1,
  7476. "visible": true,
  7477. "vertices": [
  7478. {
  7479. "x": 2625,
  7480. "y": 2070
  7481. },
  7482. {
  7483. "x": 2645,
  7484. "y": 2070
  7485. }
  7486. ],
  7487. "label": {
  7488. "x": 2615,
  7489. "y": 2022,
  7490. "width": 84,
  7491. "height": 40,
  7492. "fontName": "Arial Unicode MS",
  7493. "fontSize": 14,
  7494. "fontColor": {
  7495. "r": 51,
  7496. "g": 51,
  7497. "b": 51,
  7498. "a": 1
  7499. },
  7500. "isFontBold": false,
  7501. "isFontItalic": false,
  7502. "isVisible": false
  7503. }
  7504. },
  7505. {
  7506. "name": "fk_ur_user_id",
  7507. "sourceTableName": "sys_user_role",
  7508. "sourceSchemaName": "mldong",
  7509. "lineWidth": 1,
  7510. "visible": true,
  7511. "vertices": [
  7512. {
  7513. "x": 1485,
  7514. "y": 800
  7515. },
  7516. {
  7517. "x": 1485,
  7518. "y": 800
  7519. }
  7520. ],
  7521. "label": {
  7522. "x": 1403,
  7523. "y": 752,
  7524. "width": 92,
  7525. "height": 40,
  7526. "fontName": "Arial Unicode MS",
  7527. "fontSize": 14,
  7528. "fontColor": {
  7529. "r": 51,
  7530. "g": 51,
  7531. "b": 51,
  7532. "a": 1
  7533. },
  7534. "isFontBold": false,
  7535. "isFontItalic": false,
  7536. "isVisible": false
  7537. }
  7538. },
  7539. {
  7540. "name": "fk_ur_role_id",
  7541. "sourceTableName": "sys_user_role",
  7542. "sourceSchemaName": "mldong",
  7543. "lineWidth": 1,
  7544. "visible": true,
  7545. "vertices": [
  7546. {
  7547. "x": 1965,
  7548. "y": 800
  7549. },
  7550. {
  7551. "x": 1975,
  7552. "y": 800
  7553. }
  7554. ],
  7555. "label": {
  7556. "x": 1961,
  7557. "y": 802,
  7558. "width": 88,
  7559. "height": 40,
  7560. "fontName": "Arial Unicode MS",
  7561. "fontSize": 14,
  7562. "fontColor": {
  7563. "r": 51,
  7564. "g": 51,
  7565. "b": 51,
  7566. "a": 1
  7567. },
  7568. "isFontBold": false,
  7569. "isFontItalic": false,
  7570. "isVisible": false
  7571. }
  7572. },
  7573. {
  7574. "name": "fk_rm_role_id",
  7575. "sourceTableName": "sys_role_menu",
  7576. "sourceSchemaName": "mldong",
  7577. "lineWidth": 1,
  7578. "visible": true,
  7579. "vertices": [
  7580. {
  7581. "x": 2510,
  7582. "y": 625
  7583. },
  7584. {
  7585. "x": 2510,
  7586. "y": 645
  7587. }
  7588. ],
  7589. "label": {
  7590. "x": 2421,
  7591. "y": 565,
  7592. "width": 91,
  7593. "height": 40,
  7594. "fontName": "Arial Unicode MS",
  7595. "fontSize": 14,
  7596. "fontColor": {
  7597. "r": 51,
  7598. "g": 51,
  7599. "b": 51,
  7600. "a": 1
  7601. },
  7602. "isFontBold": false,
  7603. "isFontItalic": false,
  7604. "isVisible": false
  7605. }
  7606. },
  7607. {
  7608. "name": "fk_rm_menu_id",
  7609. "sourceTableName": "sys_role_menu",
  7610. "sourceSchemaName": "mldong",
  7611. "lineWidth": 1,
  7612. "visible": true,
  7613. "vertices": [
  7614. {
  7615. "x": 2510,
  7616. "y": 395
  7617. },
  7618. {
  7619. "x": 2510,
  7620. "y": 385
  7621. }
  7622. ],
  7623. "label": {
  7624. "x": 2410,
  7625. "y": 355,
  7626. "width": 102,
  7627. "height": 40,
  7628. "fontName": "Arial Unicode MS",
  7629. "fontSize": 14,
  7630. "fontColor": {
  7631. "r": 51,
  7632. "g": 51,
  7633. "b": 51,
  7634. "a": 1
  7635. },
  7636. "isFontBold": false,
  7637. "isFontItalic": false,
  7638. "isVisible": false
  7639. }
  7640. },
  7641. {
  7642. "name": "fk_ra_role_id",
  7643. "sourceTableName": "sys_role_access",
  7644. "sourceSchemaName": "mldong",
  7645. "lineWidth": 1,
  7646. "visible": true,
  7647. "vertices": [
  7648. {
  7649. "x": 3095,
  7650. "y": 800
  7651. },
  7652. {
  7653. "x": 3085,
  7654. "y": 800
  7655. }
  7656. ],
  7657. "label": {
  7658. "x": 3017,
  7659. "y": 752,
  7660. "width": 88,
  7661. "height": 40,
  7662. "fontName": "Arial Unicode MS",
  7663. "fontSize": 14,
  7664. "fontColor": {
  7665. "r": 51,
  7666. "g": 51,
  7667. "b": 51,
  7668. "a": 1
  7669. },
  7670. "isFontBold": false,
  7671. "isFontItalic": false,
  7672. "isVisible": false
  7673. }
  7674. },
  7675. {
  7676. "name": "fk_ac_category_id",
  7677. "sourceTableName": "cms_article",
  7678. "sourceSchemaName": "mldong",
  7679. "lineWidth": 1,
  7680. "visible": true,
  7681. "vertices": [
  7682. {
  7683. "x": 1305,
  7684. "y": 1320
  7685. },
  7686. {
  7687. "x": 1295,
  7688. "y": 1320
  7689. }
  7690. ],
  7691. "label": {
  7692. "x": 1174,
  7693. "y": 1272,
  7694. "width": 121,
  7695. "height": 40,
  7696. "fontName": "Arial Unicode MS",
  7697. "fontSize": 14,
  7698. "fontColor": {
  7699. "r": 51,
  7700. "g": 51,
  7701. "b": 51,
  7702. "a": 1
  7703. },
  7704. "isFontBold": false,
  7705. "isFontItalic": false,
  7706. "isVisible": false
  7707. }
  7708. },
  7709. {
  7710. "name": "fk_rd_role_id",
  7711. "sourceTableName": "sys_role_dept",
  7712. "sourceSchemaName": "mldong",
  7713. "lineWidth": 1,
  7714. "visible": true,
  7715. "vertices": [
  7716. {
  7717. "x": 2510,
  7718. "y": 1635
  7719. },
  7720. {
  7721. "x": 2510,
  7722. "y": 955
  7723. }
  7724. ],
  7725. "label": {
  7726. "x": 2512,
  7727. "y": 1595,
  7728. "width": 88,
  7729. "height": 40,
  7730. "fontName": "Arial Unicode MS",
  7731. "fontSize": 14,
  7732. "fontColor": {
  7733. "r": 51,
  7734. "g": 51,
  7735. "b": 51,
  7736. "a": 1
  7737. },
  7738. "isFontBold": false,
  7739. "isFontItalic": false,
  7740. "isVisible": false
  7741. }
  7742. },
  7743. {
  7744. "name": "fk_rd_dept_id",
  7745. "sourceTableName": "sys_role_dept",
  7746. "sourceSchemaName": "mldong",
  7747. "lineWidth": 1,
  7748. "visible": true,
  7749. "vertices": [
  7750. {
  7751. "x": 2255,
  7752. "y": 1750
  7753. },
  7754. {
  7755. "x": 2055,
  7756. "y": 1750
  7757. }
  7758. ],
  7759. "label": {
  7760. "x": 2265,
  7761. "y": 1702,
  7762. "width": 92,
  7763. "height": 40,
  7764. "fontName": "Arial Unicode MS",
  7765. "fontSize": 14,
  7766. "fontColor": {
  7767. "r": 51,
  7768. "g": 51,
  7769. "b": 51,
  7770. "a": 1
  7771. },
  7772. "isFontBold": false,
  7773. "isFontItalic": false,
  7774. "isVisible": false
  7775. }
  7776. },
  7777. {
  7778. "name": "fk_ult_user_id",
  7779. "sourceTableName": "sys_user_login_times",
  7780. "sourceSchemaName": "mldong",
  7781. "lineWidth": 1,
  7782. "visible": true,
  7783. "vertices": [
  7784. {
  7785. "x": 1220,
  7786. "y": 545
  7787. },
  7788. {
  7789. "x": 1220,
  7790. "y": 595
  7791. }
  7792. ],
  7793. "label": {
  7794. "x": 1128,
  7795. "y": 485,
  7796. "width": 94,
  7797. "height": 40,
  7798. "fontName": "Arial Unicode MS",
  7799. "fontSize": 14,
  7800. "fontColor": {
  7801. "r": 51,
  7802. "g": 51,
  7803. "b": 51,
  7804. "a": 1
  7805. },
  7806. "isFontBold": false,
  7807. "isFontItalic": false,
  7808. "isVisible": false
  7809. }
  7810. },
  7811. {
  7812. "name": "fk_url_user_id",
  7813. "sourceTableName": "sys_request_log",
  7814. "sourceSchemaName": "mldong",
  7815. "lineWidth": 1,
  7816. "visible": true,
  7817. "vertices": [
  7818. {
  7819. "x": 955,
  7820. "y": 800
  7821. },
  7822. {
  7823. "x": 965,
  7824. "y": 800
  7825. }
  7826. ],
  7827. "label": {
  7828. "x": 850,
  7829. "y": 752,
  7830. "width": 95,
  7831. "height": 40,
  7832. "fontName": "Arial Unicode MS",
  7833. "fontSize": 14,
  7834. "fontColor": {
  7835. "r": 51,
  7836. "g": 51,
  7837. "b": 51,
  7838. "a": 1
  7839. },
  7840. "isFontBold": false,
  7841. "isFontItalic": false,
  7842. "isVisible": false
  7843. }
  7844. },
  7845. {
  7846. "name": "fk_au_user_id",
  7847. "sourceTableName": "cms_article",
  7848. "sourceSchemaName": "mldong",
  7849. "lineWidth": 1,
  7850. "visible": true,
  7851. "vertices": [
  7852. {
  7853. "x": 1130,
  7854. "y": 1105
  7855. },
  7856. {
  7857. "x": 1130,
  7858. "y": 1045
  7859. }
  7860. ],
  7861. "label": {
  7862. "x": 1037,
  7863. "y": 1065,
  7864. "width": 95,
  7865. "height": 40,
  7866. "fontName": "Arial Unicode MS",
  7867. "fontSize": 14,
  7868. "fontColor": {
  7869. "r": 51,
  7870. "g": 51,
  7871. "b": 51,
  7872. "a": 1
  7873. },
  7874. "isFontBold": false,
  7875. "isFontItalic": false,
  7876. "isVisible": false
  7877. }
  7878. },
  7879. {
  7880. "name": "fk_cu_user_id",
  7881. "sourceTableName": "cms_category",
  7882. "sourceSchemaName": "mldong",
  7883. "lineWidth": 1,
  7884. "visible": true,
  7885. "vertices": [
  7886. {
  7887. "x": 1460,
  7888. "y": 1075
  7889. },
  7890. {
  7891. "x": 1460,
  7892. "y": 1080
  7893. },
  7894. {
  7895. "x": 1320,
  7896. "y": 1080
  7897. },
  7898. {
  7899. "x": 1320,
  7900. "y": 1045
  7901. }
  7902. ],
  7903. "label": {
  7904. "x": 1368,
  7905. "y": 1035,
  7906. "width": 94,
  7907. "height": 40,
  7908. "fontName": "Arial Unicode MS",
  7909. "fontSize": 14,
  7910. "fontColor": {
  7911. "r": 51,
  7912. "g": 51,
  7913. "b": 51,
  7914. "a": 1
  7915. },
  7916. "isFontBold": false,
  7917. "isFontItalic": false,
  7918. "isVisible": false
  7919. }
  7920. },
  7921. {
  7922. "name": "fk_cd_dept_id",
  7923. "sourceTableName": "cms_category",
  7924. "sourceSchemaName": "mldong",
  7925. "lineWidth": 1,
  7926. "visible": true,
  7927. "vertices": [
  7928. {
  7929. "x": 1815,
  7930. "y": 1370
  7931. },
  7932. {
  7933. "x": 1840,
  7934. "y": 1370
  7935. },
  7936. {
  7937. "x": 1840,
  7938. "y": 1545
  7939. }
  7940. ],
  7941. "label": {
  7942. "x": 1711,
  7943. "y": 1322,
  7944. "width": 94,
  7945. "height": 40,
  7946. "fontName": "Arial Unicode MS",
  7947. "fontSize": 14,
  7948. "fontColor": {
  7949. "r": 51,
  7950. "g": 51,
  7951. "b": 51,
  7952. "a": 1
  7953. },
  7954. "isFontBold": false,
  7955. "isFontItalic": false,
  7956. "isVisible": false
  7957. }
  7958. },
  7959. {
  7960. "name": "fk_ad_dept_id",
  7961. "sourceTableName": "cms_article",
  7962. "sourceSchemaName": "mldong",
  7963. "lineWidth": 1,
  7964. "visible": true,
  7965. "vertices": [
  7966. {
  7967. "x": 1080,
  7968. "y": 1526
  7969. },
  7970. {
  7971. "x": 1080,
  7972. "y": 1750
  7973. },
  7974. {
  7975. "x": 1575,
  7976. "y": 1750
  7977. }
  7978. ],
  7979. "label": {
  7980. "x": 1082,
  7981. "y": 1466,
  7982. "width": 95,
  7983. "height": 40,
  7984. "fontName": "Arial Unicode MS",
  7985. "fontSize": 14,
  7986. "fontColor": {
  7987. "r": 51,
  7988. "g": 51,
  7989. "b": 51,
  7990. "a": 1
  7991. },
  7992. "isFontBold": false,
  7993. "isFontItalic": false,
  7994. "isVisible": false
  7995. }
  7996. },
  7997. {
  7998. "name": "fk_mm_parent_id",
  7999. "sourceTableName": "sys_menu",
  8000. "sourceSchemaName": "mldong",
  8001. "lineWidth": 1,
  8002. "visible": true,
  8003. "vertices": [
  8004. {
  8005. "x": 2775,
  8006. "y": 350
  8007. },
  8008. {
  8009. "x": 2790,
  8010. "y": 350
  8011. },
  8012. {
  8013. "x": 2790,
  8014. "y": 410
  8015. },
  8016. {
  8017. "x": 2730,
  8018. "y": 410
  8019. },
  8020. {
  8021. "x": 2730,
  8022. "y": 385
  8023. }
  8024. ],
  8025. "label": {
  8026. "x": 2765,
  8027. "y": 302,
  8028. "width": 114,
  8029. "height": 40,
  8030. "fontName": "Arial Unicode MS",
  8031. "fontSize": 14,
  8032. "fontColor": {
  8033. "r": 51,
  8034. "g": 51,
  8035. "b": 51,
  8036. "a": 1
  8037. },
  8038. "isFontBold": false,
  8039. "isFontItalic": false,
  8040. "isVisible": false
  8041. }
  8042. },
  8043. {
  8044. "name": "fk_cc_parent_id",
  8045. "sourceTableName": "cms_category",
  8046. "sourceSchemaName": "mldong",
  8047. "lineWidth": 1,
  8048. "visible": true,
  8049. "vertices": [
  8050. {
  8051. "x": 1815,
  8052. "y": 1520
  8053. },
  8054. {
  8055. "x": 1840,
  8056. "y": 1520
  8057. },
  8058. {
  8059. "x": 1840,
  8060. "y": 1580
  8061. },
  8062. {
  8063. "x": 1780,
  8064. "y": 1580
  8065. },
  8066. {
  8067. "x": 1780,
  8068. "y": 1556
  8069. }
  8070. ],
  8071. "label": {
  8072. "x": 1805,
  8073. "y": 1472,
  8074. "width": 106,
  8075. "height": 40,
  8076. "fontName": "Arial Unicode MS",
  8077. "fontSize": 14,
  8078. "fontColor": {
  8079. "r": 51,
  8080. "g": 51,
  8081. "b": 51,
  8082. "a": 1
  8083. },
  8084. "isFontBold": false,
  8085. "isFontItalic": false,
  8086. "isVisible": false
  8087. }
  8088. }
  8089. ],
  8090. "viewRelations": []
  8091. }
  8092. ]
  8093. }