WebCMSEntities.cs 510 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373
  1. using System;
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Metadata;
  4. namespace MySystem.PxcModels
  5. {
  6. public partial class WebCMSEntities : DbContext
  7. {
  8. public WebCMSEntities()
  9. {
  10. }
  11. public WebCMSEntities(DbContextOptions<WebCMSEntities> options)
  12. : base(options)
  13. {
  14. }
  15. public virtual DbSet<ActiveReward> ActiveReward { get; set; }
  16. public virtual DbSet<ActivityEnrolRecord> ActivityEnrolRecord { get; set; }
  17. public virtual DbSet<ActivityInfo> ActivityInfo { get; set; }
  18. public virtual DbSet<ActivityPrizeDetail> ActivityPrizeDetail { get; set; }
  19. public virtual DbSet<Advertisment> Advertisment { get; set; }
  20. public virtual DbSet<AgentLevelSet> AgentLevelSet { get; set; }
  21. public virtual DbSet<AppBottomNavs> AppBottomNavs { get; set; }
  22. public virtual DbSet<AppVersion> AppVersion { get; set; }
  23. public virtual DbSet<AppVideo> AppVideo { get; set; }
  24. public virtual DbSet<AppVideoList> AppVideoList { get; set; }
  25. public virtual DbSet<BankInfo> BankInfo { get; set; }
  26. public virtual DbSet<Col> Col { get; set; }
  27. public virtual DbSet<ConsumerOpenIds> ConsumerOpenIds { get; set; }
  28. public virtual DbSet<ConsumerOrderForNo> ConsumerOrderForNo { get; set; }
  29. public virtual DbSet<ConsumerOrders> ConsumerOrders { get; set; }
  30. public virtual DbSet<ConsumerProfit> ConsumerProfit { get; set; }
  31. public virtual DbSet<Consumers> Consumers { get; set; }
  32. public virtual DbSet<CouponAssignRecords> CouponAssignRecords { get; set; }
  33. public virtual DbSet<Coupons> Coupons { get; set; }
  34. public virtual DbSet<CouponsForUser> CouponsForUser { get; set; }
  35. public virtual DbSet<CustomTagSet> CustomTagSet { get; set; }
  36. public virtual DbSet<ErpCompanys> ErpCompanys { get; set; }
  37. public virtual DbSet<FileUpdateInfo> FileUpdateInfo { get; set; }
  38. public virtual DbSet<FluxProfitDetail> FluxProfitDetail { get; set; }
  39. public virtual DbSet<FluxProfitSummary> FluxProfitSummary { get; set; }
  40. public virtual DbSet<IndexIconList> IndexIconList { get; set; }
  41. public virtual DbSet<KqProductBrand> KqProductBrand { get; set; }
  42. public virtual DbSet<KqProductOrgs> KqProductOrgs { get; set; }
  43. public virtual DbSet<KqProductRuleSet> KqProductRuleSet { get; set; }
  44. public virtual DbSet<KqProducts> KqProducts { get; set; }
  45. public virtual DbSet<MachineApply> MachineApply { get; set; }
  46. public virtual DbSet<MachineApplyDetail> MachineApplyDetail { get; set; }
  47. public virtual DbSet<MachineChange> MachineChange { get; set; }
  48. public virtual DbSet<MachineChangeDetail> MachineChangeDetail { get; set; }
  49. public virtual DbSet<MachineForQrCode> MachineForQrCode { get; set; }
  50. public virtual DbSet<MachineForSnNo> MachineForSnNo { get; set; }
  51. public virtual DbSet<MachineRenew> MachineRenew { get; set; }
  52. public virtual DbSet<MachineReturn> MachineReturn { get; set; }
  53. public virtual DbSet<MenuRight> MenuRight { get; set; }
  54. public virtual DbSet<MerchantAddInfo> MerchantAddInfo { get; set; }
  55. public virtual DbSet<MerchantAdmin> MerchantAdmin { get; set; }
  56. public virtual DbSet<MerchantAuth> MerchantAuth { get; set; }
  57. public virtual DbSet<MerchantClass> MerchantClass { get; set; }
  58. public virtual DbSet<MerchantCol> MerchantCol { get; set; }
  59. public virtual DbSet<MerchantComment> MerchantComment { get; set; }
  60. public virtual DbSet<MerchantForCode> MerchantForCode { get; set; }
  61. public virtual DbSet<MerchantForMobile> MerchantForMobile { get; set; }
  62. public virtual DbSet<MerchantForName> MerchantForName { get; set; }
  63. public virtual DbSet<MerchantInfo> MerchantInfo { get; set; }
  64. public virtual DbSet<MerchantParamSet> MerchantParamSet { get; set; }
  65. public virtual DbSet<MerchantQrCode> MerchantQrCode { get; set; }
  66. public virtual DbSet<MerchantRebateDetail> MerchantRebateDetail { get; set; }
  67. public virtual DbSet<Merchants> Merchants { get; set; }
  68. public virtual DbSet<MobileCodeCheck> MobileCodeCheck { get; set; }
  69. public virtual DbSet<MsgBlackList> MsgBlackList { get; set; }
  70. public virtual DbSet<MsgPersonal> MsgPersonal { get; set; }
  71. public virtual DbSet<MsgPlacard> MsgPlacard { get; set; }
  72. public virtual DbSet<MsgPlacardRead> MsgPlacardRead { get; set; }
  73. public virtual DbSet<MsgPush> MsgPush { get; set; }
  74. public virtual DbSet<MsgSms> MsgSms { get; set; }
  75. public virtual DbSet<MsgSmsSet> MsgSmsSet { get; set; }
  76. public virtual DbSet<MsgTemplate> MsgTemplate { get; set; }
  77. public virtual DbSet<OpenBankCityTable> OpenBankCityTable { get; set; }
  78. public virtual DbSet<OpenBankTable> OpenBankTable { get; set; }
  79. public virtual DbSet<OpenReward> OpenReward { get; set; }
  80. public virtual DbSet<OpenRewardDetail> OpenRewardDetail { get; set; }
  81. public virtual DbSet<OpenSnSnapshot> OpenSnSnapshot { get; set; }
  82. public virtual DbSet<OperateLog> OperateLog { get; set; }
  83. public virtual DbSet<OperateRightList> OperateRightList { get; set; }
  84. public virtual DbSet<OrderForNo> OrderForNo { get; set; }
  85. public virtual DbSet<OrderProduct> OrderProduct { get; set; }
  86. public virtual DbSet<OrderRefund> OrderRefund { get; set; }
  87. public virtual DbSet<OrderRefundReason> OrderRefundReason { get; set; }
  88. public virtual DbSet<Orders> Orders { get; set; }
  89. public virtual DbSet<PageInfo> PageInfo { get; set; }
  90. public virtual DbSet<PageUpdateInfo> PageUpdateInfo { get; set; }
  91. public virtual DbSet<PosMachines> PosMachines { get; set; }
  92. public virtual DbSet<PosMachinesTwo> PosMachinesTwo { get; set; }
  93. public virtual DbSet<ProductComment> ProductComment { get; set; }
  94. public virtual DbSet<ProductCommentAgree> ProductCommentAgree { get; set; }
  95. public virtual DbSet<ProductFareAreas> ProductFareAreas { get; set; }
  96. public virtual DbSet<ProductFareTemp> ProductFareTemp { get; set; }
  97. public virtual DbSet<ProductKeys> ProductKeys { get; set; }
  98. public virtual DbSet<ProductNorm> ProductNorm { get; set; }
  99. public virtual DbSet<ProductNormItem> ProductNormItem { get; set; }
  100. public virtual DbSet<ProductNormTemp> ProductNormTemp { get; set; }
  101. public virtual DbSet<Products> Products { get; set; }
  102. public virtual DbSet<ProfitObjectActivations> ProfitObjectActivations { get; set; }
  103. public virtual DbSet<ProfitObjectContinueFloors> ProfitObjectContinueFloors { get; set; }
  104. public virtual DbSet<ProfitObjectFloors> ProfitObjectFloors { get; set; }
  105. public virtual DbSet<ProfitObjectLevelKinds> ProfitObjectLevelKinds { get; set; }
  106. public virtual DbSet<ProfitObjectLevels> ProfitObjectLevels { get; set; }
  107. public virtual DbSet<ProfitObjects> ProfitObjects { get; set; }
  108. public virtual DbSet<ProfitObjectsActiveCheck> ProfitObjectsActiveCheck { get; set; }
  109. public virtual DbSet<ProfitObjectsActiveParams> ProfitObjectsActiveParams { get; set; }
  110. public virtual DbSet<ProfitObjectsActives> ProfitObjectsActives { get; set; }
  111. public virtual DbSet<ProfitObjectsActivesForId> ProfitObjectsActivesForId { get; set; }
  112. public virtual DbSet<ProfitObjectsRule> ProfitObjectsRule { get; set; }
  113. public virtual DbSet<ProfitObjectsRuleDetails> ProfitObjectsRuleDetails { get; set; }
  114. public virtual DbSet<ProfitReceiveRecord> ProfitReceiveRecord { get; set; }
  115. public virtual DbSet<ProfitReceives> ProfitReceives { get; set; }
  116. public virtual DbSet<ProfitRecord> ProfitRecord { get; set; }
  117. public virtual DbSet<ProfitRewardRecord> ProfitRewardRecord { get; set; }
  118. public virtual DbSet<ProfitSubsidyDetail> ProfitSubsidyDetail { get; set; }
  119. public virtual DbSet<PublicAccountSet> PublicAccountSet { get; set; }
  120. public virtual DbSet<PullNewAct> PullNewAct { get; set; }
  121. public virtual DbSet<PullNewDetail> PullNewDetail { get; set; }
  122. public virtual DbSet<PullnewSummary> PullnewSummary { get; set; }
  123. public virtual DbSet<RightDic> RightDic { get; set; }
  124. public virtual DbSet<ServiceCenter> ServiceCenter { get; set; }
  125. public virtual DbSet<StoreBalance> StoreBalance { get; set; }
  126. public virtual DbSet<StoreChangeHistory> StoreChangeHistory { get; set; }
  127. public virtual DbSet<StoreForCode> StoreForCode { get; set; }
  128. public virtual DbSet<StoreForName> StoreForName { get; set; }
  129. public virtual DbSet<StoreHouse> StoreHouse { get; set; }
  130. public virtual DbSet<StoreMallOrderSummary> StoreMallOrderSummary { get; set; }
  131. public virtual DbSet<StoreSnActivateSummary> StoreSnActivateSummary { get; set; }
  132. public virtual DbSet<StoreStockChange> StoreStockChange { get; set; }
  133. public virtual DbSet<StoreSwapSn> StoreSwapSn { get; set; }
  134. public virtual DbSet<SysAdmin> SysAdmin { get; set; }
  135. public virtual DbSet<SysAdminRole> SysAdminRole { get; set; }
  136. public virtual DbSet<SysLog> SysLog { get; set; }
  137. public virtual DbSet<SysRechargeRecord> SysRechargeRecord { get; set; }
  138. public virtual DbSet<SystemSet> SystemSet { get; set; }
  139. public virtual DbSet<TeamApply> TeamApply { get; set; }
  140. public virtual DbSet<TeamApplyForTeamName> TeamApplyForTeamName { get; set; }
  141. public virtual DbSet<TeamApplyForTeamNo> TeamApplyForTeamNo { get; set; }
  142. public virtual DbSet<TeamBlackList> TeamBlackList { get; set; }
  143. public virtual DbSet<TeamConfig> TeamConfig { get; set; }
  144. public virtual DbSet<TeamDayTop> TeamDayTop { get; set; }
  145. public virtual DbSet<TeamOfferApply> TeamOfferApply { get; set; }
  146. public virtual DbSet<TeamPersonDayTop> TeamPersonDayTop { get; set; }
  147. public virtual DbSet<TradeDaySummary> TradeDaySummary { get; set; }
  148. public virtual DbSet<TradeRecord> TradeRecord { get; set; }
  149. public virtual DbSet<UploadParams> UploadParams { get; set; }
  150. public virtual DbSet<UserAccount> UserAccount { get; set; }
  151. public virtual DbSet<UserAccountRecord> UserAccountRecord { get; set; }
  152. public virtual DbSet<UserAddress> UserAddress { get; set; }
  153. public virtual DbSet<UserAuthRecord> UserAuthRecord { get; set; }
  154. public virtual DbSet<UserBack> UserBack { get; set; }
  155. public virtual DbSet<UserBackKind> UserBackKind { get; set; }
  156. public virtual DbSet<UserBalanceTop> UserBalanceTop { get; set; }
  157. public virtual DbSet<UserCar> UserCar { get; set; }
  158. public virtual DbSet<UserCardForWeChat> UserCardForWeChat { get; set; }
  159. public virtual DbSet<UserCardRecord> UserCardRecord { get; set; }
  160. public virtual DbSet<UserCashRecord> UserCashRecord { get; set; }
  161. public virtual DbSet<UserCenterIconList> UserCenterIconList { get; set; }
  162. public virtual DbSet<UserCollection> UserCollection { get; set; }
  163. public virtual DbSet<UserData> UserData { get; set; }
  164. public virtual DbSet<UserDetail> UserDetail { get; set; }
  165. public virtual DbSet<UserFamilyMember> UserFamilyMember { get; set; }
  166. public virtual DbSet<UserForMakerCode> UserForMakerCode { get; set; }
  167. public virtual DbSet<UserForMobile> UserForMobile { get; set; }
  168. public virtual DbSet<UserForRealName> UserForRealName { get; set; }
  169. public virtual DbSet<UserFriend> UserFriend { get; set; }
  170. public virtual DbSet<UserGroup> UserGroup { get; set; }
  171. public virtual DbSet<UserLevelSet> UserLevelSet { get; set; }
  172. public virtual DbSet<UserLoginRecord> UserLoginRecord { get; set; }
  173. public virtual DbSet<UserMachineData> UserMachineData { get; set; }
  174. public virtual DbSet<UserMallLargeSn> UserMallLargeSn { get; set; }
  175. public virtual DbSet<UserOfflineSignInRecords> UserOfflineSignInRecords { get; set; }
  176. public virtual DbSet<UserProfit> UserProfit { get; set; }
  177. public virtual DbSet<UserProfitSet> UserProfitSet { get; set; }
  178. public virtual DbSet<UserProfitSubsidySummary> UserProfitSubsidySummary { get; set; }
  179. public virtual DbSet<UserRank> UserRank { get; set; }
  180. public virtual DbSet<UserRankWhite> UserRankWhite { get; set; }
  181. public virtual DbSet<UserRebateDetail> UserRebateDetail { get; set; }
  182. public virtual DbSet<UserSnActInfo> UserSnActInfo { get; set; }
  183. public virtual DbSet<UserSnDelayChange> UserSnDelayChange { get; set; }
  184. public virtual DbSet<UserStoreChange> UserStoreChange { get; set; }
  185. public virtual DbSet<UserSwapDetail> UserSwapDetail { get; set; }
  186. public virtual DbSet<UserSwapSummary> UserSwapSummary { get; set; }
  187. public virtual DbSet<UserSwapWhite> UserSwapWhite { get; set; }
  188. public virtual DbSet<UserTradeDaySummary> UserTradeDaySummary { get; set; }
  189. public virtual DbSet<UserTradeMonthSummary> UserTradeMonthSummary { get; set; }
  190. public virtual DbSet<Users> Users { get; set; }
  191. protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
  192. {
  193. if (!optionsBuilder.IsConfigured)
  194. {
  195. optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["Pxc1SqlConnStr"].ToString(), x => x.ServerVersion("5.7.17-mysql"));
  196. }
  197. }
  198. protected override void OnModelCreating(ModelBuilder modelBuilder)
  199. {
  200. modelBuilder.Entity<ActiveReward>(entity =>
  201. {
  202. entity.Property(e => e.Id).HasColumnType("int(11)");
  203. entity.Property(e => e.ActDate).HasColumnType("datetime");
  204. entity.Property(e => e.ActType).HasColumnType("int(11)");
  205. entity.Property(e => e.ActTypeDesc)
  206. .HasColumnType("varchar(64)")
  207. .HasCharSet("utf8")
  208. .HasCollation("utf8_general_ci");
  209. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  210. entity.Property(e => e.City)
  211. .HasColumnType("varchar(32)")
  212. .HasCharSet("utf8")
  213. .HasCollation("utf8_general_ci");
  214. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  215. entity.Property(e => e.CreateMan)
  216. .HasColumnType("varchar(50)")
  217. .HasCharSet("utf8")
  218. .HasCollation("utf8_general_ci");
  219. entity.Property(e => e.DirectBuddyNo).HasColumnType("int(11)");
  220. entity.Property(e => e.DivideAmount).HasColumnType("decimal(18,2)");
  221. entity.Property(e => e.KqMerNo)
  222. .HasColumnType("varchar(32)")
  223. .HasCharSet("utf8")
  224. .HasCollation("utf8_general_ci");
  225. entity.Property(e => e.KqSnNo)
  226. .HasColumnType("varchar(32)")
  227. .HasCharSet("utf8")
  228. .HasCollation("utf8_general_ci");
  229. entity.Property(e => e.MerUserId).HasColumnType("int(11)");
  230. entity.Property(e => e.MerUserNav)
  231. .HasColumnType("varchar(200)")
  232. .HasCharSet("utf8")
  233. .HasCollation("utf8_general_ci");
  234. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  235. entity.Property(e => e.ParentParentUserId).HasColumnType("int(11)");
  236. entity.Property(e => e.ParentUserId).HasColumnType("int(11)");
  237. entity.Property(e => e.Province)
  238. .HasColumnType("varchar(32)")
  239. .HasCharSet("utf8")
  240. .HasCollation("utf8_general_ci");
  241. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  242. entity.Property(e => e.Remark)
  243. .HasColumnType("varchar(64)")
  244. .HasCharSet("utf8")
  245. .HasCollation("utf8_general_ci");
  246. entity.Property(e => e.RewardAmount).HasColumnType("decimal(18,2)");
  247. entity.Property(e => e.RewardRef).HasColumnType("int(11)");
  248. entity.Property(e => e.RewardSourceUserId).HasColumnType("int(11)");
  249. entity.Property(e => e.RewardTips)
  250. .HasColumnType("varchar(16)")
  251. .HasCharSet("utf8")
  252. .HasCollation("utf8_general_ci");
  253. entity.Property(e => e.RuleRewardAmount).HasColumnType("decimal(18,2)");
  254. entity.Property(e => e.SeoDescription)
  255. .HasColumnType("varchar(500)")
  256. .HasCharSet("utf8")
  257. .HasCollation("utf8_general_ci");
  258. entity.Property(e => e.SeoKeyword)
  259. .HasColumnType("varchar(200)")
  260. .HasCharSet("utf8")
  261. .HasCollation("utf8_general_ci");
  262. entity.Property(e => e.SeoTitle)
  263. .HasColumnType("varchar(100)")
  264. .HasCharSet("utf8")
  265. .HasCollation("utf8_general_ci");
  266. entity.Property(e => e.SnApplyUserId).HasColumnType("int(11)");
  267. entity.Property(e => e.SnStoreId).HasColumnType("int(11)");
  268. entity.Property(e => e.SnType).HasColumnType("int(11)");
  269. entity.Property(e => e.Sort).HasColumnType("int(11)");
  270. entity.Property(e => e.StandardDate).HasColumnType("datetime");
  271. entity.Property(e => e.Status).HasColumnType("int(11)");
  272. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  273. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  274. entity.Property(e => e.UpdateMan)
  275. .HasColumnType("varchar(50)")
  276. .HasCharSet("utf8")
  277. .HasCollation("utf8_general_ci");
  278. entity.Property(e => e.UserId).HasColumnType("int(11)");
  279. entity.Property(e => e.UserNav)
  280. .HasColumnType("varchar(200)")
  281. .HasCharSet("utf8")
  282. .HasCollation("utf8_general_ci");
  283. entity.Property(e => e.Version).HasColumnType("int(11)");
  284. });
  285. modelBuilder.Entity<ActivityEnrolRecord>(entity =>
  286. {
  287. entity.Property(e => e.Id).HasColumnType("int(11)");
  288. entity.Property(e => e.ActId).HasColumnType("int(11)");
  289. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  290. entity.Property(e => e.CreateMan)
  291. .HasColumnType("varchar(50)")
  292. .HasCharSet("utf8")
  293. .HasCollation("utf8_general_ci");
  294. entity.Property(e => e.EffectEndTime)
  295. .HasColumnType("varchar(8)")
  296. .HasCharSet("utf8")
  297. .HasCollation("utf8_general_ci");
  298. entity.Property(e => e.EffectStartTime)
  299. .HasColumnType("varchar(8)")
  300. .HasCharSet("utf8")
  301. .HasCollation("utf8_general_ci");
  302. entity.Property(e => e.EnrolMonth)
  303. .HasColumnType("varchar(80)")
  304. .HasCharSet("utf8")
  305. .HasCollation("utf8_general_ci");
  306. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  307. entity.Property(e => e.SeoDescription)
  308. .HasColumnType("varchar(500)")
  309. .HasCharSet("utf8")
  310. .HasCollation("utf8_general_ci");
  311. entity.Property(e => e.SeoKeyword)
  312. .HasColumnType("varchar(200)")
  313. .HasCharSet("utf8")
  314. .HasCollation("utf8_general_ci");
  315. entity.Property(e => e.SeoTitle)
  316. .HasColumnType("varchar(100)")
  317. .HasCharSet("utf8")
  318. .HasCollation("utf8_general_ci");
  319. entity.Property(e => e.Sort).HasColumnType("int(11)");
  320. entity.Property(e => e.Status).HasColumnType("int(11)");
  321. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  322. entity.Property(e => e.UpdateMan)
  323. .HasColumnType("varchar(50)")
  324. .HasCharSet("utf8")
  325. .HasCollation("utf8_general_ci");
  326. entity.Property(e => e.UserId).HasColumnType("int(11)");
  327. entity.Property(e => e.Version).HasColumnType("int(11)");
  328. });
  329. modelBuilder.Entity<ActivityInfo>(entity =>
  330. {
  331. entity.Property(e => e.Id).HasColumnType("int(11)");
  332. entity.Property(e => e.ActBanner)
  333. .HasColumnType("varchar(200)")
  334. .HasCharSet("utf8")
  335. .HasCollation("utf8_general_ci");
  336. entity.Property(e => e.ActCode)
  337. .HasColumnType("varchar(32)")
  338. .HasCharSet("utf8")
  339. .HasCollation("utf8_general_ci");
  340. entity.Property(e => e.ActContent)
  341. .HasColumnType("longtext")
  342. .HasCharSet("utf8")
  343. .HasCollation("utf8_general_ci");
  344. entity.Property(e => e.ActName)
  345. .HasColumnType("varchar(128)")
  346. .HasCharSet("utf8")
  347. .HasCollation("utf8_general_ci");
  348. entity.Property(e => e.ActReferUrl)
  349. .HasColumnType("varchar(255)")
  350. .HasCharSet("utf8")
  351. .HasCollation("utf8_general_ci");
  352. entity.Property(e => e.ActType).HasColumnType("int(11)");
  353. entity.Property(e => e.BrandId)
  354. .HasColumnType("varchar(100)")
  355. .HasCharSet("utf8")
  356. .HasCollation("utf8_general_ci");
  357. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  358. entity.Property(e => e.CreateMan)
  359. .HasColumnType("varchar(50)")
  360. .HasCharSet("utf8")
  361. .HasCollation("utf8_general_ci");
  362. entity.Property(e => e.EffectEndDate).HasColumnType("datetime");
  363. entity.Property(e => e.EffectStartDate).HasColumnType("datetime");
  364. entity.Property(e => e.EnrolEndDate).HasColumnType("datetime");
  365. entity.Property(e => e.EnrolEndTime)
  366. .HasColumnType("varchar(8)")
  367. .HasCharSet("utf8")
  368. .HasCollation("utf8_general_ci");
  369. entity.Property(e => e.EnrolStartDate).HasColumnType("datetime");
  370. entity.Property(e => e.EnrolStartTime)
  371. .HasColumnType("varchar(8)")
  372. .HasCharSet("utf8")
  373. .HasCollation("utf8_general_ci");
  374. entity.Property(e => e.IsTop).HasColumnType("int(11)");
  375. entity.Property(e => e.LimitTopBuddy)
  376. .HasColumnType("varchar(255)")
  377. .HasCharSet("utf8")
  378. .HasCollation("utf8_general_ci");
  379. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  380. entity.Property(e => e.Remark)
  381. .HasColumnType("varchar(128)")
  382. .HasCharSet("utf8")
  383. .HasCollation("utf8_general_ci");
  384. entity.Property(e => e.SeoDescription)
  385. .HasColumnType("varchar(500)")
  386. .HasCharSet("utf8")
  387. .HasCollation("utf8_general_ci");
  388. entity.Property(e => e.SeoKeyword)
  389. .HasColumnType("varchar(200)")
  390. .HasCharSet("utf8")
  391. .HasCollation("utf8_general_ci");
  392. entity.Property(e => e.SeoTitle)
  393. .HasColumnType("varchar(100)")
  394. .HasCharSet("utf8")
  395. .HasCollation("utf8_general_ci");
  396. entity.Property(e => e.Sort).HasColumnType("int(11)");
  397. entity.Property(e => e.Status).HasColumnType("int(11)");
  398. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  399. entity.Property(e => e.UpdateMan)
  400. .HasColumnType("varchar(50)")
  401. .HasCharSet("utf8")
  402. .HasCollation("utf8_general_ci");
  403. entity.Property(e => e.Version).HasColumnType("int(11)");
  404. });
  405. modelBuilder.Entity<ActivityPrizeDetail>(entity =>
  406. {
  407. entity.Property(e => e.Id).HasColumnType("int(11)");
  408. entity.Property(e => e.ActRewardAmt).HasColumnType("decimal(18,2)");
  409. entity.Property(e => e.ActivityId).HasColumnType("int(11)");
  410. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  411. entity.Property(e => e.CheckStatus).HasColumnType("int(11)");
  412. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  413. entity.Property(e => e.CreateMan)
  414. .HasColumnType("varchar(50)")
  415. .HasCharSet("utf8")
  416. .HasCollation("utf8_general_ci");
  417. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  418. entity.Property(e => e.OtherProdCreditTradeAmt).HasColumnType("decimal(18,2)");
  419. entity.Property(e => e.ProfitRate).HasColumnType("decimal(18,2)");
  420. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  421. entity.Property(e => e.SeoDescription)
  422. .HasColumnType("varchar(500)")
  423. .HasCharSet("utf8")
  424. .HasCollation("utf8_general_ci");
  425. entity.Property(e => e.SeoKeyword)
  426. .HasColumnType("varchar(200)")
  427. .HasCharSet("utf8")
  428. .HasCollation("utf8_general_ci");
  429. entity.Property(e => e.SeoTitle)
  430. .HasColumnType("varchar(100)")
  431. .HasCharSet("utf8")
  432. .HasCollation("utf8_general_ci");
  433. entity.Property(e => e.Sort).HasColumnType("int(11)");
  434. entity.Property(e => e.Status).HasColumnType("int(11)");
  435. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  436. entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)");
  437. entity.Property(e => e.TradeMonth)
  438. .HasColumnType("varchar(6)")
  439. .HasCharSet("utf8")
  440. .HasCollation("utf8_general_ci");
  441. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  442. entity.Property(e => e.UpdateMan)
  443. .HasColumnType("varchar(50)")
  444. .HasCharSet("utf8")
  445. .HasCollation("utf8_general_ci");
  446. entity.Property(e => e.UserId).HasColumnType("int(11)");
  447. entity.Property(e => e.Version).HasColumnType("int(11)");
  448. });
  449. modelBuilder.Entity<Advertisment>(entity =>
  450. {
  451. entity.Property(e => e.Id).HasColumnType("int(11)");
  452. entity.Property(e => e.ColId)
  453. .HasColumnType("varchar(30)")
  454. .HasCharSet("utf8")
  455. .HasCollation("utf8_general_ci");
  456. entity.Property(e => e.Contents)
  457. .HasColumnType("longtext")
  458. .HasCharSet("utf8")
  459. .HasCollation("utf8_general_ci");
  460. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  461. entity.Property(e => e.CreateMan)
  462. .HasColumnType("varchar(50)")
  463. .HasCharSet("utf8")
  464. .HasCollation("utf8_general_ci");
  465. entity.Property(e => e.PicPath)
  466. .HasColumnType("varchar(200)")
  467. .HasCharSet("utf8")
  468. .HasCollation("utf8_general_ci");
  469. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  470. entity.Property(e => e.SeoDescription)
  471. .HasColumnType("varchar(500)")
  472. .HasCharSet("utf8")
  473. .HasCollation("utf8_general_ci");
  474. entity.Property(e => e.SeoKeyword)
  475. .HasColumnType("varchar(200)")
  476. .HasCharSet("utf8")
  477. .HasCollation("utf8_general_ci");
  478. entity.Property(e => e.SeoTitle)
  479. .HasColumnType("varchar(100)")
  480. .HasCharSet("utf8")
  481. .HasCollation("utf8_general_ci");
  482. entity.Property(e => e.Sort).HasColumnType("int(11)");
  483. entity.Property(e => e.Status).HasColumnType("int(11)");
  484. entity.Property(e => e.Title)
  485. .HasColumnType("varchar(50)")
  486. .HasCharSet("utf8")
  487. .HasCollation("utf8_general_ci");
  488. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  489. entity.Property(e => e.UpdateMan)
  490. .HasColumnType("varchar(50)")
  491. .HasCharSet("utf8")
  492. .HasCollation("utf8_general_ci");
  493. entity.Property(e => e.Url)
  494. .HasColumnType("longtext")
  495. .HasCharSet("utf8")
  496. .HasCollation("utf8_general_ci");
  497. entity.Property(e => e.Version).HasColumnType("int(11)");
  498. });
  499. modelBuilder.Entity<AgentLevelSet>(entity =>
  500. {
  501. entity.Property(e => e.Id).HasColumnType("int(11)");
  502. entity.Property(e => e.AreasProfitPercent).HasColumnType("decimal(18,2)");
  503. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  504. entity.Property(e => e.CreateMan)
  505. .HasColumnType("varchar(50)")
  506. .HasCharSet("utf8")
  507. .HasCollation("utf8_general_ci");
  508. entity.Property(e => e.LevelDiff)
  509. .HasColumnType("bit(1)")
  510. .HasDefaultValueSql("b'0'");
  511. entity.Property(e => e.Name)
  512. .HasColumnType("varchar(50)")
  513. .HasCharSet("utf8")
  514. .HasCollation("utf8_general_ci");
  515. entity.Property(e => e.ProfitPercent).HasColumnType("decimal(18,2)");
  516. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  517. entity.Property(e => e.SeoDescription)
  518. .HasColumnType("varchar(500)")
  519. .HasCharSet("utf8")
  520. .HasCollation("utf8_general_ci");
  521. entity.Property(e => e.SeoKeyword)
  522. .HasColumnType("varchar(200)")
  523. .HasCharSet("utf8")
  524. .HasCollation("utf8_general_ci");
  525. entity.Property(e => e.SeoTitle)
  526. .HasColumnType("varchar(100)")
  527. .HasCharSet("utf8")
  528. .HasCollation("utf8_general_ci");
  529. entity.Property(e => e.Sort).HasColumnType("int(11)");
  530. entity.Property(e => e.Status).HasColumnType("int(11)");
  531. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  532. entity.Property(e => e.UpdateMan)
  533. .HasColumnType("varchar(50)")
  534. .HasCharSet("utf8")
  535. .HasCollation("utf8_general_ci");
  536. entity.Property(e => e.Version).HasColumnType("int(11)");
  537. });
  538. modelBuilder.Entity<AppBottomNavs>(entity =>
  539. {
  540. entity.Property(e => e.Id).HasColumnType("int(11)");
  541. entity.Property(e => e.BgColor)
  542. .HasColumnType("varchar(6)")
  543. .HasCharSet("utf8")
  544. .HasCollation("utf8_general_ci");
  545. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  546. entity.Property(e => e.CreateMan)
  547. .HasColumnType("varchar(50)")
  548. .HasCharSet("utf8")
  549. .HasCollation("utf8_general_ci");
  550. entity.Property(e => e.NoPageHint)
  551. .HasColumnType("varchar(50)")
  552. .HasCharSet("utf8")
  553. .HasCollation("utf8_general_ci");
  554. entity.Property(e => e.NormalIcon)
  555. .HasColumnType("varchar(200)")
  556. .HasCharSet("utf8")
  557. .HasCollation("utf8_general_ci");
  558. entity.Property(e => e.NormalTextColor)
  559. .HasColumnType("varchar(6)")
  560. .HasCharSet("utf8")
  561. .HasCollation("utf8_general_ci");
  562. entity.Property(e => e.PageName)
  563. .HasColumnType("varchar(50)")
  564. .HasCharSet("utf8")
  565. .HasCollation("utf8_general_ci");
  566. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  567. entity.Property(e => e.SelectIcon)
  568. .HasColumnType("varchar(200)")
  569. .HasCharSet("utf8")
  570. .HasCollation("utf8_general_ci");
  571. entity.Property(e => e.SelectTextColor)
  572. .HasColumnType("varchar(6)")
  573. .HasCharSet("utf8")
  574. .HasCollation("utf8_general_ci");
  575. entity.Property(e => e.SeoDescription)
  576. .HasColumnType("varchar(500)")
  577. .HasCharSet("utf8")
  578. .HasCollation("utf8_general_ci");
  579. entity.Property(e => e.SeoKeyword)
  580. .HasColumnType("varchar(200)")
  581. .HasCharSet("utf8")
  582. .HasCollation("utf8_general_ci");
  583. entity.Property(e => e.SeoTitle)
  584. .HasColumnType("varchar(100)")
  585. .HasCharSet("utf8")
  586. .HasCollation("utf8_general_ci");
  587. entity.Property(e => e.Sort).HasColumnType("int(11)");
  588. entity.Property(e => e.Status).HasColumnType("int(11)");
  589. entity.Property(e => e.Title)
  590. .HasColumnType("varchar(10)")
  591. .HasCharSet("utf8")
  592. .HasCollation("utf8_general_ci");
  593. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  594. entity.Property(e => e.UpdateMan)
  595. .HasColumnType("varchar(50)")
  596. .HasCharSet("utf8")
  597. .HasCollation("utf8_general_ci");
  598. entity.Property(e => e.Version).HasColumnType("int(11)");
  599. });
  600. modelBuilder.Entity<AppVersion>(entity =>
  601. {
  602. entity.Property(e => e.Id).HasColumnType("int(11)");
  603. entity.Property(e => e.CancelText)
  604. .HasColumnType("varchar(10)")
  605. .HasCharSet("utf8")
  606. .HasCollation("utf8_general_ci");
  607. entity.Property(e => e.ConfirmText)
  608. .HasColumnType("varchar(10)")
  609. .HasCharSet("utf8")
  610. .HasCollation("utf8_general_ci");
  611. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  612. entity.Property(e => e.CreateMan)
  613. .HasColumnType("varchar(50)")
  614. .HasCharSet("utf8")
  615. .HasCollation("utf8_general_ci");
  616. entity.Property(e => e.DownloadUrl)
  617. .HasColumnType("varchar(500)")
  618. .HasCharSet("utf8")
  619. .HasCollation("utf8_general_ci");
  620. entity.Property(e => e.Info)
  621. .HasColumnType("varchar(200)")
  622. .HasCharSet("utf8")
  623. .HasCollation("utf8_general_ci");
  624. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  625. entity.Property(e => e.SeoDescription)
  626. .HasColumnType("varchar(500)")
  627. .HasCharSet("utf8")
  628. .HasCollation("utf8_general_ci");
  629. entity.Property(e => e.SeoKeyword)
  630. .HasColumnType("varchar(200)")
  631. .HasCharSet("utf8")
  632. .HasCollation("utf8_general_ci");
  633. entity.Property(e => e.SeoTitle)
  634. .HasColumnType("varchar(100)")
  635. .HasCharSet("utf8")
  636. .HasCollation("utf8_general_ci");
  637. entity.Property(e => e.Sort).HasColumnType("int(11)");
  638. entity.Property(e => e.Status).HasColumnType("int(11)");
  639. entity.Property(e => e.TerminalKind)
  640. .HasColumnType("varchar(10)")
  641. .HasCharSet("utf8")
  642. .HasCollation("utf8_general_ci");
  643. entity.Property(e => e.Title)
  644. .HasColumnType("varchar(50)")
  645. .HasCharSet("utf8")
  646. .HasCollation("utf8_general_ci");
  647. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  648. entity.Property(e => e.UpdateMan)
  649. .HasColumnType("varchar(50)")
  650. .HasCharSet("utf8")
  651. .HasCollation("utf8_general_ci");
  652. entity.Property(e => e.Version).HasColumnType("int(11)");
  653. entity.Property(e => e.VersionNum)
  654. .HasColumnType("varchar(20)")
  655. .HasCharSet("utf8")
  656. .HasCollation("utf8_general_ci");
  657. });
  658. modelBuilder.Entity<AppVideo>(entity =>
  659. {
  660. entity.Property(e => e.Id).HasColumnType("int(11)");
  661. entity.Property(e => e.BannerPic)
  662. .HasColumnType("varchar(200)")
  663. .HasCharSet("utf8")
  664. .HasCollation("utf8_general_ci");
  665. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  666. entity.Property(e => e.CreateMan)
  667. .HasColumnType("varchar(50)")
  668. .HasCharSet("utf8")
  669. .HasCollation("utf8_general_ci");
  670. entity.Property(e => e.Name)
  671. .HasColumnType("varchar(50)")
  672. .HasCharSet("utf8")
  673. .HasCollation("utf8_general_ci");
  674. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  675. entity.Property(e => e.Remark)
  676. .HasColumnType("varchar(200)")
  677. .HasCharSet("utf8")
  678. .HasCollation("utf8_general_ci");
  679. entity.Property(e => e.SeoDescription)
  680. .HasColumnType("varchar(500)")
  681. .HasCharSet("utf8")
  682. .HasCollation("utf8_general_ci");
  683. entity.Property(e => e.SeoKeyword)
  684. .HasColumnType("varchar(200)")
  685. .HasCharSet("utf8")
  686. .HasCollation("utf8_general_ci");
  687. entity.Property(e => e.SeoTitle)
  688. .HasColumnType("varchar(100)")
  689. .HasCharSet("utf8")
  690. .HasCollation("utf8_general_ci");
  691. entity.Property(e => e.Sort).HasColumnType("int(11)");
  692. entity.Property(e => e.Status).HasColumnType("int(11)");
  693. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  694. entity.Property(e => e.UpdateMan)
  695. .HasColumnType("varchar(50)")
  696. .HasCharSet("utf8")
  697. .HasCollation("utf8_general_ci");
  698. entity.Property(e => e.Version).HasColumnType("int(11)");
  699. });
  700. modelBuilder.Entity<AppVideoList>(entity =>
  701. {
  702. entity.Property(e => e.Id).HasColumnType("int(11)");
  703. entity.Property(e => e.BgPic)
  704. .HasColumnType("varchar(200)")
  705. .HasCharSet("utf8")
  706. .HasCollation("utf8_general_ci");
  707. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  708. entity.Property(e => e.CreateMan)
  709. .HasColumnType("varchar(50)")
  710. .HasCharSet("utf8")
  711. .HasCollation("utf8_general_ci");
  712. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  713. entity.Property(e => e.Remark)
  714. .HasColumnType("varchar(200)")
  715. .HasCharSet("utf8")
  716. .HasCollation("utf8_general_ci");
  717. entity.Property(e => e.SeoDescription)
  718. .HasColumnType("varchar(500)")
  719. .HasCharSet("utf8")
  720. .HasCollation("utf8_general_ci");
  721. entity.Property(e => e.SeoKeyword)
  722. .HasColumnType("varchar(200)")
  723. .HasCharSet("utf8")
  724. .HasCollation("utf8_general_ci");
  725. entity.Property(e => e.SeoTitle)
  726. .HasColumnType("varchar(100)")
  727. .HasCharSet("utf8")
  728. .HasCollation("utf8_general_ci");
  729. entity.Property(e => e.Sort).HasColumnType("int(11)");
  730. entity.Property(e => e.Status).HasColumnType("int(11)");
  731. entity.Property(e => e.Title)
  732. .HasColumnType("varchar(50)")
  733. .HasCharSet("utf8")
  734. .HasCollation("utf8_general_ci");
  735. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  736. entity.Property(e => e.UpdateMan)
  737. .HasColumnType("varchar(50)")
  738. .HasCharSet("utf8")
  739. .HasCollation("utf8_general_ci");
  740. entity.Property(e => e.Version).HasColumnType("int(11)");
  741. entity.Property(e => e.VideoId).HasColumnType("int(11)");
  742. entity.Property(e => e.VideoUrl)
  743. .HasColumnType("varchar(500)")
  744. .HasCharSet("utf8")
  745. .HasCollation("utf8_general_ci");
  746. });
  747. modelBuilder.Entity<BankInfo>(entity =>
  748. {
  749. entity.Property(e => e.Id).HasColumnType("int(11)");
  750. entity.Property(e => e.BankCode)
  751. .HasColumnType("varchar(16)")
  752. .HasCharSet("utf8")
  753. .HasCollation("utf8_general_ci");
  754. entity.Property(e => e.BankName)
  755. .HasColumnType("varchar(100)")
  756. .HasCharSet("utf8")
  757. .HasCollation("utf8_general_ci");
  758. entity.Property(e => e.BankNameAbbr)
  759. .HasColumnType("varchar(60)")
  760. .HasCharSet("utf8")
  761. .HasCollation("utf8_general_ci");
  762. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  763. entity.Property(e => e.CreateMan)
  764. .HasColumnType("varchar(50)")
  765. .HasCharSet("utf8")
  766. .HasCollation("utf8_general_ci");
  767. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  768. entity.Property(e => e.SeoDescription)
  769. .HasColumnType("varchar(500)")
  770. .HasCharSet("utf8")
  771. .HasCollation("utf8_general_ci");
  772. entity.Property(e => e.SeoKeyword)
  773. .HasColumnType("varchar(200)")
  774. .HasCharSet("utf8")
  775. .HasCollation("utf8_general_ci");
  776. entity.Property(e => e.SeoTitle)
  777. .HasColumnType("varchar(100)")
  778. .HasCharSet("utf8")
  779. .HasCollation("utf8_general_ci");
  780. entity.Property(e => e.Sort).HasColumnType("int(11)");
  781. entity.Property(e => e.Status).HasColumnType("int(11)");
  782. entity.Property(e => e.UnitedBankName)
  783. .HasColumnType("varchar(100)")
  784. .HasCharSet("utf8")
  785. .HasCollation("utf8_general_ci");
  786. entity.Property(e => e.UnitedBankNo)
  787. .HasColumnType("varchar(16)")
  788. .HasCharSet("utf8")
  789. .HasCollation("utf8_general_ci");
  790. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  791. entity.Property(e => e.UpdateMan)
  792. .HasColumnType("varchar(50)")
  793. .HasCharSet("utf8")
  794. .HasCollation("utf8_general_ci");
  795. entity.Property(e => e.Version).HasColumnType("int(11)");
  796. });
  797. modelBuilder.Entity<Col>(entity =>
  798. {
  799. entity.Property(e => e.Id).HasColumnType("int(11)");
  800. entity.Property(e => e.ClassName)
  801. .HasColumnType("varchar(50)")
  802. .HasCharSet("utf8")
  803. .HasCollation("utf8_general_ci");
  804. entity.Property(e => e.ColDetail)
  805. .HasColumnType("varchar(50)")
  806. .HasCharSet("utf8")
  807. .HasCollation("utf8_general_ci");
  808. entity.Property(e => e.ColEnName)
  809. .HasColumnType("varchar(50)")
  810. .HasCharSet("utf8")
  811. .HasCollation("utf8_general_ci");
  812. entity.Property(e => e.ColEnNav)
  813. .HasColumnType("varchar(200)")
  814. .HasCharSet("utf8")
  815. .HasCollation("utf8_general_ci");
  816. entity.Property(e => e.ColId)
  817. .HasColumnType("varchar(30)")
  818. .HasCharSet("utf8")
  819. .HasCollation("utf8_general_ci");
  820. entity.Property(e => e.ColName)
  821. .HasColumnType("varchar(50)")
  822. .HasCharSet("utf8")
  823. .HasCollation("utf8_general_ci");
  824. entity.Property(e => e.ColPicPath)
  825. .HasColumnType("varchar(200)")
  826. .HasCharSet("utf8")
  827. .HasCollation("utf8_general_ci");
  828. entity.Property(e => e.Contents)
  829. .HasColumnType("longtext")
  830. .HasCharSet("utf8")
  831. .HasCollation("utf8_general_ci");
  832. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  833. entity.Property(e => e.CreateMan)
  834. .HasColumnType("varchar(50)")
  835. .HasCharSet("utf8")
  836. .HasCollation("utf8_general_ci");
  837. entity.Property(e => e.DetailTemp)
  838. .HasColumnType("varchar(100)")
  839. .HasCharSet("utf8")
  840. .HasCollation("utf8_general_ci");
  841. entity.Property(e => e.DetailTempM)
  842. .HasColumnType("varchar(100)")
  843. .HasCharSet("utf8")
  844. .HasCollation("utf8_general_ci");
  845. entity.Property(e => e.ListPageCount).HasColumnType("int(11)");
  846. entity.Property(e => e.ListTemp)
  847. .HasColumnType("varchar(100)")
  848. .HasCharSet("utf8")
  849. .HasCollation("utf8_general_ci");
  850. entity.Property(e => e.ListTempM)
  851. .HasColumnType("varchar(100)")
  852. .HasCharSet("utf8")
  853. .HasCollation("utf8_general_ci");
  854. entity.Property(e => e.ParentId).HasColumnType("int(11)");
  855. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  856. entity.Property(e => e.Recommend)
  857. .HasColumnType("bit(1)")
  858. .HasDefaultValueSql("b'0'");
  859. entity.Property(e => e.SeoDescription)
  860. .HasColumnType("varchar(500)")
  861. .HasCharSet("utf8")
  862. .HasCollation("utf8_general_ci");
  863. entity.Property(e => e.SeoKeyword)
  864. .HasColumnType("varchar(200)")
  865. .HasCharSet("utf8")
  866. .HasCollation("utf8_general_ci");
  867. entity.Property(e => e.SeoTitle)
  868. .HasColumnType("varchar(100)")
  869. .HasCharSet("utf8")
  870. .HasCollation("utf8_general_ci");
  871. entity.Property(e => e.Sort).HasColumnType("int(11)");
  872. entity.Property(e => e.Status).HasColumnType("int(11)");
  873. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  874. entity.Property(e => e.UpdateMan)
  875. .HasColumnType("varchar(50)")
  876. .HasCharSet("utf8")
  877. .HasCollation("utf8_general_ci");
  878. entity.Property(e => e.Url)
  879. .HasColumnType("longtext")
  880. .HasCharSet("utf8")
  881. .HasCollation("utf8_general_ci");
  882. entity.Property(e => e.Version).HasColumnType("int(11)");
  883. });
  884. modelBuilder.Entity<ConsumerOpenIds>(entity =>
  885. {
  886. entity.HasKey(e => e.OpenId)
  887. .HasName("PRIMARY");
  888. entity.Property(e => e.OpenId)
  889. .HasColumnType("varchar(50)")
  890. .HasCharSet("utf8")
  891. .HasCollation("utf8_general_ci");
  892. entity.Property(e => e.ConsumerId).HasColumnType("int(11)");
  893. });
  894. modelBuilder.Entity<ConsumerOrderForNo>(entity =>
  895. {
  896. entity.HasKey(e => e.OrderNo)
  897. .HasName("PRIMARY");
  898. entity.Property(e => e.OrderNo)
  899. .HasColumnType("varchar(50)")
  900. .HasCharSet("utf8")
  901. .HasCollation("utf8_general_ci");
  902. entity.Property(e => e.OrderIds).HasColumnType("int(11)");
  903. });
  904. modelBuilder.Entity<ConsumerOrders>(entity =>
  905. {
  906. entity.Property(e => e.Id).HasColumnType("int(11)");
  907. entity.Property(e => e.ConsumerId).HasColumnType("int(11)");
  908. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  909. entity.Property(e => e.CreateMan)
  910. .HasColumnType("varchar(50)")
  911. .HasCharSet("utf8")
  912. .HasCollation("utf8_general_ci");
  913. entity.Property(e => e.CurDivi).HasColumnType("decimal(18,2)");
  914. entity.Property(e => e.IsAct)
  915. .HasColumnType("bit(1)")
  916. .HasDefaultValueSql("b'0'");
  917. entity.Property(e => e.MaxDivi).HasColumnType("decimal(18,2)");
  918. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  919. entity.Property(e => e.OrderNo)
  920. .HasColumnType("varchar(30)")
  921. .HasCharSet("utf8")
  922. .HasCollation("utf8_general_ci");
  923. entity.Property(e => e.PayMode).HasColumnType("int(11)");
  924. entity.Property(e => e.PayMoney).HasColumnType("decimal(18,2)");
  925. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  926. entity.Property(e => e.ReturnMoney).HasColumnType("decimal(18,2)");
  927. entity.Property(e => e.SeoDescription)
  928. .HasColumnType("varchar(500)")
  929. .HasCharSet("utf8")
  930. .HasCollation("utf8_general_ci");
  931. entity.Property(e => e.SeoKeyword)
  932. .HasColumnType("varchar(200)")
  933. .HasCharSet("utf8")
  934. .HasCollation("utf8_general_ci");
  935. entity.Property(e => e.SeoTitle)
  936. .HasColumnType("varchar(100)")
  937. .HasCharSet("utf8")
  938. .HasCollation("utf8_general_ci");
  939. entity.Property(e => e.SnNo)
  940. .HasColumnType("varchar(50)")
  941. .HasCharSet("utf8")
  942. .HasCollation("utf8_general_ci");
  943. entity.Property(e => e.Sort).HasColumnType("int(11)");
  944. entity.Property(e => e.Status).HasColumnType("int(11)");
  945. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  946. entity.Property(e => e.UpdateMan)
  947. .HasColumnType("varchar(50)")
  948. .HasCharSet("utf8")
  949. .HasCollation("utf8_general_ci");
  950. entity.Property(e => e.Version).HasColumnType("int(11)");
  951. });
  952. modelBuilder.Entity<ConsumerProfit>(entity =>
  953. {
  954. entity.Property(e => e.Id).HasColumnType("int(11)");
  955. entity.Property(e => e.ConsumerId).HasColumnType("int(11)");
  956. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  957. entity.Property(e => e.CreateMan)
  958. .HasColumnType("varchar(50)")
  959. .HasCharSet("utf8")
  960. .HasCollation("utf8_general_ci");
  961. entity.Property(e => e.GetMoney).HasColumnType("decimal(18,2)");
  962. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  963. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  964. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  965. entity.Property(e => e.SeoDescription)
  966. .HasColumnType("varchar(500)")
  967. .HasCharSet("utf8")
  968. .HasCollation("utf8_general_ci");
  969. entity.Property(e => e.SeoKeyword)
  970. .HasColumnType("varchar(200)")
  971. .HasCharSet("utf8")
  972. .HasCollation("utf8_general_ci");
  973. entity.Property(e => e.SeoTitle)
  974. .HasColumnType("varchar(100)")
  975. .HasCharSet("utf8")
  976. .HasCollation("utf8_general_ci");
  977. entity.Property(e => e.Sort).HasColumnType("int(11)");
  978. entity.Property(e => e.Status).HasColumnType("int(11)");
  979. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  980. entity.Property(e => e.UpdateMan)
  981. .HasColumnType("varchar(50)")
  982. .HasCharSet("utf8")
  983. .HasCollation("utf8_general_ci");
  984. entity.Property(e => e.Version).HasColumnType("int(11)");
  985. });
  986. modelBuilder.Entity<Consumers>(entity =>
  987. {
  988. entity.Property(e => e.Id).HasColumnType("int(11)");
  989. entity.Property(e => e.AlipayFlag)
  990. .HasColumnType("bit(1)")
  991. .HasDefaultValueSql("b'0'");
  992. entity.Property(e => e.AlipayUserId)
  993. .HasColumnType("varchar(50)")
  994. .HasCharSet("utf8")
  995. .HasCollation("utf8_general_ci");
  996. entity.Property(e => e.CardFlag)
  997. .HasColumnType("bit(1)")
  998. .HasDefaultValueSql("b'0'");
  999. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1000. entity.Property(e => e.CreateMan)
  1001. .HasColumnType("varchar(50)")
  1002. .HasCharSet("utf8")
  1003. .HasCollation("utf8_general_ci");
  1004. entity.Property(e => e.CurIntgegral).HasColumnType("int(11)");
  1005. entity.Property(e => e.HeadPhoto)
  1006. .HasColumnType("varchar(2000)")
  1007. .HasCharSet("utf8")
  1008. .HasCollation("utf8_general_ci");
  1009. entity.Property(e => e.LastConsumDate).HasColumnType("datetime");
  1010. entity.Property(e => e.Mobile)
  1011. .HasColumnType("varchar(11)")
  1012. .HasCharSet("utf8")
  1013. .HasCollation("utf8_general_ci");
  1014. entity.Property(e => e.NickName)
  1015. .HasColumnType("varchar(50)")
  1016. .HasCharSet("utf8")
  1017. .HasCollation("utf8_general_ci");
  1018. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1019. entity.Property(e => e.SeoDescription)
  1020. .HasColumnType("varchar(500)")
  1021. .HasCharSet("utf8")
  1022. .HasCollation("utf8_general_ci");
  1023. entity.Property(e => e.SeoKeyword)
  1024. .HasColumnType("varchar(200)")
  1025. .HasCharSet("utf8")
  1026. .HasCollation("utf8_general_ci");
  1027. entity.Property(e => e.SeoTitle)
  1028. .HasColumnType("varchar(100)")
  1029. .HasCharSet("utf8")
  1030. .HasCollation("utf8_general_ci");
  1031. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1032. entity.Property(e => e.Status).HasColumnType("int(11)");
  1033. entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)");
  1034. entity.Property(e => e.TotalConsumCount).HasColumnType("int(11)");
  1035. entity.Property(e => e.TotalDividend).HasColumnType("decimal(18,2)");
  1036. entity.Property(e => e.TotalIntegral).HasColumnType("int(11)");
  1037. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1038. entity.Property(e => e.UpdateMan)
  1039. .HasColumnType("varchar(50)")
  1040. .HasCharSet("utf8")
  1041. .HasCollation("utf8_general_ci");
  1042. entity.Property(e => e.Version).HasColumnType("int(11)");
  1043. entity.Property(e => e.WeChatPayFlag)
  1044. .HasColumnType("bit(1)")
  1045. .HasDefaultValueSql("b'0'");
  1046. entity.Property(e => e.WechatOpenId)
  1047. .HasColumnType("varchar(50)")
  1048. .HasCharSet("utf8")
  1049. .HasCollation("utf8_general_ci");
  1050. entity.Property(e => e.WechatUnionid)
  1051. .HasColumnType("varchar(50)")
  1052. .HasCharSet("utf8")
  1053. .HasCollation("utf8_general_ci");
  1054. });
  1055. modelBuilder.Entity<CouponAssignRecords>(entity =>
  1056. {
  1057. entity.Property(e => e.Id).HasColumnType("int(11)");
  1058. entity.Property(e => e.Areas)
  1059. .HasColumnType("varchar(50)")
  1060. .HasCharSet("utf8")
  1061. .HasCollation("utf8_general_ci");
  1062. entity.Property(e => e.CouponIds)
  1063. .HasColumnType("varchar(200)")
  1064. .HasCharSet("utf8")
  1065. .HasCollation("utf8_general_ci");
  1066. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1067. entity.Property(e => e.CreateMan)
  1068. .HasColumnType("varchar(50)")
  1069. .HasCharSet("utf8")
  1070. .HasCollation("utf8_general_ci");
  1071. entity.Property(e => e.CurMoneyMax).HasColumnType("decimal(18,2)");
  1072. entity.Property(e => e.CurMoneyMin).HasColumnType("decimal(18,2)");
  1073. entity.Property(e => e.Mobile)
  1074. .HasColumnType("varchar(11)")
  1075. .HasCharSet("utf8")
  1076. .HasCollation("utf8_general_ci");
  1077. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1078. entity.Property(e => e.SeoDescription)
  1079. .HasColumnType("varchar(500)")
  1080. .HasCharSet("utf8")
  1081. .HasCollation("utf8_general_ci");
  1082. entity.Property(e => e.SeoKeyword)
  1083. .HasColumnType("varchar(200)")
  1084. .HasCharSet("utf8")
  1085. .HasCollation("utf8_general_ci");
  1086. entity.Property(e => e.SeoTitle)
  1087. .HasColumnType("varchar(100)")
  1088. .HasCharSet("utf8")
  1089. .HasCollation("utf8_general_ci");
  1090. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1091. entity.Property(e => e.Status).HasColumnType("int(11)");
  1092. entity.Property(e => e.TotalOrderMoneyMax).HasColumnType("decimal(18,2)");
  1093. entity.Property(e => e.TotalOrderMoneyMin).HasColumnType("decimal(18,2)");
  1094. entity.Property(e => e.TotalUseIntegralMax).HasColumnType("decimal(18,2)");
  1095. entity.Property(e => e.TotalUseIntegralMin).HasColumnType("decimal(18,2)");
  1096. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1097. entity.Property(e => e.UpdateMan)
  1098. .HasColumnType("varchar(50)")
  1099. .HasCharSet("utf8")
  1100. .HasCollation("utf8_general_ci");
  1101. entity.Property(e => e.UserGroupId)
  1102. .HasColumnType("varchar(50)")
  1103. .HasCharSet("utf8")
  1104. .HasCollation("utf8_general_ci");
  1105. entity.Property(e => e.UserMaxLevel).HasColumnType("int(11)");
  1106. entity.Property(e => e.UserMinLevel).HasColumnType("int(11)");
  1107. entity.Property(e => e.Version).HasColumnType("int(11)");
  1108. });
  1109. modelBuilder.Entity<Coupons>(entity =>
  1110. {
  1111. entity.Property(e => e.Id).HasColumnType("int(11)");
  1112. entity.Property(e => e.AndPromotion)
  1113. .HasColumnType("bit(1)")
  1114. .HasDefaultValueSql("b'0'");
  1115. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1116. entity.Property(e => e.CreateMan)
  1117. .HasColumnType("varchar(50)")
  1118. .HasCharSet("utf8")
  1119. .HasCollation("utf8_general_ci");
  1120. entity.Property(e => e.ExpireEndDate).HasColumnType("datetime");
  1121. entity.Property(e => e.ExpireStartDate).HasColumnType("datetime");
  1122. entity.Property(e => e.Explanation)
  1123. .HasColumnType("varchar(200)")
  1124. .HasCharSet("utf8")
  1125. .HasCollation("utf8_general_ci");
  1126. entity.Property(e => e.FullReduceData).HasColumnType("decimal(18,2)");
  1127. entity.Property(e => e.FullReduceMoney).HasColumnType("decimal(18,2)");
  1128. entity.Property(e => e.IsNewUser)
  1129. .HasColumnType("bit(1)")
  1130. .HasDefaultValueSql("b'0'");
  1131. entity.Property(e => e.IsPublic)
  1132. .HasColumnType("bit(1)")
  1133. .HasDefaultValueSql("b'0'");
  1134. entity.Property(e => e.IsReUse)
  1135. .HasColumnType("bit(1)")
  1136. .HasDefaultValueSql("b'0'");
  1137. entity.Property(e => e.IsRepeat)
  1138. .HasColumnType("bit(1)")
  1139. .HasDefaultValueSql("b'0'");
  1140. entity.Property(e => e.IsSuperpose)
  1141. .HasColumnType("bit(1)")
  1142. .HasDefaultValueSql("b'0'");
  1143. entity.Property(e => e.Kind).HasColumnType("int(11)");
  1144. entity.Property(e => e.MerchantId)
  1145. .HasColumnType("varchar(200)")
  1146. .HasCharSet("utf8")
  1147. .HasCollation("utf8_general_ci");
  1148. entity.Property(e => e.Name)
  1149. .HasColumnType("varchar(50)")
  1150. .HasCharSet("utf8")
  1151. .HasCollation("utf8_general_ci");
  1152. entity.Property(e => e.ProductColId)
  1153. .HasColumnType("varchar(200)")
  1154. .HasCharSet("utf8")
  1155. .HasCollation("utf8_general_ci");
  1156. entity.Property(e => e.ProductId)
  1157. .HasColumnType("varchar(500)")
  1158. .HasCharSet("utf8")
  1159. .HasCollation("utf8_general_ci");
  1160. entity.Property(e => e.PublicEndDate).HasColumnType("datetime");
  1161. entity.Property(e => e.PublicMax).HasColumnType("int(11)");
  1162. entity.Property(e => e.PublicMaxByDay).HasColumnType("int(11)");
  1163. entity.Property(e => e.PublicStartDate).HasColumnType("datetime");
  1164. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1165. entity.Property(e => e.RepeatCondition)
  1166. .HasColumnType("varchar(50)")
  1167. .HasCharSet("utf8")
  1168. .HasCollation("utf8_general_ci");
  1169. entity.Property(e => e.RepeatType).HasColumnType("int(11)");
  1170. entity.Property(e => e.SeoDescription)
  1171. .HasColumnType("varchar(500)")
  1172. .HasCharSet("utf8")
  1173. .HasCollation("utf8_general_ci");
  1174. entity.Property(e => e.SeoKeyword)
  1175. .HasColumnType("varchar(200)")
  1176. .HasCharSet("utf8")
  1177. .HasCollation("utf8_general_ci");
  1178. entity.Property(e => e.SeoTitle)
  1179. .HasColumnType("varchar(100)")
  1180. .HasCharSet("utf8")
  1181. .HasCollation("utf8_general_ci");
  1182. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1183. entity.Property(e => e.Status).HasColumnType("int(11)");
  1184. entity.Property(e => e.Stock).HasColumnType("decimal(18,2)");
  1185. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1186. entity.Property(e => e.UpdateMan)
  1187. .HasColumnType("varchar(50)")
  1188. .HasCharSet("utf8")
  1189. .HasCollation("utf8_general_ci");
  1190. entity.Property(e => e.UseEndDate).HasColumnType("datetime");
  1191. entity.Property(e => e.UseStartDate).HasColumnType("datetime");
  1192. entity.Property(e => e.UserMaxLevel).HasColumnType("int(11)");
  1193. entity.Property(e => e.UserMinLevel).HasColumnType("int(11)");
  1194. entity.Property(e => e.Version).HasColumnType("int(11)");
  1195. });
  1196. modelBuilder.Entity<CouponsForUser>(entity =>
  1197. {
  1198. entity.Property(e => e.Id).HasColumnType("int(11)");
  1199. entity.Property(e => e.CouponId).HasColumnType("int(11)");
  1200. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1201. entity.Property(e => e.CreateMan)
  1202. .HasColumnType("varchar(50)")
  1203. .HasCharSet("utf8")
  1204. .HasCollation("utf8_general_ci");
  1205. entity.Property(e => e.IsLock)
  1206. .HasColumnType("bit(1)")
  1207. .HasDefaultValueSql("b'0'");
  1208. entity.Property(e => e.IsUse)
  1209. .HasColumnType("bit(1)")
  1210. .HasDefaultValueSql("b'0'");
  1211. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1212. entity.Property(e => e.SeoDescription)
  1213. .HasColumnType("varchar(500)")
  1214. .HasCharSet("utf8")
  1215. .HasCollation("utf8_general_ci");
  1216. entity.Property(e => e.SeoKeyword)
  1217. .HasColumnType("varchar(200)")
  1218. .HasCharSet("utf8")
  1219. .HasCollation("utf8_general_ci");
  1220. entity.Property(e => e.SeoTitle)
  1221. .HasColumnType("varchar(100)")
  1222. .HasCharSet("utf8")
  1223. .HasCollation("utf8_general_ci");
  1224. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1225. entity.Property(e => e.Status).HasColumnType("int(11)");
  1226. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1227. entity.Property(e => e.UpdateMan)
  1228. .HasColumnType("varchar(50)")
  1229. .HasCharSet("utf8")
  1230. .HasCollation("utf8_general_ci");
  1231. entity.Property(e => e.UseDate).HasColumnType("datetime");
  1232. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1233. entity.Property(e => e.Version).HasColumnType("int(11)");
  1234. });
  1235. modelBuilder.Entity<CustomTagSet>(entity =>
  1236. {
  1237. entity.Property(e => e.Id).HasColumnType("int(11)");
  1238. entity.Property(e => e.Contents)
  1239. .HasColumnType("varchar(500)")
  1240. .HasCharSet("utf8")
  1241. .HasCollation("utf8_general_ci");
  1242. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1243. entity.Property(e => e.CreateMan)
  1244. .HasColumnType("varchar(50)")
  1245. .HasCharSet("utf8")
  1246. .HasCollation("utf8_general_ci");
  1247. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1248. entity.Property(e => e.SeoDescription)
  1249. .HasColumnType("varchar(500)")
  1250. .HasCharSet("utf8")
  1251. .HasCollation("utf8_general_ci");
  1252. entity.Property(e => e.SeoKeyword)
  1253. .HasColumnType("varchar(200)")
  1254. .HasCharSet("utf8")
  1255. .HasCollation("utf8_general_ci");
  1256. entity.Property(e => e.SeoTitle)
  1257. .HasColumnType("varchar(100)")
  1258. .HasCharSet("utf8")
  1259. .HasCollation("utf8_general_ci");
  1260. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1261. entity.Property(e => e.Status).HasColumnType("int(11)");
  1262. entity.Property(e => e.Tags)
  1263. .HasColumnType("varchar(50)")
  1264. .HasCharSet("utf8")
  1265. .HasCollation("utf8_general_ci");
  1266. entity.Property(e => e.Title)
  1267. .HasColumnType("varchar(50)")
  1268. .HasCharSet("utf8")
  1269. .HasCollation("utf8_general_ci");
  1270. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1271. entity.Property(e => e.UpdateMan)
  1272. .HasColumnType("varchar(50)")
  1273. .HasCharSet("utf8")
  1274. .HasCollation("utf8_general_ci");
  1275. entity.Property(e => e.Version).HasColumnType("int(11)");
  1276. });
  1277. modelBuilder.Entity<ErpCompanys>(entity =>
  1278. {
  1279. entity.Property(e => e.Id).HasColumnType("int(11)");
  1280. entity.Property(e => e.Code)
  1281. .HasColumnType("varchar(50)")
  1282. .HasCharSet("utf8")
  1283. .HasCollation("utf8_general_ci");
  1284. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1285. entity.Property(e => e.CreateMan)
  1286. .HasColumnType("varchar(50)")
  1287. .HasCharSet("utf8")
  1288. .HasCollation("utf8_general_ci");
  1289. entity.Property(e => e.Name)
  1290. .HasColumnType("varchar(50)")
  1291. .HasCharSet("utf8")
  1292. .HasCollation("utf8_general_ci");
  1293. entity.Property(e => e.Phone)
  1294. .HasColumnType("varchar(30)")
  1295. .HasCharSet("utf8")
  1296. .HasCollation("utf8_general_ci");
  1297. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1298. entity.Property(e => e.SeoDescription)
  1299. .HasColumnType("varchar(500)")
  1300. .HasCharSet("utf8")
  1301. .HasCollation("utf8_general_ci");
  1302. entity.Property(e => e.SeoKeyword)
  1303. .HasColumnType("varchar(200)")
  1304. .HasCharSet("utf8")
  1305. .HasCollation("utf8_general_ci");
  1306. entity.Property(e => e.SeoTitle)
  1307. .HasColumnType("varchar(100)")
  1308. .HasCharSet("utf8")
  1309. .HasCollation("utf8_general_ci");
  1310. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1311. entity.Property(e => e.Status).HasColumnType("int(11)");
  1312. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1313. entity.Property(e => e.UpdateMan)
  1314. .HasColumnType("varchar(50)")
  1315. .HasCharSet("utf8")
  1316. .HasCollation("utf8_general_ci");
  1317. entity.Property(e => e.Version).HasColumnType("int(11)");
  1318. });
  1319. modelBuilder.Entity<FileUpdateInfo>(entity =>
  1320. {
  1321. entity.Property(e => e.Id).HasColumnType("int(11)");
  1322. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1323. entity.Property(e => e.CreateMan)
  1324. .HasColumnType("varchar(50)")
  1325. .HasCharSet("utf8")
  1326. .HasCollation("utf8_general_ci");
  1327. entity.Property(e => e.FileName)
  1328. .HasColumnType("varchar(50)")
  1329. .HasCharSet("utf8")
  1330. .HasCollation("utf8_general_ci");
  1331. entity.Property(e => e.Path)
  1332. .HasColumnType("varchar(200)")
  1333. .HasCharSet("utf8")
  1334. .HasCollation("utf8_general_ci");
  1335. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1336. entity.Property(e => e.SeoDescription)
  1337. .HasColumnType("varchar(500)")
  1338. .HasCharSet("utf8")
  1339. .HasCollation("utf8_general_ci");
  1340. entity.Property(e => e.SeoKeyword)
  1341. .HasColumnType("varchar(200)")
  1342. .HasCharSet("utf8")
  1343. .HasCollation("utf8_general_ci");
  1344. entity.Property(e => e.SeoTitle)
  1345. .HasColumnType("varchar(100)")
  1346. .HasCharSet("utf8")
  1347. .HasCollation("utf8_general_ci");
  1348. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1349. entity.Property(e => e.Status).HasColumnType("int(11)");
  1350. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1351. entity.Property(e => e.UpdateMan)
  1352. .HasColumnType("varchar(50)")
  1353. .HasCharSet("utf8")
  1354. .HasCollation("utf8_general_ci");
  1355. entity.Property(e => e.Version).HasColumnType("int(11)");
  1356. entity.Property(e => e.VersionNum).HasColumnType("int(11)");
  1357. });
  1358. modelBuilder.Entity<FluxProfitDetail>(entity =>
  1359. {
  1360. entity.Property(e => e.Id).HasColumnType("int(11)");
  1361. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1362. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1363. entity.Property(e => e.CreateMan)
  1364. .HasColumnType("varchar(50)")
  1365. .HasCharSet("utf8")
  1366. .HasCollation("utf8_general_ci");
  1367. entity.Property(e => e.FluxEndDate)
  1368. .HasColumnType("varchar(8)")
  1369. .HasCharSet("utf8")
  1370. .HasCollation("utf8_general_ci");
  1371. entity.Property(e => e.FluxFeeAmt).HasColumnType("decimal(18,2)");
  1372. entity.Property(e => e.FluxOrderNo)
  1373. .HasColumnType("varchar(64)")
  1374. .HasCharSet("utf8")
  1375. .HasCollation("utf8_general_ci");
  1376. entity.Property(e => e.FluxProfitAmt).HasColumnType("decimal(18,2)");
  1377. entity.Property(e => e.FluxStartDate)
  1378. .HasColumnType("varchar(8)")
  1379. .HasCharSet("utf8")
  1380. .HasCollation("utf8_general_ci");
  1381. entity.Property(e => e.MerNo)
  1382. .HasColumnType("varchar(32)")
  1383. .HasCharSet("utf8")
  1384. .HasCollation("utf8_general_ci");
  1385. entity.Property(e => e.MerUserType).HasColumnType("int(11)");
  1386. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  1387. entity.Property(e => e.MerchantUserId).HasColumnType("int(11)");
  1388. entity.Property(e => e.PosType)
  1389. .HasColumnType("varchar(32)")
  1390. .HasCharSet("utf8")
  1391. .HasCollation("utf8_general_ci");
  1392. entity.Property(e => e.ProfitType).HasColumnType("int(11)");
  1393. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1394. entity.Property(e => e.RecordNo)
  1395. .HasColumnType("varchar(32)")
  1396. .HasCharSet("utf8")
  1397. .HasCollation("utf8_general_ci");
  1398. entity.Property(e => e.Remark)
  1399. .HasColumnType("varchar(128)")
  1400. .HasCharSet("utf8")
  1401. .HasCollation("utf8_general_ci");
  1402. entity.Property(e => e.SeoDescription)
  1403. .HasColumnType("varchar(500)")
  1404. .HasCharSet("utf8")
  1405. .HasCollation("utf8_general_ci");
  1406. entity.Property(e => e.SeoKeyword)
  1407. .HasColumnType("varchar(200)")
  1408. .HasCharSet("utf8")
  1409. .HasCollation("utf8_general_ci");
  1410. entity.Property(e => e.SeoTitle)
  1411. .HasColumnType("varchar(100)")
  1412. .HasCharSet("utf8")
  1413. .HasCollation("utf8_general_ci");
  1414. entity.Property(e => e.SnNo)
  1415. .HasColumnType("varchar(32)")
  1416. .HasCharSet("utf8")
  1417. .HasCollation("utf8_general_ci");
  1418. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1419. entity.Property(e => e.Status).HasColumnType("int(11)");
  1420. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  1421. entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)");
  1422. entity.Property(e => e.TradeDate)
  1423. .HasColumnType("varchar(8)")
  1424. .HasCharSet("utf8")
  1425. .HasCollation("utf8_general_ci");
  1426. entity.Property(e => e.TradeMonth)
  1427. .HasColumnType("varchar(6)")
  1428. .HasCharSet("utf8")
  1429. .HasCollation("utf8_general_ci");
  1430. entity.Property(e => e.TradeOrderNo)
  1431. .HasColumnType("varchar(64)")
  1432. .HasCharSet("utf8")
  1433. .HasCollation("utf8_general_ci");
  1434. entity.Property(e => e.TradeTime)
  1435. .HasColumnType("varchar(6)")
  1436. .HasCharSet("utf8")
  1437. .HasCollation("utf8_general_ci");
  1438. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1439. entity.Property(e => e.UpdateMan)
  1440. .HasColumnType("varchar(50)")
  1441. .HasCharSet("utf8")
  1442. .HasCollation("utf8_general_ci");
  1443. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1444. entity.Property(e => e.Version).HasColumnType("int(11)");
  1445. });
  1446. modelBuilder.Entity<FluxProfitSummary>(entity =>
  1447. {
  1448. entity.Property(e => e.Id).HasColumnType("int(11)");
  1449. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1450. entity.Property(e => e.CheckStatus).HasColumnType("int(11)");
  1451. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1452. entity.Property(e => e.CreateMan)
  1453. .HasColumnType("varchar(50)")
  1454. .HasCharSet("utf8")
  1455. .HasCollation("utf8_general_ci");
  1456. entity.Property(e => e.FluxProfitAmt).HasColumnType("decimal(18,2)");
  1457. entity.Property(e => e.FluxTradeNum).HasColumnType("int(11)");
  1458. entity.Property(e => e.MerUserType).HasColumnType("int(11)");
  1459. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1460. entity.Property(e => e.Remark)
  1461. .HasColumnType("varchar(64)")
  1462. .HasCharSet("utf8")
  1463. .HasCollation("utf8_general_ci");
  1464. entity.Property(e => e.SeoDescription)
  1465. .HasColumnType("varchar(500)")
  1466. .HasCharSet("utf8")
  1467. .HasCollation("utf8_general_ci");
  1468. entity.Property(e => e.SeoKeyword)
  1469. .HasColumnType("varchar(200)")
  1470. .HasCharSet("utf8")
  1471. .HasCollation("utf8_general_ci");
  1472. entity.Property(e => e.SeoTitle)
  1473. .HasColumnType("varchar(100)")
  1474. .HasCharSet("utf8")
  1475. .HasCollation("utf8_general_ci");
  1476. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1477. entity.Property(e => e.Status).HasColumnType("int(11)");
  1478. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  1479. entity.Property(e => e.TradeMonth)
  1480. .HasColumnType("varchar(6)")
  1481. .HasCharSet("utf8")
  1482. .HasCollation("utf8_general_ci");
  1483. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1484. entity.Property(e => e.UpdateMan)
  1485. .HasColumnType("varchar(50)")
  1486. .HasCharSet("utf8")
  1487. .HasCollation("utf8_general_ci");
  1488. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1489. entity.Property(e => e.Version).HasColumnType("int(11)");
  1490. });
  1491. modelBuilder.Entity<IndexIconList>(entity =>
  1492. {
  1493. entity.Property(e => e.Id).HasColumnType("int(11)");
  1494. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1495. entity.Property(e => e.CreateMan)
  1496. .HasColumnType("varchar(50)")
  1497. .HasCharSet("utf8")
  1498. .HasCollation("utf8_general_ci");
  1499. entity.Property(e => e.Icon)
  1500. .HasColumnType("varchar(200)")
  1501. .HasCharSet("utf8")
  1502. .HasCollation("utf8_general_ci");
  1503. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1504. entity.Property(e => e.SeoDescription)
  1505. .HasColumnType("varchar(500)")
  1506. .HasCharSet("utf8")
  1507. .HasCollation("utf8_general_ci");
  1508. entity.Property(e => e.SeoKeyword)
  1509. .HasColumnType("varchar(200)")
  1510. .HasCharSet("utf8")
  1511. .HasCollation("utf8_general_ci");
  1512. entity.Property(e => e.SeoTitle)
  1513. .HasColumnType("varchar(100)")
  1514. .HasCharSet("utf8")
  1515. .HasCollation("utf8_general_ci");
  1516. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1517. entity.Property(e => e.Status).HasColumnType("int(11)");
  1518. entity.Property(e => e.Title)
  1519. .HasColumnType("varchar(50)")
  1520. .HasCharSet("utf8")
  1521. .HasCollation("utf8_general_ci");
  1522. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1523. entity.Property(e => e.UpdateMan)
  1524. .HasColumnType("varchar(50)")
  1525. .HasCharSet("utf8")
  1526. .HasCollation("utf8_general_ci");
  1527. entity.Property(e => e.Url)
  1528. .HasColumnType("varchar(50)")
  1529. .HasCharSet("utf8")
  1530. .HasCollation("utf8_general_ci");
  1531. entity.Property(e => e.Version).HasColumnType("int(11)");
  1532. });
  1533. modelBuilder.Entity<KqProductBrand>(entity =>
  1534. {
  1535. entity.Property(e => e.Id).HasColumnType("int(11)");
  1536. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1537. entity.Property(e => e.CreateMan)
  1538. .HasColumnType("varchar(50)")
  1539. .HasCharSet("utf8")
  1540. .HasCollation("utf8_general_ci");
  1541. entity.Property(e => e.Name)
  1542. .HasColumnType("varchar(50)")
  1543. .HasCharSet("utf8")
  1544. .HasCollation("utf8_general_ci");
  1545. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  1546. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1547. entity.Property(e => e.SeoDescription)
  1548. .HasColumnType("varchar(500)")
  1549. .HasCharSet("utf8")
  1550. .HasCollation("utf8_general_ci");
  1551. entity.Property(e => e.SeoKeyword)
  1552. .HasColumnType("varchar(200)")
  1553. .HasCharSet("utf8")
  1554. .HasCollation("utf8_general_ci");
  1555. entity.Property(e => e.SeoTitle)
  1556. .HasColumnType("varchar(100)")
  1557. .HasCharSet("utf8")
  1558. .HasCollation("utf8_general_ci");
  1559. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1560. entity.Property(e => e.Status).HasColumnType("int(11)");
  1561. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1562. entity.Property(e => e.UpdateMan)
  1563. .HasColumnType("varchar(50)")
  1564. .HasCharSet("utf8")
  1565. .HasCollation("utf8_general_ci");
  1566. entity.Property(e => e.Version).HasColumnType("int(11)");
  1567. });
  1568. modelBuilder.Entity<KqProductOrgs>(entity =>
  1569. {
  1570. entity.Property(e => e.Id).HasColumnType("int(11)");
  1571. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1572. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1573. entity.Property(e => e.CreateMan)
  1574. .HasColumnType("varchar(50)")
  1575. .HasCharSet("utf8")
  1576. .HasCollation("utf8_general_ci");
  1577. entity.Property(e => e.Name)
  1578. .HasColumnType("varchar(50)")
  1579. .HasCharSet("utf8")
  1580. .HasCollation("utf8_general_ci");
  1581. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1582. entity.Property(e => e.SeoDescription)
  1583. .HasColumnType("varchar(500)")
  1584. .HasCharSet("utf8")
  1585. .HasCollation("utf8_general_ci");
  1586. entity.Property(e => e.SeoKeyword)
  1587. .HasColumnType("varchar(200)")
  1588. .HasCharSet("utf8")
  1589. .HasCollation("utf8_general_ci");
  1590. entity.Property(e => e.SeoTitle)
  1591. .HasColumnType("varchar(100)")
  1592. .HasCharSet("utf8")
  1593. .HasCollation("utf8_general_ci");
  1594. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1595. entity.Property(e => e.Status).HasColumnType("int(11)");
  1596. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1597. entity.Property(e => e.UpdateMan)
  1598. .HasColumnType("varchar(50)")
  1599. .HasCharSet("utf8")
  1600. .HasCollation("utf8_general_ci");
  1601. entity.Property(e => e.Version).HasColumnType("int(11)");
  1602. });
  1603. modelBuilder.Entity<KqProductRuleSet>(entity =>
  1604. {
  1605. entity.Property(e => e.Id).HasColumnType("int(11)");
  1606. entity.Property(e => e.ActDeposit).HasColumnType("decimal(18,2)");
  1607. entity.Property(e => e.ActEndDate).HasColumnType("datetime");
  1608. entity.Property(e => e.ActFirst).HasColumnType("decimal(18,2)");
  1609. entity.Property(e => e.ActFirstDeposit).HasColumnType("decimal(18,2)");
  1610. entity.Property(e => e.ActPosCount).HasColumnType("int(11)");
  1611. entity.Property(e => e.ActPrize).HasColumnType("decimal(18,2)");
  1612. entity.Property(e => e.ActStartDate).HasColumnType("datetime");
  1613. entity.Property(e => e.ActiveCount).HasColumnType("int(11)");
  1614. entity.Property(e => e.ActivePrice).HasColumnType("decimal(18,2)");
  1615. entity.Property(e => e.BigExtendCycleDays).HasColumnType("int(11)");
  1616. entity.Property(e => e.BigTotalAmount).HasColumnType("decimal(18,2)");
  1617. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1618. entity.Property(e => e.CreateMan)
  1619. .HasColumnType("varchar(50)")
  1620. .HasCharSet("utf8")
  1621. .HasCollation("utf8_general_ci");
  1622. entity.Property(e => e.CycleEndDate).HasColumnType("datetime");
  1623. entity.Property(e => e.CycleIsOther)
  1624. .HasColumnType("bit(1)")
  1625. .HasDefaultValueSql("b'0'");
  1626. entity.Property(e => e.CyclePosDays).HasColumnType("int(11)");
  1627. entity.Property(e => e.CycleStartDate).HasColumnType("datetime");
  1628. entity.Property(e => e.Deposit).HasColumnType("decimal(18,2)");
  1629. entity.Property(e => e.FeeBindDays).HasColumnType("int(11)");
  1630. entity.Property(e => e.FeeFixed).HasColumnType("decimal(18,2)");
  1631. entity.Property(e => e.FeeOfDays).HasColumnType("datetime");
  1632. entity.Property(e => e.FeeRate).HasColumnType("decimal(18,2)");
  1633. entity.Property(e => e.FlowCardDirectProfit).HasColumnType("decimal(18,2)");
  1634. entity.Property(e => e.FlowCardEndDate).HasColumnType("datetime");
  1635. entity.Property(e => e.FlowCardFee).HasColumnType("decimal(18,2)");
  1636. entity.Property(e => e.FlowCardFreeDays).HasColumnType("int(11)");
  1637. entity.Property(e => e.FlowCardStartDate).HasColumnType("datetime");
  1638. entity.Property(e => e.HelpEndDate).HasColumnType("datetime");
  1639. entity.Property(e => e.HelpFee).HasColumnType("decimal(18,2)");
  1640. entity.Property(e => e.HelpMonths).HasColumnType("int(11)");
  1641. entity.Property(e => e.HelpStartDate).HasColumnType("datetime");
  1642. entity.Property(e => e.HelpSteadyFee).HasColumnType("decimal(18,2)");
  1643. entity.Property(e => e.MerStaEndDate).HasColumnType("datetime");
  1644. entity.Property(e => e.MerStaMonths).HasColumnType("int(11)");
  1645. entity.Property(e => e.MerStaProfit).HasColumnType("decimal(18,2)");
  1646. entity.Property(e => e.MerStaStartDate).HasColumnType("datetime");
  1647. entity.Property(e => e.MerStaTradeForMonth).HasColumnType("decimal(18,2)");
  1648. entity.Property(e => e.OpenEndDate).HasColumnType("datetime");
  1649. entity.Property(e => e.OpenStaDays).HasColumnType("int(11)");
  1650. entity.Property(e => e.OpenStaPrize).HasColumnType("decimal(18,2)");
  1651. entity.Property(e => e.OpenStaPrize2).HasColumnType("decimal(18,2)");
  1652. entity.Property(e => e.OpenStaTrade).HasColumnType("decimal(18,2)");
  1653. entity.Property(e => e.OpenStartDate).HasColumnType("datetime");
  1654. entity.Property(e => e.OrgId).HasColumnType("int(11)");
  1655. entity.Property(e => e.PullNewEndDate).HasColumnType("datetime");
  1656. entity.Property(e => e.PullNewExtendDays).HasColumnType("int(11)");
  1657. entity.Property(e => e.PullNewStartDate).HasColumnType("datetime");
  1658. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1659. entity.Property(e => e.SeoDescription)
  1660. .HasColumnType("varchar(500)")
  1661. .HasCharSet("utf8")
  1662. .HasCollation("utf8_general_ci");
  1663. entity.Property(e => e.SeoKeyword)
  1664. .HasColumnType("varchar(200)")
  1665. .HasCharSet("utf8")
  1666. .HasCollation("utf8_general_ci");
  1667. entity.Property(e => e.SeoTitle)
  1668. .HasColumnType("varchar(100)")
  1669. .HasCharSet("utf8")
  1670. .HasCollation("utf8_general_ci");
  1671. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1672. entity.Property(e => e.Status).HasColumnType("int(11)");
  1673. entity.Property(e => e.SubsidyEndDate).HasColumnType("datetime");
  1674. entity.Property(e => e.SubsidyStartDate).HasColumnType("datetime");
  1675. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1676. entity.Property(e => e.UpdateMan)
  1677. .HasColumnType("varchar(50)")
  1678. .HasCharSet("utf8")
  1679. .HasCollation("utf8_general_ci");
  1680. entity.Property(e => e.Version).HasColumnType("int(11)");
  1681. });
  1682. modelBuilder.Entity<KqProducts>(entity =>
  1683. {
  1684. entity.Property(e => e.Id).HasColumnType("int(11)");
  1685. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1686. entity.Property(e => e.CreateMan)
  1687. .HasColumnType("varchar(50)")
  1688. .HasCharSet("utf8")
  1689. .HasCollation("utf8_general_ci");
  1690. entity.Property(e => e.Name)
  1691. .HasColumnType("varchar(50)")
  1692. .HasCharSet("utf8")
  1693. .HasCollation("utf8_general_ci");
  1694. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1695. entity.Property(e => e.SeoDescription)
  1696. .HasColumnType("varchar(500)")
  1697. .HasCharSet("utf8")
  1698. .HasCollation("utf8_general_ci");
  1699. entity.Property(e => e.SeoKeyword)
  1700. .HasColumnType("varchar(200)")
  1701. .HasCharSet("utf8")
  1702. .HasCollation("utf8_general_ci");
  1703. entity.Property(e => e.SeoTitle)
  1704. .HasColumnType("varchar(100)")
  1705. .HasCharSet("utf8")
  1706. .HasCollation("utf8_general_ci");
  1707. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1708. entity.Property(e => e.Status).HasColumnType("int(11)");
  1709. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1710. entity.Property(e => e.UpdateMan)
  1711. .HasColumnType("varchar(50)")
  1712. .HasCharSet("utf8")
  1713. .HasCollation("utf8_general_ci");
  1714. entity.Property(e => e.Version).HasColumnType("int(11)");
  1715. });
  1716. modelBuilder.Entity<MachineApply>(entity =>
  1717. {
  1718. entity.Property(e => e.Id).HasColumnType("int(11)");
  1719. entity.Property(e => e.Address)
  1720. .HasColumnType("varchar(50)")
  1721. .HasCharSet("utf8")
  1722. .HasCollation("utf8_general_ci");
  1723. entity.Property(e => e.ApplyDeviceName)
  1724. .HasColumnType("varchar(32)")
  1725. .HasCharSet("utf8")
  1726. .HasCollation("utf8_general_ci");
  1727. entity.Property(e => e.ApplyDeviceNum).HasColumnType("int(11)");
  1728. entity.Property(e => e.ApplyNo)
  1729. .HasColumnType("varchar(32)")
  1730. .HasCharSet("utf8")
  1731. .HasCollation("utf8_general_ci");
  1732. entity.Property(e => e.ApplyTime).HasColumnType("datetime");
  1733. entity.Property(e => e.Areas)
  1734. .HasColumnType("varchar(30)")
  1735. .HasCharSet("utf8")
  1736. .HasCollation("utf8_general_ci");
  1737. entity.Property(e => e.AuditBy)
  1738. .HasColumnType("varchar(32)")
  1739. .HasCharSet("utf8")
  1740. .HasCollation("utf8_general_ci");
  1741. entity.Property(e => e.AuditRemark)
  1742. .HasColumnType("varchar(128)")
  1743. .HasCharSet("utf8")
  1744. .HasCollation("utf8_general_ci");
  1745. entity.Property(e => e.AuditResult).HasColumnType("int(11)");
  1746. entity.Property(e => e.AuditTime).HasColumnType("datetime");
  1747. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1748. entity.Property(e => e.CompleteTime).HasColumnType("datetime");
  1749. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1750. entity.Property(e => e.CreateMan)
  1751. .HasColumnType("varchar(50)")
  1752. .HasCharSet("utf8")
  1753. .HasCollation("utf8_general_ci");
  1754. entity.Property(e => e.DeliveryType).HasColumnType("int(11)");
  1755. entity.Property(e => e.ExpressName)
  1756. .HasColumnType("varchar(32)")
  1757. .HasCharSet("utf8")
  1758. .HasCollation("utf8_general_ci");
  1759. entity.Property(e => e.ExpressNo)
  1760. .HasColumnType("varchar(32)")
  1761. .HasCharSet("utf8")
  1762. .HasCollation("utf8_general_ci");
  1763. entity.Property(e => e.Mobile)
  1764. .HasColumnType("varchar(11)")
  1765. .HasCharSet("utf8")
  1766. .HasCollation("utf8_general_ci");
  1767. entity.Property(e => e.OrderExpand)
  1768. .HasColumnType("mediumtext")
  1769. .HasCharSet("utf8")
  1770. .HasCollation("utf8_general_ci");
  1771. entity.Property(e => e.ProductName)
  1772. .HasColumnType("varchar(32)")
  1773. .HasCharSet("utf8")
  1774. .HasCollation("utf8_general_ci");
  1775. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1776. entity.Property(e => e.RealName)
  1777. .HasColumnType("varchar(30)")
  1778. .HasCharSet("utf8")
  1779. .HasCollation("utf8_general_ci");
  1780. entity.Property(e => e.Remark)
  1781. .HasColumnType("varchar(64)")
  1782. .HasCharSet("utf8")
  1783. .HasCollation("utf8_general_ci");
  1784. entity.Property(e => e.ReturnOrderNo)
  1785. .HasColumnType("varchar(32)")
  1786. .HasCharSet("utf8")
  1787. .HasCollation("utf8_general_ci");
  1788. entity.Property(e => e.ReturnStatus).HasColumnType("int(11)");
  1789. entity.Property(e => e.SendDate).HasColumnType("datetime");
  1790. entity.Property(e => e.SendSn)
  1791. .HasColumnType("varchar(32)")
  1792. .HasCharSet("utf8")
  1793. .HasCollation("utf8_general_ci");
  1794. entity.Property(e => e.SendStatus).HasColumnType("int(11)");
  1795. entity.Property(e => e.SeoDescription)
  1796. .HasColumnType("varchar(500)")
  1797. .HasCharSet("utf8")
  1798. .HasCollation("utf8_general_ci");
  1799. entity.Property(e => e.SeoKeyword)
  1800. .HasColumnType("varchar(200)")
  1801. .HasCharSet("utf8")
  1802. .HasCollation("utf8_general_ci");
  1803. entity.Property(e => e.SeoTitle)
  1804. .HasColumnType("varchar(100)")
  1805. .HasCharSet("utf8")
  1806. .HasCollation("utf8_general_ci");
  1807. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1808. entity.Property(e => e.Status).HasColumnType("int(11)");
  1809. entity.Property(e => e.StoreAddress)
  1810. .HasColumnType("varchar(50)")
  1811. .HasCharSet("utf8")
  1812. .HasCollation("utf8_general_ci");
  1813. entity.Property(e => e.StoreAreas)
  1814. .HasColumnType("varchar(30)")
  1815. .HasCharSet("utf8")
  1816. .HasCollation("utf8_general_ci");
  1817. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  1818. entity.Property(e => e.StoreManager)
  1819. .HasColumnType("varchar(32)")
  1820. .HasCharSet("utf8")
  1821. .HasCollation("utf8_general_ci");
  1822. entity.Property(e => e.StoreManagerMobile)
  1823. .HasColumnType("varchar(11)")
  1824. .HasCharSet("utf8")
  1825. .HasCollation("utf8_general_ci");
  1826. entity.Property(e => e.StoreName)
  1827. .HasColumnType("varchar(32)")
  1828. .HasCharSet("utf8")
  1829. .HasCollation("utf8_general_ci");
  1830. entity.Property(e => e.StoreType).HasColumnType("int(11)");
  1831. entity.Property(e => e.StoreUserId).HasColumnType("int(11)");
  1832. entity.Property(e => e.SwapActProName)
  1833. .HasColumnType("varchar(32)")
  1834. .HasCharSet("utf8")
  1835. .HasCollation("utf8_general_ci");
  1836. entity.Property(e => e.SwapActProType).HasColumnType("int(11)");
  1837. entity.Property(e => e.SwapSnExpand)
  1838. .HasColumnType("mediumtext")
  1839. .HasCharSet("utf8")
  1840. .HasCollation("utf8_general_ci");
  1841. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  1842. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1843. entity.Property(e => e.UpdateMan)
  1844. .HasColumnType("varchar(50)")
  1845. .HasCharSet("utf8")
  1846. .HasCollation("utf8_general_ci");
  1847. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1848. entity.Property(e => e.Version).HasColumnType("int(11)");
  1849. });
  1850. modelBuilder.Entity<MachineApplyDetail>(entity =>
  1851. {
  1852. entity.Property(e => e.Id).HasColumnType("int(11)");
  1853. entity.Property(e => e.ApplyId).HasColumnType("int(11)");
  1854. entity.Property(e => e.ApplyNo)
  1855. .HasColumnType("varchar(32)")
  1856. .HasCharSet("utf8")
  1857. .HasCollation("utf8_general_ci");
  1858. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1859. entity.Property(e => e.CreateMan)
  1860. .HasColumnType("varchar(50)")
  1861. .HasCharSet("utf8")
  1862. .HasCollation("utf8_general_ci");
  1863. entity.Property(e => e.DeviceDesc)
  1864. .HasColumnType("varchar(32)")
  1865. .HasCharSet("utf8")
  1866. .HasCollation("utf8_general_ci");
  1867. entity.Property(e => e.DeviceModel)
  1868. .HasColumnType("varchar(32)")
  1869. .HasCharSet("utf8")
  1870. .HasCollation("utf8_general_ci");
  1871. entity.Property(e => e.DeviceSnNo)
  1872. .HasColumnType("varchar(32)")
  1873. .HasCharSet("utf8")
  1874. .HasCollation("utf8_general_ci");
  1875. entity.Property(e => e.DeviceStatus).HasColumnType("int(11)");
  1876. entity.Property(e => e.DeviceVendor)
  1877. .HasColumnType("varchar(32)")
  1878. .HasCharSet("utf8")
  1879. .HasCollation("utf8_general_ci");
  1880. entity.Property(e => e.ProductName)
  1881. .HasColumnType("varchar(32)")
  1882. .HasCharSet("utf8")
  1883. .HasCollation("utf8_general_ci");
  1884. entity.Property(e => e.ProductType).HasColumnType("int(11)");
  1885. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1886. entity.Property(e => e.Remark)
  1887. .HasColumnType("varchar(64)")
  1888. .HasCharSet("utf8")
  1889. .HasCollation("utf8_general_ci");
  1890. entity.Property(e => e.SeoDescription)
  1891. .HasColumnType("varchar(500)")
  1892. .HasCharSet("utf8")
  1893. .HasCollation("utf8_general_ci");
  1894. entity.Property(e => e.SeoKeyword)
  1895. .HasColumnType("varchar(200)")
  1896. .HasCharSet("utf8")
  1897. .HasCollation("utf8_general_ci");
  1898. entity.Property(e => e.SeoTitle)
  1899. .HasColumnType("varchar(100)")
  1900. .HasCharSet("utf8")
  1901. .HasCollation("utf8_general_ci");
  1902. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1903. entity.Property(e => e.SourceSnNo)
  1904. .HasColumnType("varchar(32)")
  1905. .HasCharSet("utf8")
  1906. .HasCollation("utf8_general_ci");
  1907. entity.Property(e => e.SourceSnType).HasColumnType("int(11)");
  1908. entity.Property(e => e.Status).HasColumnType("int(11)");
  1909. entity.Property(e => e.UpSrcProName)
  1910. .HasColumnType("varchar(32)")
  1911. .HasCharSet("utf8")
  1912. .HasCollation("utf8_general_ci");
  1913. entity.Property(e => e.UpSrcProType).HasColumnType("int(11)");
  1914. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1915. entity.Property(e => e.UpdateMan)
  1916. .HasColumnType("varchar(50)")
  1917. .HasCharSet("utf8")
  1918. .HasCollation("utf8_general_ci");
  1919. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1920. entity.Property(e => e.Version).HasColumnType("int(11)");
  1921. });
  1922. modelBuilder.Entity<MachineChange>(entity =>
  1923. {
  1924. entity.Property(e => e.Id).HasColumnType("int(11)");
  1925. entity.Property(e => e.AuditBy)
  1926. .HasColumnType("varchar(32)")
  1927. .HasCharSet("utf8")
  1928. .HasCollation("utf8_general_ci");
  1929. entity.Property(e => e.AuditRemark)
  1930. .HasColumnType("varchar(128)")
  1931. .HasCharSet("utf8")
  1932. .HasCollation("utf8_general_ci");
  1933. entity.Property(e => e.AuditResult).HasColumnType("int(11)");
  1934. entity.Property(e => e.AuditTime).HasColumnType("datetime");
  1935. entity.Property(e => e.BackProductName)
  1936. .HasColumnType("varchar(32)")
  1937. .HasCharSet("utf8")
  1938. .HasCollation("utf8_general_ci");
  1939. entity.Property(e => e.BackProductType).HasColumnType("int(11)");
  1940. entity.Property(e => e.BackStoreId).HasColumnType("int(11)");
  1941. entity.Property(e => e.BackStoreName)
  1942. .HasColumnType("varchar(32)")
  1943. .HasCharSet("utf8")
  1944. .HasCollation("utf8_general_ci");
  1945. entity.Property(e => e.BackStoreUserId).HasColumnType("int(11)");
  1946. entity.Property(e => e.ChangeDeviceName)
  1947. .HasColumnType("varchar(32)")
  1948. .HasCharSet("utf8")
  1949. .HasCollation("utf8_general_ci");
  1950. entity.Property(e => e.ChangeDeviceNum).HasColumnType("int(11)");
  1951. entity.Property(e => e.ChangeNo)
  1952. .HasColumnType("varchar(32)")
  1953. .HasCharSet("utf8")
  1954. .HasCollation("utf8_general_ci");
  1955. entity.Property(e => e.ChangeSnExpand)
  1956. .HasColumnType("mediumtext")
  1957. .HasCharSet("utf8")
  1958. .HasCollation("utf8_general_ci");
  1959. entity.Property(e => e.ChangeTime).HasColumnType("datetime");
  1960. entity.Property(e => e.CompleteTime).HasColumnType("datetime");
  1961. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1962. entity.Property(e => e.CreateMan)
  1963. .HasColumnType("varchar(50)")
  1964. .HasCharSet("utf8")
  1965. .HasCollation("utf8_general_ci");
  1966. entity.Property(e => e.OrderExpand)
  1967. .HasColumnType("mediumtext")
  1968. .HasCharSet("utf8")
  1969. .HasCollation("utf8_general_ci");
  1970. entity.Property(e => e.OutProductName)
  1971. .HasColumnType("varchar(32)")
  1972. .HasCharSet("utf8")
  1973. .HasCollation("utf8_general_ci");
  1974. entity.Property(e => e.OutProductType).HasColumnType("int(11)");
  1975. entity.Property(e => e.OutStoreAddress)
  1976. .HasColumnType("varchar(128)")
  1977. .HasCharSet("utf8")
  1978. .HasCollation("utf8_general_ci");
  1979. entity.Property(e => e.OutStoreAreas)
  1980. .HasColumnType("varchar(30)")
  1981. .HasCharSet("utf8")
  1982. .HasCollation("utf8_general_ci");
  1983. entity.Property(e => e.OutStoreId).HasColumnType("int(11)");
  1984. entity.Property(e => e.OutStoreManager)
  1985. .HasColumnType("varchar(32)")
  1986. .HasCharSet("utf8")
  1987. .HasCollation("utf8_general_ci");
  1988. entity.Property(e => e.OutStoreManagerMobile)
  1989. .HasColumnType("varchar(11)")
  1990. .HasCharSet("utf8")
  1991. .HasCollation("utf8_general_ci");
  1992. entity.Property(e => e.OutStoreName)
  1993. .HasColumnType("varchar(32)")
  1994. .HasCharSet("utf8")
  1995. .HasCollation("utf8_general_ci");
  1996. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1997. entity.Property(e => e.Remark)
  1998. .HasColumnType("varchar(64)")
  1999. .HasCharSet("utf8")
  2000. .HasCollation("utf8_general_ci");
  2001. entity.Property(e => e.SeoDescription)
  2002. .HasColumnType("varchar(500)")
  2003. .HasCharSet("utf8")
  2004. .HasCollation("utf8_general_ci");
  2005. entity.Property(e => e.SeoKeyword)
  2006. .HasColumnType("varchar(200)")
  2007. .HasCharSet("utf8")
  2008. .HasCollation("utf8_general_ci");
  2009. entity.Property(e => e.SeoTitle)
  2010. .HasColumnType("varchar(100)")
  2011. .HasCharSet("utf8")
  2012. .HasCollation("utf8_general_ci");
  2013. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2014. entity.Property(e => e.Status).HasColumnType("int(11)");
  2015. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2016. entity.Property(e => e.UpdateMan)
  2017. .HasColumnType("varchar(50)")
  2018. .HasCharSet("utf8")
  2019. .HasCollation("utf8_general_ci");
  2020. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2021. entity.Property(e => e.Version).HasColumnType("int(11)");
  2022. });
  2023. modelBuilder.Entity<MachineChangeDetail>(entity =>
  2024. {
  2025. entity.Property(e => e.Id).HasColumnType("int(11)");
  2026. entity.Property(e => e.BackDeviceStatus).HasColumnType("int(11)");
  2027. entity.Property(e => e.BackProductName)
  2028. .HasColumnType("varchar(32)")
  2029. .HasCharSet("utf8")
  2030. .HasCollation("utf8_general_ci");
  2031. entity.Property(e => e.BackProductType).HasColumnType("int(11)");
  2032. entity.Property(e => e.BackSnNo)
  2033. .HasColumnType("varchar(32)")
  2034. .HasCharSet("utf8")
  2035. .HasCollation("utf8_general_ci");
  2036. entity.Property(e => e.BackSnType).HasColumnType("int(11)");
  2037. entity.Property(e => e.ChangeId).HasColumnType("int(11)");
  2038. entity.Property(e => e.ChangeNo)
  2039. .HasColumnType("varchar(32)")
  2040. .HasCharSet("utf8")
  2041. .HasCollation("utf8_general_ci");
  2042. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2043. entity.Property(e => e.CreateMan)
  2044. .HasColumnType("varchar(50)")
  2045. .HasCharSet("utf8")
  2046. .HasCollation("utf8_general_ci");
  2047. entity.Property(e => e.OutProductName)
  2048. .HasColumnType("varchar(32)")
  2049. .HasCharSet("utf8")
  2050. .HasCollation("utf8_general_ci");
  2051. entity.Property(e => e.OutProductType).HasColumnType("int(11)");
  2052. entity.Property(e => e.OutSnNo)
  2053. .HasColumnType("varchar(32)")
  2054. .HasCharSet("utf8")
  2055. .HasCollation("utf8_general_ci");
  2056. entity.Property(e => e.OutSnType).HasColumnType("int(11)");
  2057. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2058. entity.Property(e => e.Remark)
  2059. .HasColumnType("varchar(64)")
  2060. .HasCharSet("utf8")
  2061. .HasCollation("utf8_general_ci");
  2062. entity.Property(e => e.SeoDescription)
  2063. .HasColumnType("varchar(500)")
  2064. .HasCharSet("utf8")
  2065. .HasCollation("utf8_general_ci");
  2066. entity.Property(e => e.SeoKeyword)
  2067. .HasColumnType("varchar(200)")
  2068. .HasCharSet("utf8")
  2069. .HasCollation("utf8_general_ci");
  2070. entity.Property(e => e.SeoTitle)
  2071. .HasColumnType("varchar(100)")
  2072. .HasCharSet("utf8")
  2073. .HasCollation("utf8_general_ci");
  2074. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2075. entity.Property(e => e.Status).HasColumnType("int(11)");
  2076. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2077. entity.Property(e => e.UpdateMan)
  2078. .HasColumnType("varchar(50)")
  2079. .HasCharSet("utf8")
  2080. .HasCollation("utf8_general_ci");
  2081. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2082. entity.Property(e => e.Version).HasColumnType("int(11)");
  2083. });
  2084. modelBuilder.Entity<MachineForQrCode>(entity =>
  2085. {
  2086. entity.HasKey(e => e.DataId)
  2087. .HasName("PRIMARY");
  2088. entity.Property(e => e.DataId)
  2089. .HasColumnType("varchar(20)")
  2090. .HasCharSet("utf8")
  2091. .HasCollation("utf8_general_ci");
  2092. entity.Property(e => e.BindDate).HasColumnType("datetime");
  2093. entity.Property(e => e.MachineSnNo)
  2094. .HasColumnType("varchar(50)")
  2095. .HasCharSet("utf8")
  2096. .HasCollation("utf8_general_ci");
  2097. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2098. entity.Property(e => e.SnNo)
  2099. .HasColumnType("varchar(50)")
  2100. .HasCharSet("utf8")
  2101. .HasCollation("utf8_general_ci");
  2102. });
  2103. modelBuilder.Entity<MachineForSnNo>(entity =>
  2104. {
  2105. entity.HasKey(e => e.SnNo)
  2106. .HasName("PRIMARY");
  2107. entity.Property(e => e.SnNo)
  2108. .HasColumnType("varchar(50)")
  2109. .HasCharSet("utf8")
  2110. .HasCollation("utf8_general_ci");
  2111. entity.Property(e => e.SnId).HasColumnType("int(11)");
  2112. });
  2113. modelBuilder.Entity<MachineRenew>(entity =>
  2114. {
  2115. entity.Property(e => e.Id).HasColumnType("int(11)");
  2116. entity.Property(e => e.ApplyDate)
  2117. .HasColumnType("varchar(8)")
  2118. .HasCharSet("utf8")
  2119. .HasCollation("utf8_general_ci");
  2120. entity.Property(e => e.ApplyNo)
  2121. .HasColumnType("varchar(32)")
  2122. .HasCharSet("utf8")
  2123. .HasCollation("utf8_general_ci");
  2124. entity.Property(e => e.AuditDate).HasColumnType("datetime");
  2125. entity.Property(e => e.AuditDesc)
  2126. .HasColumnType("varchar(256)")
  2127. .HasCharSet("utf8")
  2128. .HasCollation("utf8_general_ci");
  2129. entity.Property(e => e.AuditStatus)
  2130. .HasColumnName("audit_status")
  2131. .HasColumnType("int(11)");
  2132. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2133. entity.Property(e => e.CreateMan)
  2134. .HasColumnType("varchar(50)")
  2135. .HasCharSet("utf8")
  2136. .HasCollation("utf8_general_ci");
  2137. entity.Property(e => e.DamagedBrandId).HasColumnType("int(11)");
  2138. entity.Property(e => e.DamagedSnNo)
  2139. .HasColumnType("varchar(32)")
  2140. .HasCharSet("utf8")
  2141. .HasCollation("utf8_general_ci");
  2142. entity.Property(e => e.DamagedSnType).HasColumnType("int(11)");
  2143. entity.Property(e => e.DeliverBrandId).HasColumnType("int(11)");
  2144. entity.Property(e => e.DeliverSnNo)
  2145. .HasColumnType("varchar(32)")
  2146. .HasCharSet("utf8")
  2147. .HasCollation("utf8_general_ci");
  2148. entity.Property(e => e.DemandDesc)
  2149. .HasColumnType("varchar(256)")
  2150. .HasCharSet("utf8")
  2151. .HasCollation("utf8_general_ci");
  2152. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2153. entity.Property(e => e.ReplaceBrandId).HasColumnType("int(11)");
  2154. entity.Property(e => e.ReplaceSnNo)
  2155. .HasColumnType("varchar(32)")
  2156. .HasCharSet("utf8")
  2157. .HasCollation("utf8_general_ci");
  2158. entity.Property(e => e.ReplaceSnType).HasColumnType("int(11)");
  2159. entity.Property(e => e.SeoDescription)
  2160. .HasColumnType("varchar(500)")
  2161. .HasCharSet("utf8")
  2162. .HasCollation("utf8_general_ci");
  2163. entity.Property(e => e.SeoKeyword)
  2164. .HasColumnType("varchar(200)")
  2165. .HasCharSet("utf8")
  2166. .HasCollation("utf8_general_ci");
  2167. entity.Property(e => e.SeoTitle)
  2168. .HasColumnType("varchar(100)")
  2169. .HasCharSet("utf8")
  2170. .HasCollation("utf8_general_ci");
  2171. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2172. entity.Property(e => e.Status).HasColumnType("int(11)");
  2173. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2174. entity.Property(e => e.UpdateMan)
  2175. .HasColumnType("varchar(50)")
  2176. .HasCharSet("utf8")
  2177. .HasCollation("utf8_general_ci");
  2178. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2179. entity.Property(e => e.Version).HasColumnType("int(11)");
  2180. });
  2181. modelBuilder.Entity<MachineReturn>(entity =>
  2182. {
  2183. entity.Property(e => e.Id).HasColumnType("int(11)");
  2184. entity.Property(e => e.ApplyNo)
  2185. .HasColumnType("varchar(32)")
  2186. .HasCharSet("utf8")
  2187. .HasCollation("utf8_general_ci");
  2188. entity.Property(e => e.AuditStatus).HasColumnType("int(11)");
  2189. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  2190. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2191. entity.Property(e => e.CreateMan)
  2192. .HasColumnType("varchar(50)")
  2193. .HasCharSet("utf8")
  2194. .HasCollation("utf8_general_ci");
  2195. entity.Property(e => e.DeviceDesc)
  2196. .HasColumnType("varchar(256)")
  2197. .HasCharSet("utf8")
  2198. .HasCollation("utf8_general_ci");
  2199. entity.Property(e => e.DeviceNum).HasColumnType("int(11)");
  2200. entity.Property(e => e.DeviceSnNos)
  2201. .HasColumnType("mediumtext")
  2202. .HasCharSet("utf8")
  2203. .HasCollation("utf8_general_ci");
  2204. entity.Property(e => e.Operator)
  2205. .HasColumnType("varchar(32)")
  2206. .HasCharSet("utf8")
  2207. .HasCollation("utf8_general_ci");
  2208. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2209. entity.Property(e => e.Remark)
  2210. .HasColumnType("varchar(64)")
  2211. .HasCharSet("utf8")
  2212. .HasCollation("utf8_general_ci");
  2213. entity.Property(e => e.SeoDescription)
  2214. .HasColumnType("varchar(500)")
  2215. .HasCharSet("utf8")
  2216. .HasCollation("utf8_general_ci");
  2217. entity.Property(e => e.SeoKeyword)
  2218. .HasColumnType("varchar(200)")
  2219. .HasCharSet("utf8")
  2220. .HasCollation("utf8_general_ci");
  2221. entity.Property(e => e.SeoTitle)
  2222. .HasColumnType("varchar(100)")
  2223. .HasCharSet("utf8")
  2224. .HasCollation("utf8_general_ci");
  2225. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2226. entity.Property(e => e.Status).HasColumnType("int(11)");
  2227. entity.Property(e => e.ToStoreId).HasColumnType("int(11)");
  2228. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2229. entity.Property(e => e.UpdateMan)
  2230. .HasColumnType("varchar(50)")
  2231. .HasCharSet("utf8")
  2232. .HasCollation("utf8_general_ci");
  2233. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2234. entity.Property(e => e.Version).HasColumnType("int(11)");
  2235. });
  2236. modelBuilder.Entity<MenuRight>(entity =>
  2237. {
  2238. entity.HasKey(e => e.MenuId)
  2239. .HasName("PRIMARY");
  2240. entity.Property(e => e.MenuId)
  2241. .HasColumnType("varchar(50)")
  2242. .HasCharSet("utf8")
  2243. .HasCollation("utf8_general_ci");
  2244. entity.Property(e => e.Name)
  2245. .HasColumnType("varchar(50)")
  2246. .HasCharSet("utf8")
  2247. .HasCollation("utf8_general_ci");
  2248. });
  2249. modelBuilder.Entity<MerchantAddInfo>(entity =>
  2250. {
  2251. entity.Property(e => e.Id).HasColumnType("int(11)");
  2252. entity.Property(e => e.AccountBank)
  2253. .HasColumnType("varchar(30)")
  2254. .HasCharSet("utf8")
  2255. .HasCollation("utf8_general_ci");
  2256. entity.Property(e => e.AccountName)
  2257. .HasColumnType("varchar(50)")
  2258. .HasCharSet("utf8")
  2259. .HasCollation("utf8_general_ci");
  2260. entity.Property(e => e.AccountNumber)
  2261. .HasColumnType("varchar(50)")
  2262. .HasCharSet("utf8")
  2263. .HasCollation("utf8_general_ci");
  2264. entity.Property(e => e.ActivitiesId)
  2265. .HasColumnType("varchar(32)")
  2266. .HasCharSet("utf8")
  2267. .HasCollation("utf8_general_ci");
  2268. entity.Property(e => e.ActivitiesRate)
  2269. .HasColumnType("varchar(20)")
  2270. .HasCharSet("utf8")
  2271. .HasCollation("utf8_general_ci");
  2272. entity.Property(e => e.AppAppid)
  2273. .HasColumnType("varchar(50)")
  2274. .HasCharSet("utf8")
  2275. .HasCollation("utf8_general_ci");
  2276. entity.Property(e => e.AppPics)
  2277. .HasColumnType("varchar(200)")
  2278. .HasCharSet("utf8")
  2279. .HasCollation("utf8_general_ci");
  2280. entity.Property(e => e.AppSubAppid)
  2281. .HasColumnType("varchar(50)")
  2282. .HasCharSet("utf8")
  2283. .HasCollation("utf8_general_ci");
  2284. entity.Property(e => e.ApplymentId)
  2285. .HasColumnType("varchar(50)")
  2286. .HasCharSet("utf8")
  2287. .HasCollation("utf8_general_ci");
  2288. entity.Property(e => e.ApplymentState)
  2289. .HasColumnType("varchar(50)")
  2290. .HasCharSet("utf8")
  2291. .HasCollation("utf8_general_ci");
  2292. entity.Property(e => e.AuditDetail)
  2293. .HasColumnType("mediumtext")
  2294. .HasCharSet("utf8")
  2295. .HasCollation("utf8_general_ci");
  2296. entity.Property(e => e.BankAccountType)
  2297. .HasColumnType("varchar(50)")
  2298. .HasCharSet("utf8")
  2299. .HasCollation("utf8_general_ci");
  2300. entity.Property(e => e.BankAddressCode)
  2301. .HasColumnType("varchar(20)")
  2302. .HasCharSet("utf8")
  2303. .HasCollation("utf8_general_ci");
  2304. entity.Property(e => e.BankBranchId)
  2305. .HasColumnType("varchar(20)")
  2306. .HasCharSet("utf8")
  2307. .HasCollation("utf8_general_ci");
  2308. entity.Property(e => e.BankName)
  2309. .HasColumnType("varchar(50)")
  2310. .HasCharSet("utf8")
  2311. .HasCollation("utf8_general_ci");
  2312. entity.Property(e => e.BizAddressCode)
  2313. .HasColumnType("varchar(30)")
  2314. .HasCharSet("utf8")
  2315. .HasCollation("utf8_general_ci");
  2316. entity.Property(e => e.BizStoreAddress)
  2317. .HasColumnType("varchar(50)")
  2318. .HasCharSet("utf8")
  2319. .HasCollation("utf8_general_ci");
  2320. entity.Property(e => e.BizStoreName)
  2321. .HasColumnType("varchar(50)")
  2322. .HasCharSet("utf8")
  2323. .HasCollation("utf8_general_ci");
  2324. entity.Property(e => e.BizSubAppid)
  2325. .HasColumnType("varchar(32)")
  2326. .HasCharSet("utf8")
  2327. .HasCollation("utf8_general_ci");
  2328. entity.Property(e => e.BusinessCode)
  2329. .HasColumnType("varchar(50)")
  2330. .HasCharSet("utf8")
  2331. .HasCollation("utf8_general_ci");
  2332. entity.Property(e => e.CardPeriodBegin).HasColumnType("datetime");
  2333. entity.Property(e => e.CardPeriodEnd).HasColumnType("datetime");
  2334. entity.Property(e => e.CertCopy)
  2335. .HasColumnType("varchar(200)")
  2336. .HasCharSet("utf8")
  2337. .HasCollation("utf8_general_ci");
  2338. entity.Property(e => e.CertLegalPerson)
  2339. .HasColumnType("varchar(20)")
  2340. .HasCharSet("utf8")
  2341. .HasCollation("utf8_general_ci");
  2342. entity.Property(e => e.CertMerchantName)
  2343. .HasColumnType("varchar(30)")
  2344. .HasCharSet("utf8")
  2345. .HasCollation("utf8_general_ci");
  2346. entity.Property(e => e.CertNumber)
  2347. .HasColumnType("varchar(32)")
  2348. .HasCharSet("utf8")
  2349. .HasCollation("utf8_general_ci");
  2350. entity.Property(e => e.CertType)
  2351. .HasColumnType("varchar(30)")
  2352. .HasCharSet("utf8")
  2353. .HasCollation("utf8_general_ci");
  2354. entity.Property(e => e.CertificateLetterCopy)
  2355. .HasColumnType("varchar(200)")
  2356. .HasCharSet("utf8")
  2357. .HasCollation("utf8_general_ci");
  2358. entity.Property(e => e.CompanyAddress)
  2359. .HasColumnType("varchar(50)")
  2360. .HasCharSet("utf8")
  2361. .HasCollation("utf8_general_ci");
  2362. entity.Property(e => e.ContactEmail)
  2363. .HasColumnType("varchar(50)")
  2364. .HasCharSet("utf8")
  2365. .HasCollation("utf8_general_ci");
  2366. entity.Property(e => e.ContactIdNumber)
  2367. .HasColumnType("varchar(18)")
  2368. .HasCharSet("utf8")
  2369. .HasCollation("utf8_general_ci");
  2370. entity.Property(e => e.ContactName)
  2371. .HasColumnType("varchar(30)")
  2372. .HasCharSet("utf8")
  2373. .HasCollation("utf8_general_ci");
  2374. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2375. entity.Property(e => e.CreateMan)
  2376. .HasColumnType("varchar(50)")
  2377. .HasCharSet("utf8")
  2378. .HasCollation("utf8_general_ci");
  2379. entity.Property(e => e.IdCardCopy)
  2380. .HasColumnType("varchar(200)")
  2381. .HasCharSet("utf8")
  2382. .HasCollation("utf8_general_ci");
  2383. entity.Property(e => e.IdCardName)
  2384. .HasColumnType("varchar(20)")
  2385. .HasCharSet("utf8")
  2386. .HasCollation("utf8_general_ci");
  2387. entity.Property(e => e.IdCardNational)
  2388. .HasColumnType("varchar(200)")
  2389. .HasCharSet("utf8")
  2390. .HasCollation("utf8_general_ci");
  2391. entity.Property(e => e.IdCardNumber)
  2392. .HasColumnType("varchar(18)")
  2393. .HasCharSet("utf8")
  2394. .HasCollation("utf8_general_ci");
  2395. entity.Property(e => e.IdDocType)
  2396. .HasColumnType("varchar(50)")
  2397. .HasCharSet("utf8")
  2398. .HasCollation("utf8_general_ci");
  2399. entity.Property(e => e.IndoorPic)
  2400. .HasColumnType("varchar(200)")
  2401. .HasCharSet("utf8")
  2402. .HasCollation("utf8_general_ci");
  2403. entity.Property(e => e.LegalPerson)
  2404. .HasColumnType("varchar(20)")
  2405. .HasCharSet("utf8")
  2406. .HasCollation("utf8_general_ci");
  2407. entity.Property(e => e.LicenseCopy)
  2408. .HasColumnType("varchar(200)")
  2409. .HasCharSet("utf8")
  2410. .HasCollation("utf8_general_ci");
  2411. entity.Property(e => e.LicenseNumber)
  2412. .HasColumnType("varchar(32)")
  2413. .HasCharSet("utf8")
  2414. .HasCollation("utf8_general_ci");
  2415. entity.Property(e => e.MerchantShortname)
  2416. .HasColumnType("varchar(50)")
  2417. .HasCharSet("utf8")
  2418. .HasCollation("utf8_general_ci");
  2419. entity.Property(e => e.MiniProgramAppid)
  2420. .HasColumnType("varchar(50)")
  2421. .HasCharSet("utf8")
  2422. .HasCollation("utf8_general_ci");
  2423. entity.Property(e => e.MiniProgramPics)
  2424. .HasColumnType("varchar(200)")
  2425. .HasCharSet("utf8")
  2426. .HasCollation("utf8_general_ci");
  2427. entity.Property(e => e.MiniProgramSubAppid)
  2428. .HasColumnType("varchar(50)")
  2429. .HasCharSet("utf8")
  2430. .HasCollation("utf8_general_ci");
  2431. entity.Property(e => e.MobilePhone)
  2432. .HasColumnType("varchar(11)")
  2433. .HasCharSet("utf8")
  2434. .HasCollation("utf8_general_ci");
  2435. entity.Property(e => e.MpAppid)
  2436. .HasColumnType("varchar(50)")
  2437. .HasCharSet("utf8")
  2438. .HasCollation("utf8_general_ci");
  2439. entity.Property(e => e.MpPics)
  2440. .HasColumnType("varchar(200)")
  2441. .HasCharSet("utf8")
  2442. .HasCollation("utf8_general_ci");
  2443. entity.Property(e => e.MpSubAppid)
  2444. .HasColumnType("varchar(50)")
  2445. .HasCharSet("utf8")
  2446. .HasCollation("utf8_general_ci");
  2447. entity.Property(e => e.OpenId)
  2448. .HasColumnType("varchar(50)")
  2449. .HasCharSet("utf8")
  2450. .HasCollation("utf8_general_ci");
  2451. entity.Property(e => e.OrgPeriodBegin).HasColumnType("datetime");
  2452. entity.Property(e => e.OrgPeriodEnd).HasColumnType("datetime");
  2453. entity.Property(e => e.OrganizationCode)
  2454. .HasColumnType("varchar(32)")
  2455. .HasCharSet("utf8")
  2456. .HasCollation("utf8_general_ci");
  2457. entity.Property(e => e.OrganizationCopy)
  2458. .HasColumnType("varchar(200)")
  2459. .HasCharSet("utf8")
  2460. .HasCollation("utf8_general_ci");
  2461. entity.Property(e => e.Owner)
  2462. .HasColumnType("bit(1)")
  2463. .HasDefaultValueSql("b'0'");
  2464. entity.Property(e => e.PeriodBegin).HasColumnType("datetime");
  2465. entity.Property(e => e.PeriodEnd).HasColumnType("datetime");
  2466. entity.Property(e => e.QualificationType)
  2467. .HasColumnType("varchar(30)")
  2468. .HasCharSet("utf8")
  2469. .HasCollation("utf8_general_ci");
  2470. entity.Property(e => e.Qualifications)
  2471. .HasColumnType("varchar(200)")
  2472. .HasCharSet("utf8")
  2473. .HasCollation("utf8_general_ci");
  2474. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2475. entity.Property(e => e.SalesScenesType)
  2476. .HasColumnType("varchar(50)")
  2477. .HasCharSet("utf8")
  2478. .HasCollation("utf8_general_ci");
  2479. entity.Property(e => e.SeoDescription)
  2480. .HasColumnType("varchar(500)")
  2481. .HasCharSet("utf8")
  2482. .HasCollation("utf8_general_ci");
  2483. entity.Property(e => e.SeoKeyword)
  2484. .HasColumnType("varchar(200)")
  2485. .HasCharSet("utf8")
  2486. .HasCollation("utf8_general_ci");
  2487. entity.Property(e => e.SeoTitle)
  2488. .HasColumnType("varchar(100)")
  2489. .HasCharSet("utf8")
  2490. .HasCollation("utf8_general_ci");
  2491. entity.Property(e => e.ServicePhone)
  2492. .HasColumnType("varchar(30)")
  2493. .HasCharSet("utf8")
  2494. .HasCollation("utf8_general_ci");
  2495. entity.Property(e => e.SettlementId)
  2496. .HasColumnType("varchar(3)")
  2497. .HasCharSet("utf8")
  2498. .HasCollation("utf8_general_ci");
  2499. entity.Property(e => e.SignUrl)
  2500. .HasColumnType("varchar(1000)")
  2501. .HasCharSet("utf8")
  2502. .HasCollation("utf8_general_ci");
  2503. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2504. entity.Property(e => e.Status).HasColumnType("int(11)");
  2505. entity.Property(e => e.StoreEntrancePic)
  2506. .HasColumnType("varchar(200)")
  2507. .HasCharSet("utf8")
  2508. .HasCollation("utf8_general_ci");
  2509. entity.Property(e => e.SubCorpId)
  2510. .HasColumnType("varchar(50)")
  2511. .HasCharSet("utf8")
  2512. .HasCollation("utf8_general_ci");
  2513. entity.Property(e => e.SubMchid)
  2514. .HasColumnType("varchar(32)")
  2515. .HasCharSet("utf8")
  2516. .HasCollation("utf8_general_ci");
  2517. entity.Property(e => e.SubjectType)
  2518. .HasColumnType("varchar(50)")
  2519. .HasCharSet("utf8")
  2520. .HasCollation("utf8_general_ci");
  2521. entity.Property(e => e.UboInfoIdCardCopy)
  2522. .HasColumnType("varchar(200)")
  2523. .HasCharSet("utf8")
  2524. .HasCollation("utf8_general_ci");
  2525. entity.Property(e => e.UboInfoIdCardNational)
  2526. .HasColumnType("varchar(200)")
  2527. .HasCharSet("utf8")
  2528. .HasCollation("utf8_general_ci");
  2529. entity.Property(e => e.UboInfoIdDocCopy)
  2530. .HasColumnType("varchar(200)")
  2531. .HasCharSet("utf8")
  2532. .HasCollation("utf8_general_ci");
  2533. entity.Property(e => e.UboInfoIdNumber)
  2534. .HasColumnType("varchar(30)")
  2535. .HasCharSet("utf8")
  2536. .HasCollation("utf8_general_ci");
  2537. entity.Property(e => e.UboInfoIdPeriodBegin).HasColumnType("datetime");
  2538. entity.Property(e => e.UboInfoIdPeriodEnd).HasColumnType("datetime");
  2539. entity.Property(e => e.UboInfoIdType)
  2540. .HasColumnType("varchar(50)")
  2541. .HasCharSet("utf8")
  2542. .HasCollation("utf8_general_ci");
  2543. entity.Property(e => e.UboInfoName)
  2544. .HasColumnType("varchar(20)")
  2545. .HasCharSet("utf8")
  2546. .HasCollation("utf8_general_ci");
  2547. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2548. entity.Property(e => e.UpdateMan)
  2549. .HasColumnType("varchar(50)")
  2550. .HasCharSet("utf8")
  2551. .HasCollation("utf8_general_ci");
  2552. entity.Property(e => e.Version).HasColumnType("int(11)");
  2553. entity.Property(e => e.WebAppId)
  2554. .HasColumnType("varchar(50)")
  2555. .HasCharSet("utf8")
  2556. .HasCollation("utf8_general_ci");
  2557. entity.Property(e => e.WebAuthorisation)
  2558. .HasColumnType("varchar(200)")
  2559. .HasCharSet("utf8")
  2560. .HasCollation("utf8_general_ci");
  2561. entity.Property(e => e.WebDomain)
  2562. .HasColumnType("varchar(50)")
  2563. .HasCharSet("utf8")
  2564. .HasCollation("utf8_general_ci");
  2565. entity.Property(e => e.WeworkPics)
  2566. .HasColumnType("varchar(200)")
  2567. .HasCharSet("utf8")
  2568. .HasCollation("utf8_general_ci");
  2569. });
  2570. modelBuilder.Entity<MerchantAdmin>(entity =>
  2571. {
  2572. entity.Property(e => e.Id).HasColumnType("int(11)");
  2573. entity.Property(e => e.AdminName)
  2574. .HasColumnType("varchar(50)")
  2575. .HasCharSet("utf8")
  2576. .HasCollation("utf8_general_ci");
  2577. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2578. entity.Property(e => e.CreateMan)
  2579. .HasColumnType("varchar(50)")
  2580. .HasCharSet("utf8")
  2581. .HasCollation("utf8_general_ci");
  2582. entity.Property(e => e.Email)
  2583. .HasColumnType("varchar(50)")
  2584. .HasCharSet("utf8")
  2585. .HasCollation("utf8_general_ci");
  2586. entity.Property(e => e.LastLoginDate).HasColumnType("datetime");
  2587. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2588. entity.Property(e => e.Mobile)
  2589. .HasColumnType("varchar(11)")
  2590. .HasCharSet("utf8")
  2591. .HasCollation("utf8_general_ci");
  2592. entity.Property(e => e.Note)
  2593. .HasColumnType("mediumtext")
  2594. .HasCharSet("utf8")
  2595. .HasCollation("utf8_general_ci");
  2596. entity.Property(e => e.Password)
  2597. .HasColumnType("varchar(32)")
  2598. .HasCharSet("utf8")
  2599. .HasCollation("utf8_general_ci");
  2600. entity.Property(e => e.Qq)
  2601. .HasColumnName("QQ")
  2602. .HasColumnType("varchar(20)")
  2603. .HasCharSet("utf8")
  2604. .HasCollation("utf8_general_ci");
  2605. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2606. entity.Property(e => e.RealName)
  2607. .HasColumnType("varchar(50)")
  2608. .HasCharSet("utf8")
  2609. .HasCollation("utf8_general_ci");
  2610. entity.Property(e => e.RightInfo)
  2611. .HasColumnType("varchar(500)")
  2612. .HasCharSet("utf8")
  2613. .HasCollation("utf8_general_ci");
  2614. entity.Property(e => e.SeoDescription)
  2615. .HasColumnType("varchar(500)")
  2616. .HasCharSet("utf8")
  2617. .HasCollation("utf8_general_ci");
  2618. entity.Property(e => e.SeoKeyword)
  2619. .HasColumnType("varchar(200)")
  2620. .HasCharSet("utf8")
  2621. .HasCollation("utf8_general_ci");
  2622. entity.Property(e => e.SeoTitle)
  2623. .HasColumnType("varchar(100)")
  2624. .HasCharSet("utf8")
  2625. .HasCollation("utf8_general_ci");
  2626. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2627. entity.Property(e => e.Status).HasColumnType("int(11)");
  2628. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2629. entity.Property(e => e.UpdateMan)
  2630. .HasColumnType("varchar(50)")
  2631. .HasCharSet("utf8")
  2632. .HasCollation("utf8_general_ci");
  2633. entity.Property(e => e.Version).HasColumnType("int(11)");
  2634. });
  2635. modelBuilder.Entity<MerchantAuth>(entity =>
  2636. {
  2637. entity.Property(e => e.Id).HasColumnType("int(11)");
  2638. entity.Property(e => e.AuthType).HasColumnType("int(11)");
  2639. entity.Property(e => e.BankCardAccount)
  2640. .HasColumnType("varchar(32)")
  2641. .HasCharSet("utf8")
  2642. .HasCollation("utf8_general_ci");
  2643. entity.Property(e => e.BankMobile)
  2644. .HasColumnType("varchar(11)")
  2645. .HasCharSet("utf8")
  2646. .HasCollation("utf8_general_ci");
  2647. entity.Property(e => e.BankName)
  2648. .HasColumnType("varchar(64)")
  2649. .HasCharSet("utf8")
  2650. .HasCollation("utf8_general_ci");
  2651. entity.Property(e => e.ChannelCode)
  2652. .HasColumnType("varchar(16)")
  2653. .HasCharSet("utf8")
  2654. .HasCollation("utf8_general_ci");
  2655. entity.Property(e => e.ChannelName)
  2656. .HasColumnType("varchar(32)")
  2657. .HasCharSet("utf8")
  2658. .HasCollation("utf8_general_ci");
  2659. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2660. entity.Property(e => e.CreateMan)
  2661. .HasColumnType("varchar(50)")
  2662. .HasCharSet("utf8")
  2663. .HasCollation("utf8_general_ci");
  2664. entity.Property(e => e.IdCardNo)
  2665. .HasColumnType("varchar(18)")
  2666. .HasCharSet("utf8")
  2667. .HasCollation("utf8_general_ci");
  2668. entity.Property(e => e.MerNo)
  2669. .HasColumnType("varchar(20)")
  2670. .HasCharSet("utf8")
  2671. .HasCollation("utf8_general_ci");
  2672. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2673. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2674. entity.Property(e => e.RealName)
  2675. .HasColumnType("varchar(16)")
  2676. .HasCharSet("utf8")
  2677. .HasCollation("utf8_general_ci");
  2678. entity.Property(e => e.ReqData)
  2679. .HasColumnType("varchar(2000)")
  2680. .HasCharSet("utf8")
  2681. .HasCollation("utf8_general_ci");
  2682. entity.Property(e => e.RespData)
  2683. .HasColumnType("varchar(2000)")
  2684. .HasCharSet("utf8")
  2685. .HasCollation("utf8_general_ci");
  2686. entity.Property(e => e.ReturnCode)
  2687. .HasColumnType("varchar(30)")
  2688. .HasCharSet("utf8")
  2689. .HasCollation("utf8_general_ci");
  2690. entity.Property(e => e.ReturnMsg)
  2691. .HasColumnType("varchar(512)")
  2692. .HasCharSet("utf8")
  2693. .HasCollation("utf8_general_ci");
  2694. entity.Property(e => e.SeoDescription)
  2695. .HasColumnType("varchar(500)")
  2696. .HasCharSet("utf8")
  2697. .HasCollation("utf8_general_ci");
  2698. entity.Property(e => e.SeoKeyword)
  2699. .HasColumnType("varchar(200)")
  2700. .HasCharSet("utf8")
  2701. .HasCollation("utf8_general_ci");
  2702. entity.Property(e => e.SeoTitle)
  2703. .HasColumnType("varchar(100)")
  2704. .HasCharSet("utf8")
  2705. .HasCollation("utf8_general_ci");
  2706. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2707. entity.Property(e => e.Status).HasColumnType("int(11)");
  2708. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2709. entity.Property(e => e.UpdateMan)
  2710. .HasColumnType("varchar(50)")
  2711. .HasCharSet("utf8")
  2712. .HasCollation("utf8_general_ci");
  2713. entity.Property(e => e.Version).HasColumnType("int(11)");
  2714. });
  2715. modelBuilder.Entity<MerchantClass>(entity =>
  2716. {
  2717. entity.Property(e => e.Id).HasColumnType("int(11)");
  2718. entity.Property(e => e.ColName)
  2719. .HasColumnType("varchar(50)")
  2720. .HasCharSet("utf8")
  2721. .HasCollation("utf8_general_ci");
  2722. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2723. entity.Property(e => e.CreateMan)
  2724. .HasColumnType("varchar(50)")
  2725. .HasCharSet("utf8")
  2726. .HasCollation("utf8_general_ci");
  2727. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2728. entity.Property(e => e.ParentId).HasColumnType("int(11)");
  2729. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2730. entity.Property(e => e.SeoDescription)
  2731. .HasColumnType("varchar(500)")
  2732. .HasCharSet("utf8")
  2733. .HasCollation("utf8_general_ci");
  2734. entity.Property(e => e.SeoKeyword)
  2735. .HasColumnType("varchar(200)")
  2736. .HasCharSet("utf8")
  2737. .HasCollation("utf8_general_ci");
  2738. entity.Property(e => e.SeoTitle)
  2739. .HasColumnType("varchar(100)")
  2740. .HasCharSet("utf8")
  2741. .HasCollation("utf8_general_ci");
  2742. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2743. entity.Property(e => e.Status).HasColumnType("int(11)");
  2744. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2745. entity.Property(e => e.UpdateMan)
  2746. .HasColumnType("varchar(50)")
  2747. .HasCharSet("utf8")
  2748. .HasCollation("utf8_general_ci");
  2749. entity.Property(e => e.Version).HasColumnType("int(11)");
  2750. });
  2751. modelBuilder.Entity<MerchantCol>(entity =>
  2752. {
  2753. entity.Property(e => e.Id).HasColumnType("int(11)");
  2754. entity.Property(e => e.ColDetail)
  2755. .HasColumnType("varchar(50)")
  2756. .HasCharSet("utf8")
  2757. .HasCollation("utf8_general_ci");
  2758. entity.Property(e => e.ColEnName)
  2759. .HasColumnType("varchar(50)")
  2760. .HasCharSet("utf8")
  2761. .HasCollation("utf8_general_ci");
  2762. entity.Property(e => e.ColId)
  2763. .HasColumnType("varchar(30)")
  2764. .HasCharSet("utf8")
  2765. .HasCollation("utf8_general_ci");
  2766. entity.Property(e => e.ColName)
  2767. .HasColumnType("varchar(50)")
  2768. .HasCharSet("utf8")
  2769. .HasCollation("utf8_general_ci");
  2770. entity.Property(e => e.ColPicPath)
  2771. .HasColumnType("varchar(200)")
  2772. .HasCharSet("utf8")
  2773. .HasCollation("utf8_general_ci");
  2774. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2775. entity.Property(e => e.CreateMan)
  2776. .HasColumnType("varchar(50)")
  2777. .HasCharSet("utf8")
  2778. .HasCollation("utf8_general_ci");
  2779. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2780. entity.Property(e => e.ParentId).HasColumnType("int(11)");
  2781. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2782. entity.Property(e => e.Recommend)
  2783. .HasColumnType("bit(1)")
  2784. .HasDefaultValueSql("b'0'");
  2785. entity.Property(e => e.SeoDescription)
  2786. .HasColumnType("varchar(500)")
  2787. .HasCharSet("utf8")
  2788. .HasCollation("utf8_general_ci");
  2789. entity.Property(e => e.SeoKeyword)
  2790. .HasColumnType("varchar(200)")
  2791. .HasCharSet("utf8")
  2792. .HasCollation("utf8_general_ci");
  2793. entity.Property(e => e.SeoTitle)
  2794. .HasColumnType("varchar(100)")
  2795. .HasCharSet("utf8")
  2796. .HasCollation("utf8_general_ci");
  2797. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2798. entity.Property(e => e.Status).HasColumnType("int(11)");
  2799. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2800. entity.Property(e => e.UpdateMan)
  2801. .HasColumnType("varchar(50)")
  2802. .HasCharSet("utf8")
  2803. .HasCollation("utf8_general_ci");
  2804. entity.Property(e => e.Version).HasColumnType("int(11)");
  2805. });
  2806. modelBuilder.Entity<MerchantComment>(entity =>
  2807. {
  2808. entity.Property(e => e.Id).HasColumnType("int(11)");
  2809. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2810. entity.Property(e => e.CreateMan)
  2811. .HasColumnType("varchar(50)")
  2812. .HasCharSet("utf8")
  2813. .HasCollation("utf8_general_ci");
  2814. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2815. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  2816. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2817. entity.Property(e => e.SeoDescription)
  2818. .HasColumnType("varchar(500)")
  2819. .HasCharSet("utf8")
  2820. .HasCollation("utf8_general_ci");
  2821. entity.Property(e => e.SeoKeyword)
  2822. .HasColumnType("varchar(200)")
  2823. .HasCharSet("utf8")
  2824. .HasCollation("utf8_general_ci");
  2825. entity.Property(e => e.SeoTitle)
  2826. .HasColumnType("varchar(100)")
  2827. .HasCharSet("utf8")
  2828. .HasCollation("utf8_general_ci");
  2829. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2830. entity.Property(e => e.StarNum1).HasColumnType("int(11)");
  2831. entity.Property(e => e.StarNum2).HasColumnType("int(11)");
  2832. entity.Property(e => e.StarNum3).HasColumnType("int(11)");
  2833. entity.Property(e => e.Status).HasColumnType("int(11)");
  2834. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2835. entity.Property(e => e.UpdateMan)
  2836. .HasColumnType("varchar(50)")
  2837. .HasCharSet("utf8")
  2838. .HasCollation("utf8_general_ci");
  2839. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2840. entity.Property(e => e.Version).HasColumnType("int(11)");
  2841. });
  2842. modelBuilder.Entity<MerchantForCode>(entity =>
  2843. {
  2844. entity.HasKey(e => e.Code)
  2845. .HasName("PRIMARY");
  2846. entity.Property(e => e.Code)
  2847. .HasColumnType("varchar(30)")
  2848. .HasCharSet("utf8")
  2849. .HasCollation("utf8_general_ci");
  2850. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2851. });
  2852. modelBuilder.Entity<MerchantForMobile>(entity =>
  2853. {
  2854. entity.HasKey(e => e.Mobile)
  2855. .HasName("PRIMARY");
  2856. entity.Property(e => e.Mobile)
  2857. .HasColumnType("varchar(11)")
  2858. .HasCharSet("utf8")
  2859. .HasCollation("utf8_general_ci");
  2860. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2861. });
  2862. modelBuilder.Entity<MerchantForName>(entity =>
  2863. {
  2864. entity.HasKey(e => e.Name)
  2865. .HasName("PRIMARY");
  2866. entity.Property(e => e.Name)
  2867. .HasColumnType("varchar(30)")
  2868. .HasCharSet("utf8")
  2869. .HasCollation("utf8_general_ci");
  2870. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2871. });
  2872. modelBuilder.Entity<MerchantInfo>(entity =>
  2873. {
  2874. entity.Property(e => e.Id).HasColumnType("int(11)");
  2875. entity.Property(e => e.ActivationDate).HasColumnType("datetime");
  2876. entity.Property(e => e.ActivationStatus).HasColumnType("int(11)");
  2877. entity.Property(e => e.Address)
  2878. .HasColumnType("varchar(100)")
  2879. .HasCharSet("utf8")
  2880. .HasCollation("utf8_general_ci");
  2881. entity.Property(e => e.Areas)
  2882. .HasColumnType("varchar(50)")
  2883. .HasCharSet("utf8")
  2884. .HasCollation("utf8_general_ci");
  2885. entity.Property(e => e.BindDate).HasColumnType("datetime");
  2886. entity.Property(e => e.BindStatus).HasColumnType("int(11)");
  2887. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2888. entity.Property(e => e.CreateMan)
  2889. .HasColumnType("varchar(50)")
  2890. .HasCharSet("utf8")
  2891. .HasCollation("utf8_general_ci");
  2892. entity.Property(e => e.IsAuth)
  2893. .HasColumnType("bit(1)")
  2894. .HasDefaultValueSql("b'0'");
  2895. entity.Property(e => e.LastAddConsumerDate).HasColumnType("datetime");
  2896. entity.Property(e => e.LastConsumeDate).HasColumnType("datetime");
  2897. entity.Property(e => e.LoginPwd)
  2898. .HasColumnType("varchar(32)")
  2899. .HasCharSet("utf8")
  2900. .HasCollation("utf8_general_ci");
  2901. entity.Property(e => e.Logo)
  2902. .HasColumnType("varchar(200)")
  2903. .HasCharSet("utf8")
  2904. .HasCollation("utf8_general_ci");
  2905. entity.Property(e => e.Mobile)
  2906. .HasColumnType("varchar(11)")
  2907. .HasCharSet("utf8")
  2908. .HasCollation("utf8_general_ci");
  2909. entity.Property(e => e.Name)
  2910. .HasColumnType("varchar(50)")
  2911. .HasCharSet("utf8")
  2912. .HasCollation("utf8_general_ci");
  2913. entity.Property(e => e.ParentUserNav)
  2914. .HasColumnType("varchar(500)")
  2915. .HasCharSet("utf8")
  2916. .HasCollation("utf8_general_ci");
  2917. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2918. entity.Property(e => e.SeoDescription)
  2919. .HasColumnType("varchar(500)")
  2920. .HasCharSet("utf8")
  2921. .HasCollation("utf8_general_ci");
  2922. entity.Property(e => e.SeoKeyword)
  2923. .HasColumnType("varchar(200)")
  2924. .HasCharSet("utf8")
  2925. .HasCollation("utf8_general_ci");
  2926. entity.Property(e => e.SeoTitle)
  2927. .HasColumnType("varchar(100)")
  2928. .HasCharSet("utf8")
  2929. .HasCollation("utf8_general_ci");
  2930. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2931. entity.Property(e => e.Status).HasColumnType("int(11)");
  2932. entity.Property(e => e.TotalActual).HasColumnType("decimal(18,2)");
  2933. entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)");
  2934. entity.Property(e => e.TotalConsumeCount).HasColumnType("int(11)");
  2935. entity.Property(e => e.TotalCustomer).HasColumnType("int(11)");
  2936. entity.Property(e => e.TotalOrder).HasColumnType("int(11)");
  2937. entity.Property(e => e.TotalUser).HasColumnType("int(11)");
  2938. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2939. entity.Property(e => e.UpdateMan)
  2940. .HasColumnType("varchar(50)")
  2941. .HasCharSet("utf8")
  2942. .HasCollation("utf8_general_ci");
  2943. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2944. entity.Property(e => e.Version).HasColumnType("int(11)");
  2945. });
  2946. modelBuilder.Entity<MerchantParamSet>(entity =>
  2947. {
  2948. entity.Property(e => e.Id).HasColumnType("int(11)");
  2949. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2950. entity.Property(e => e.CreateMan)
  2951. .HasColumnType("varchar(50)")
  2952. .HasCharSet("utf8")
  2953. .HasCollation("utf8_general_ci");
  2954. entity.Property(e => e.DiviPercent).HasColumnType("decimal(18,2)");
  2955. entity.Property(e => e.DiviPersons).HasColumnType("int(11)");
  2956. entity.Property(e => e.GetPercent).HasColumnType("decimal(18,2)");
  2957. entity.Property(e => e.IsAll).HasColumnType("int(11)");
  2958. entity.Property(e => e.MinPayMoney).HasColumnType("decimal(18,2)");
  2959. entity.Property(e => e.ProfitDays).HasColumnType("int(11)");
  2960. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2961. entity.Property(e => e.SeoDescription)
  2962. .HasColumnType("varchar(500)")
  2963. .HasCharSet("utf8")
  2964. .HasCollation("utf8_general_ci");
  2965. entity.Property(e => e.SeoKeyword)
  2966. .HasColumnType("varchar(200)")
  2967. .HasCharSet("utf8")
  2968. .HasCollation("utf8_general_ci");
  2969. entity.Property(e => e.SeoTitle)
  2970. .HasColumnType("varchar(100)")
  2971. .HasCharSet("utf8")
  2972. .HasCollation("utf8_general_ci");
  2973. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2974. entity.Property(e => e.Status).HasColumnType("int(11)");
  2975. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2976. entity.Property(e => e.UpdateMan)
  2977. .HasColumnType("varchar(50)")
  2978. .HasCharSet("utf8")
  2979. .HasCollation("utf8_general_ci");
  2980. entity.Property(e => e.Version).HasColumnType("int(11)");
  2981. });
  2982. modelBuilder.Entity<MerchantQrCode>(entity =>
  2983. {
  2984. entity.Property(e => e.Id).HasColumnType("int(11)");
  2985. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2986. entity.Property(e => e.CreateMan)
  2987. .HasColumnType("varchar(50)")
  2988. .HasCharSet("utf8")
  2989. .HasCollation("utf8_general_ci");
  2990. entity.Property(e => e.MachineId).HasColumnType("int(11)");
  2991. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  2992. entity.Property(e => e.QrCodeContent)
  2993. .HasColumnType("varchar(500)")
  2994. .HasCharSet("utf8")
  2995. .HasCollation("utf8_general_ci");
  2996. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2997. entity.Property(e => e.SeoDescription)
  2998. .HasColumnType("varchar(500)")
  2999. .HasCharSet("utf8")
  3000. .HasCollation("utf8_general_ci");
  3001. entity.Property(e => e.SeoKeyword)
  3002. .HasColumnType("varchar(200)")
  3003. .HasCharSet("utf8")
  3004. .HasCollation("utf8_general_ci");
  3005. entity.Property(e => e.SeoTitle)
  3006. .HasColumnType("varchar(100)")
  3007. .HasCharSet("utf8")
  3008. .HasCollation("utf8_general_ci");
  3009. entity.Property(e => e.SnNo)
  3010. .HasColumnType("varchar(50)")
  3011. .HasCharSet("utf8")
  3012. .HasCollation("utf8_general_ci");
  3013. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3014. entity.Property(e => e.Status).HasColumnType("int(11)");
  3015. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3016. entity.Property(e => e.UpdateMan)
  3017. .HasColumnType("varchar(50)")
  3018. .HasCharSet("utf8")
  3019. .HasCollation("utf8_general_ci");
  3020. entity.Property(e => e.Version).HasColumnType("int(11)");
  3021. });
  3022. modelBuilder.Entity<MerchantRebateDetail>(entity =>
  3023. {
  3024. entity.Property(e => e.Id).HasColumnType("int(11)");
  3025. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  3026. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3027. entity.Property(e => e.CreateMan)
  3028. .HasColumnType("varchar(50)")
  3029. .HasCharSet("utf8")
  3030. .HasCollation("utf8_general_ci");
  3031. entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)");
  3032. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  3033. entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)");
  3034. entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)");
  3035. entity.Property(e => e.MerNo)
  3036. .HasColumnType("varchar(32)")
  3037. .HasCharSet("utf8")
  3038. .HasCollation("utf8_general_ci");
  3039. entity.Property(e => e.MerRegTime).HasColumnType("datetime");
  3040. entity.Property(e => e.MerStandardDate).HasColumnType("datetime");
  3041. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  3042. entity.Property(e => e.MmpUserName)
  3043. .HasColumnType("varchar(32)")
  3044. .HasCharSet("utf8")
  3045. .HasCollation("utf8_general_ci");
  3046. entity.Property(e => e.MmpUserNo)
  3047. .HasColumnType("varchar(32)")
  3048. .HasCharSet("utf8")
  3049. .HasCollation("utf8_general_ci");
  3050. entity.Property(e => e.ProductName)
  3051. .HasColumnType("varchar(32)")
  3052. .HasCharSet("utf8")
  3053. .HasCollation("utf8_general_ci");
  3054. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3055. entity.Property(e => e.Remark)
  3056. .HasColumnType("varchar(64)")
  3057. .HasCharSet("utf8")
  3058. .HasCollation("utf8_general_ci");
  3059. entity.Property(e => e.RewardDesc)
  3060. .HasColumnType("varchar(128)")
  3061. .HasCharSet("utf8")
  3062. .HasCollation("utf8_general_ci");
  3063. entity.Property(e => e.SeoDescription)
  3064. .HasColumnType("varchar(500)")
  3065. .HasCharSet("utf8")
  3066. .HasCollation("utf8_general_ci");
  3067. entity.Property(e => e.SeoKeyword)
  3068. .HasColumnType("varchar(200)")
  3069. .HasCharSet("utf8")
  3070. .HasCollation("utf8_general_ci");
  3071. entity.Property(e => e.SeoTitle)
  3072. .HasColumnType("varchar(100)")
  3073. .HasCharSet("utf8")
  3074. .HasCollation("utf8_general_ci");
  3075. entity.Property(e => e.SnNo)
  3076. .HasColumnType("varchar(32)")
  3077. .HasCharSet("utf8")
  3078. .HasCollation("utf8_general_ci");
  3079. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3080. entity.Property(e => e.Status).HasColumnType("int(11)");
  3081. entity.Property(e => e.SyncStatus).HasColumnType("int(11)");
  3082. entity.Property(e => e.TradeDate)
  3083. .HasColumnType("varchar(8)")
  3084. .HasCharSet("utf8")
  3085. .HasCollation("utf8_general_ci");
  3086. entity.Property(e => e.TradeMonth)
  3087. .HasColumnType("varchar(6)")
  3088. .HasCharSet("utf8")
  3089. .HasCollation("utf8_general_ci");
  3090. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3091. entity.Property(e => e.UpdateMan)
  3092. .HasColumnType("varchar(50)")
  3093. .HasCharSet("utf8")
  3094. .HasCollation("utf8_general_ci");
  3095. entity.Property(e => e.Version).HasColumnType("int(11)");
  3096. });
  3097. modelBuilder.Entity<Merchants>(entity =>
  3098. {
  3099. entity.Property(e => e.Id).HasColumnType("int(11)");
  3100. entity.Property(e => e.Address)
  3101. .HasColumnType("varchar(50)")
  3102. .HasCharSet("utf8")
  3103. .HasCollation("utf8_general_ci");
  3104. entity.Property(e => e.Areas)
  3105. .HasColumnType("varchar(30)")
  3106. .HasCharSet("utf8")
  3107. .HasCollation("utf8_general_ci");
  3108. entity.Property(e => e.BusinessLicense)
  3109. .HasColumnType("varchar(200)")
  3110. .HasCharSet("utf8")
  3111. .HasCollation("utf8_general_ci");
  3112. entity.Property(e => e.CommentCount).HasColumnType("int(11)");
  3113. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3114. entity.Property(e => e.CreateMan)
  3115. .HasColumnType("varchar(50)")
  3116. .HasCharSet("utf8")
  3117. .HasCollation("utf8_general_ci");
  3118. entity.Property(e => e.FollowCount).HasColumnType("int(11)");
  3119. entity.Property(e => e.IsAuth)
  3120. .HasColumnType("bit(1)")
  3121. .HasDefaultValueSql("b'0'");
  3122. entity.Property(e => e.IsRecommend)
  3123. .HasColumnType("bit(1)")
  3124. .HasDefaultValueSql("b'0'");
  3125. entity.Property(e => e.LoginPwd)
  3126. .HasColumnType("varchar(32)")
  3127. .HasCharSet("utf8")
  3128. .HasCollation("utf8_general_ci");
  3129. entity.Property(e => e.Logo)
  3130. .HasColumnType("varchar(200)")
  3131. .HasCharSet("utf8")
  3132. .HasCollation("utf8_general_ci");
  3133. entity.Property(e => e.Name)
  3134. .HasColumnType("varchar(50)")
  3135. .HasCharSet("utf8")
  3136. .HasCollation("utf8_general_ci");
  3137. entity.Property(e => e.PayPwd)
  3138. .HasColumnType("varchar(32)")
  3139. .HasCharSet("utf8")
  3140. .HasCollation("utf8_general_ci");
  3141. entity.Property(e => e.Phone)
  3142. .HasColumnType("varchar(30)")
  3143. .HasCharSet("utf8")
  3144. .HasCollation("utf8_general_ci");
  3145. entity.Property(e => e.Principal)
  3146. .HasColumnType("varchar(30)")
  3147. .HasCharSet("utf8")
  3148. .HasCollation("utf8_general_ci");
  3149. entity.Property(e => e.Province)
  3150. .HasColumnType("varchar(20)")
  3151. .HasCharSet("utf8")
  3152. .HasCollation("utf8_general_ci");
  3153. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3154. entity.Property(e => e.SeoDescription)
  3155. .HasColumnType("varchar(500)")
  3156. .HasCharSet("utf8")
  3157. .HasCollation("utf8_general_ci");
  3158. entity.Property(e => e.SeoKeyword)
  3159. .HasColumnType("varchar(200)")
  3160. .HasCharSet("utf8")
  3161. .HasCollation("utf8_general_ci");
  3162. entity.Property(e => e.SeoTitle)
  3163. .HasColumnType("varchar(100)")
  3164. .HasCharSet("utf8")
  3165. .HasCollation("utf8_general_ci");
  3166. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3167. entity.Property(e => e.StarNum1).HasColumnType("decimal(18,2)");
  3168. entity.Property(e => e.StarNum2).HasColumnType("decimal(18,2)");
  3169. entity.Property(e => e.StarNum3).HasColumnType("decimal(18,2)");
  3170. entity.Property(e => e.Status).HasColumnType("int(11)");
  3171. entity.Property(e => e.Title)
  3172. .HasColumnType("varchar(50)")
  3173. .HasCharSet("utf8")
  3174. .HasCollation("utf8_general_ci");
  3175. entity.Property(e => e.Title2)
  3176. .HasColumnType("varchar(50)")
  3177. .HasCharSet("utf8")
  3178. .HasCollation("utf8_general_ci");
  3179. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3180. entity.Property(e => e.UpdateMan)
  3181. .HasColumnType("varchar(50)")
  3182. .HasCharSet("utf8")
  3183. .HasCollation("utf8_general_ci");
  3184. entity.Property(e => e.UserName)
  3185. .HasColumnType("varchar(50)")
  3186. .HasCharSet("utf8")
  3187. .HasCollation("utf8_general_ci");
  3188. entity.Property(e => e.Version).HasColumnType("int(11)");
  3189. });
  3190. modelBuilder.Entity<MobileCodeCheck>(entity =>
  3191. {
  3192. entity.HasKey(e => e.Mobile)
  3193. .HasName("PRIMARY");
  3194. entity.Property(e => e.Mobile)
  3195. .HasColumnType("varchar(11)")
  3196. .HasCharSet("utf8")
  3197. .HasCollation("utf8_general_ci");
  3198. entity.Property(e => e.CheckCode)
  3199. .HasColumnType("varchar(6)")
  3200. .HasCharSet("utf8")
  3201. .HasCollation("utf8_general_ci");
  3202. entity.Property(e => e.CheckCodeTime).HasColumnType("datetime");
  3203. entity.Property(e => e.CheckNo)
  3204. .HasColumnType("varchar(6)")
  3205. .HasCharSet("utf8")
  3206. .HasCollation("utf8_general_ci");
  3207. });
  3208. modelBuilder.Entity<MsgBlackList>(entity =>
  3209. {
  3210. entity.Property(e => e.Id).HasColumnType("int(11)");
  3211. entity.Property(e => e.ColId)
  3212. .HasColumnType("varchar(30)")
  3213. .HasCharSet("utf8")
  3214. .HasCollation("utf8_general_ci");
  3215. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3216. entity.Property(e => e.CreateMan)
  3217. .HasColumnType("varchar(50)")
  3218. .HasCharSet("utf8")
  3219. .HasCollation("utf8_general_ci");
  3220. entity.Property(e => e.Extend)
  3221. .HasColumnType("varchar(2000)")
  3222. .HasCharSet("utf8")
  3223. .HasCollation("utf8_general_ci");
  3224. entity.Property(e => e.Ip)
  3225. .HasColumnType("varchar(64)")
  3226. .HasCharSet("utf8")
  3227. .HasCollation("utf8_general_ci");
  3228. entity.Property(e => e.Mobile)
  3229. .HasColumnType("varchar(11)")
  3230. .HasCharSet("utf8")
  3231. .HasCollation("utf8_general_ci");
  3232. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3233. entity.Property(e => e.Reason)
  3234. .HasColumnType("varchar(512)")
  3235. .HasCharSet("utf8")
  3236. .HasCollation("utf8_general_ci");
  3237. entity.Property(e => e.Remark)
  3238. .HasColumnType("varchar(64)")
  3239. .HasCharSet("utf8")
  3240. .HasCollation("utf8_general_ci");
  3241. entity.Property(e => e.SeoDescription)
  3242. .HasColumnType("varchar(500)")
  3243. .HasCharSet("utf8")
  3244. .HasCollation("utf8_general_ci");
  3245. entity.Property(e => e.SeoKeyword)
  3246. .HasColumnType("varchar(200)")
  3247. .HasCharSet("utf8")
  3248. .HasCollation("utf8_general_ci");
  3249. entity.Property(e => e.SeoTitle)
  3250. .HasColumnType("varchar(100)")
  3251. .HasCharSet("utf8")
  3252. .HasCollation("utf8_general_ci");
  3253. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3254. entity.Property(e => e.Status).HasColumnType("int(11)");
  3255. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  3256. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3257. entity.Property(e => e.UpdateMan)
  3258. .HasColumnType("varchar(50)")
  3259. .HasCharSet("utf8")
  3260. .HasCollation("utf8_general_ci");
  3261. entity.Property(e => e.Version).HasColumnType("int(11)");
  3262. });
  3263. modelBuilder.Entity<MsgPersonal>(entity =>
  3264. {
  3265. entity.Property(e => e.Id).HasColumnType("int(11)");
  3266. entity.Property(e => e.BgPic)
  3267. .HasColumnType("varchar(200)")
  3268. .HasCharSet("utf8")
  3269. .HasCollation("utf8_general_ci");
  3270. entity.Property(e => e.Content)
  3271. .HasColumnType("longtext")
  3272. .HasCharSet("utf8")
  3273. .HasCollation("utf8_general_ci");
  3274. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3275. entity.Property(e => e.CreateMan)
  3276. .HasColumnType("varchar(50)")
  3277. .HasCharSet("utf8")
  3278. .HasCollation("utf8_general_ci");
  3279. entity.Property(e => e.ExtendColumn)
  3280. .HasColumnType("mediumtext")
  3281. .HasCharSet("utf8")
  3282. .HasCollation("utf8_general_ci");
  3283. entity.Property(e => e.MsgType).HasColumnType("int(11)");
  3284. entity.Property(e => e.PushFlag).HasColumnType("int(11)");
  3285. entity.Property(e => e.PushParam)
  3286. .HasColumnType("varchar(255)")
  3287. .HasCharSet("utf8")
  3288. .HasCollation("utf8_general_ci");
  3289. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3290. entity.Property(e => e.ReadFlag)
  3291. .HasColumnType("bit(1)")
  3292. .HasDefaultValueSql("b'0'");
  3293. entity.Property(e => e.Remark)
  3294. .HasColumnType("varchar(255)")
  3295. .HasCharSet("utf8")
  3296. .HasCollation("utf8_general_ci");
  3297. entity.Property(e => e.SeoDescription)
  3298. .HasColumnType("varchar(500)")
  3299. .HasCharSet("utf8")
  3300. .HasCollation("utf8_general_ci");
  3301. entity.Property(e => e.SeoKeyword)
  3302. .HasColumnType("varchar(200)")
  3303. .HasCharSet("utf8")
  3304. .HasCollation("utf8_general_ci");
  3305. entity.Property(e => e.SeoTitle)
  3306. .HasColumnType("varchar(100)")
  3307. .HasCharSet("utf8")
  3308. .HasCollation("utf8_general_ci");
  3309. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3310. entity.Property(e => e.Status).HasColumnType("int(11)");
  3311. entity.Property(e => e.Summary)
  3312. .HasColumnType("varchar(500)")
  3313. .HasCharSet("utf8")
  3314. .HasCollation("utf8_general_ci");
  3315. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  3316. entity.Property(e => e.Title)
  3317. .HasColumnType("varchar(50)")
  3318. .HasCharSet("utf8")
  3319. .HasCollation("utf8_general_ci");
  3320. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3321. entity.Property(e => e.UpdateMan)
  3322. .HasColumnType("varchar(50)")
  3323. .HasCharSet("utf8")
  3324. .HasCollation("utf8_general_ci");
  3325. entity.Property(e => e.Url)
  3326. .HasColumnType("varchar(500)")
  3327. .HasCharSet("utf8")
  3328. .HasCollation("utf8_general_ci");
  3329. entity.Property(e => e.UserId).HasColumnType("int(11)");
  3330. entity.Property(e => e.Version).HasColumnType("int(11)");
  3331. });
  3332. modelBuilder.Entity<MsgPlacard>(entity =>
  3333. {
  3334. entity.Property(e => e.Id).HasColumnType("int(11)");
  3335. entity.Property(e => e.BgPic)
  3336. .HasColumnType("varchar(200)")
  3337. .HasCharSet("utf8")
  3338. .HasCollation("utf8_general_ci");
  3339. entity.Property(e => e.Content)
  3340. .HasColumnType("longtext")
  3341. .HasCharSet("utf8")
  3342. .HasCollation("utf8_general_ci");
  3343. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3344. entity.Property(e => e.CreateMan)
  3345. .HasColumnType("varchar(50)")
  3346. .HasCharSet("utf8")
  3347. .HasCollation("utf8_general_ci");
  3348. entity.Property(e => e.EffectEndDate).HasColumnType("datetime");
  3349. entity.Property(e => e.EffectStartDate).HasColumnType("datetime");
  3350. entity.Property(e => e.ExtendColumn)
  3351. .HasColumnType("mediumtext")
  3352. .HasCharSet("utf8")
  3353. .HasCollation("utf8_general_ci");
  3354. entity.Property(e => e.IsTop)
  3355. .HasColumnType("bit(1)")
  3356. .HasDefaultValueSql("b'0'");
  3357. entity.Property(e => e.MsgType).HasColumnType("int(11)");
  3358. entity.Property(e => e.PushFlag).HasColumnType("int(11)");
  3359. entity.Property(e => e.PushParam)
  3360. .HasColumnType("varchar(255)")
  3361. .HasCharSet("utf8")
  3362. .HasCollation("utf8_general_ci");
  3363. entity.Property(e => e.PushTime).HasColumnType("datetime");
  3364. entity.Property(e => e.PushType).HasColumnType("int(11)");
  3365. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3366. entity.Property(e => e.Remark)
  3367. .HasColumnType("varchar(255)")
  3368. .HasCharSet("utf8")
  3369. .HasCollation("utf8_general_ci");
  3370. entity.Property(e => e.SeoDescription)
  3371. .HasColumnType("varchar(500)")
  3372. .HasCharSet("utf8")
  3373. .HasCollation("utf8_general_ci");
  3374. entity.Property(e => e.SeoKeyword)
  3375. .HasColumnType("varchar(200)")
  3376. .HasCharSet("utf8")
  3377. .HasCollation("utf8_general_ci");
  3378. entity.Property(e => e.SeoTitle)
  3379. .HasColumnType("varchar(100)")
  3380. .HasCharSet("utf8")
  3381. .HasCollation("utf8_general_ci");
  3382. entity.Property(e => e.ShowType).HasColumnType("int(11)");
  3383. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3384. entity.Property(e => e.Status).HasColumnType("int(11)");
  3385. entity.Property(e => e.Summary)
  3386. .HasColumnType("varchar(500)")
  3387. .HasCharSet("utf8")
  3388. .HasCollation("utf8_general_ci");
  3389. entity.Property(e => e.Title)
  3390. .HasColumnType("varchar(50)")
  3391. .HasCharSet("utf8")
  3392. .HasCollation("utf8_general_ci");
  3393. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3394. entity.Property(e => e.UpdateMan)
  3395. .HasColumnType("varchar(50)")
  3396. .HasCharSet("utf8")
  3397. .HasCollation("utf8_general_ci");
  3398. entity.Property(e => e.Url)
  3399. .HasColumnType("varchar(500)")
  3400. .HasCharSet("utf8")
  3401. .HasCollation("utf8_general_ci");
  3402. entity.Property(e => e.Version).HasColumnType("int(11)");
  3403. });
  3404. modelBuilder.Entity<MsgPlacardRead>(entity =>
  3405. {
  3406. entity.Property(e => e.Id).HasColumnType("int(11)");
  3407. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3408. entity.Property(e => e.CreateMan)
  3409. .HasColumnType("varchar(50)")
  3410. .HasCharSet("utf8")
  3411. .HasCollation("utf8_general_ci");
  3412. entity.Property(e => e.PlacardId).HasColumnType("int(11)");
  3413. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3414. entity.Property(e => e.ReadFlag)
  3415. .HasColumnType("bit(1)")
  3416. .HasDefaultValueSql("b'0'");
  3417. entity.Property(e => e.Remark)
  3418. .HasColumnType("varchar(255)")
  3419. .HasCharSet("utf8")
  3420. .HasCollation("utf8_general_ci");
  3421. entity.Property(e => e.SeoDescription)
  3422. .HasColumnType("varchar(500)")
  3423. .HasCharSet("utf8")
  3424. .HasCollation("utf8_general_ci");
  3425. entity.Property(e => e.SeoKeyword)
  3426. .HasColumnType("varchar(200)")
  3427. .HasCharSet("utf8")
  3428. .HasCollation("utf8_general_ci");
  3429. entity.Property(e => e.SeoTitle)
  3430. .HasColumnType("varchar(100)")
  3431. .HasCharSet("utf8")
  3432. .HasCollation("utf8_general_ci");
  3433. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3434. entity.Property(e => e.Status).HasColumnType("int(11)");
  3435. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3436. entity.Property(e => e.UpdateMan)
  3437. .HasColumnType("varchar(50)")
  3438. .HasCharSet("utf8")
  3439. .HasCollation("utf8_general_ci");
  3440. entity.Property(e => e.UserId)
  3441. .HasColumnType("varchar(64)")
  3442. .HasCharSet("utf8")
  3443. .HasCollation("utf8_general_ci");
  3444. entity.Property(e => e.Version).HasColumnType("int(11)");
  3445. });
  3446. modelBuilder.Entity<MsgPush>(entity =>
  3447. {
  3448. entity.Property(e => e.Id).HasColumnType("int(11)");
  3449. entity.Property(e => e.AutoPushDate).HasColumnType("datetime");
  3450. entity.Property(e => e.ClientType)
  3451. .HasColumnType("varchar(20)")
  3452. .HasCharSet("utf8")
  3453. .HasCollation("utf8_general_ci");
  3454. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3455. entity.Property(e => e.CreateMan)
  3456. .HasColumnType("varchar(50)")
  3457. .HasCharSet("utf8")
  3458. .HasCollation("utf8_general_ci");
  3459. entity.Property(e => e.Details)
  3460. .HasColumnType("varchar(200)")
  3461. .HasCharSet("utf8")
  3462. .HasCollation("utf8_general_ci");
  3463. entity.Property(e => e.Devices)
  3464. .HasColumnType("mediumtext")
  3465. .HasCharSet("utf8")
  3466. .HasCollation("utf8_general_ci");
  3467. entity.Property(e => e.IsSilent)
  3468. .HasColumnType("bit(1)")
  3469. .HasDefaultValueSql("b'0'");
  3470. entity.Property(e => e.MessageId)
  3471. .HasColumnType("varchar(50)")
  3472. .HasCharSet("utf8")
  3473. .HasCollation("utf8_general_ci");
  3474. entity.Property(e => e.Mobiles)
  3475. .HasColumnType("mediumtext")
  3476. .HasCharSet("utf8")
  3477. .HasCollation("utf8_general_ci");
  3478. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3479. entity.Property(e => e.SeoDescription)
  3480. .HasColumnType("varchar(500)")
  3481. .HasCharSet("utf8")
  3482. .HasCollation("utf8_general_ci");
  3483. entity.Property(e => e.SeoKeyword)
  3484. .HasColumnType("varchar(200)")
  3485. .HasCharSet("utf8")
  3486. .HasCollation("utf8_general_ci");
  3487. entity.Property(e => e.SeoTitle)
  3488. .HasColumnType("varchar(100)")
  3489. .HasCharSet("utf8")
  3490. .HasCollation("utf8_general_ci");
  3491. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3492. entity.Property(e => e.Status).HasColumnType("int(11)");
  3493. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  3494. entity.Property(e => e.Title)
  3495. .HasColumnType("varchar(50)")
  3496. .HasCharSet("utf8")
  3497. .HasCollation("utf8_general_ci");
  3498. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3499. entity.Property(e => e.UpdateMan)
  3500. .HasColumnType("varchar(50)")
  3501. .HasCharSet("utf8")
  3502. .HasCollation("utf8_general_ci");
  3503. entity.Property(e => e.Url)
  3504. .HasColumnType("varchar(500)")
  3505. .HasCharSet("utf8")
  3506. .HasCollation("utf8_general_ci");
  3507. entity.Property(e => e.Version).HasColumnType("int(11)");
  3508. });
  3509. modelBuilder.Entity<MsgSms>(entity =>
  3510. {
  3511. entity.Property(e => e.Id).HasColumnType("int(11)");
  3512. entity.Property(e => e.Code).HasColumnType("int(11)");
  3513. entity.Property(e => e.ColId)
  3514. .HasColumnType("varchar(30)")
  3515. .HasCharSet("utf8")
  3516. .HasCollation("utf8_general_ci");
  3517. entity.Property(e => e.Content)
  3518. .HasColumnType("varchar(200)")
  3519. .HasCharSet("utf8")
  3520. .HasCollation("utf8_general_ci");
  3521. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3522. entity.Property(e => e.CreateMan)
  3523. .HasColumnType("varchar(50)")
  3524. .HasCharSet("utf8")
  3525. .HasCollation("utf8_general_ci");
  3526. entity.Property(e => e.ErrorNum).HasColumnType("int(11)");
  3527. entity.Property(e => e.Ip)
  3528. .HasColumnType("varchar(15)")
  3529. .HasCharSet("utf8")
  3530. .HasCollation("utf8_general_ci");
  3531. entity.Property(e => e.Kind)
  3532. .HasColumnType("varchar(64)")
  3533. .HasCharSet("utf8")
  3534. .HasCollation("utf8_general_ci");
  3535. entity.Property(e => e.Mobile)
  3536. .HasColumnType("varchar(11)")
  3537. .HasCharSet("utf8")
  3538. .HasCollation("utf8_general_ci");
  3539. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3540. entity.Property(e => e.RespCode)
  3541. .HasColumnType("varchar(16)")
  3542. .HasCharSet("utf8")
  3543. .HasCollation("utf8_general_ci");
  3544. entity.Property(e => e.RespContent)
  3545. .HasColumnType("varchar(500)")
  3546. .HasCharSet("utf8")
  3547. .HasCollation("utf8_general_ci");
  3548. entity.Property(e => e.SendStatus).HasColumnType("int(11)");
  3549. entity.Property(e => e.SendTime).HasColumnType("datetime");
  3550. entity.Property(e => e.SendType).HasColumnType("int(11)");
  3551. entity.Property(e => e.SeoDescription)
  3552. .HasColumnType("varchar(500)")
  3553. .HasCharSet("utf8")
  3554. .HasCollation("utf8_general_ci");
  3555. entity.Property(e => e.SeoKeyword)
  3556. .HasColumnType("varchar(200)")
  3557. .HasCharSet("utf8")
  3558. .HasCollation("utf8_general_ci");
  3559. entity.Property(e => e.SeoTitle)
  3560. .HasColumnType("varchar(100)")
  3561. .HasCharSet("utf8")
  3562. .HasCollation("utf8_general_ci");
  3563. entity.Property(e => e.SignName)
  3564. .HasColumnType("varchar(10)")
  3565. .HasCharSet("utf8")
  3566. .HasCollation("utf8_general_ci");
  3567. entity.Property(e => e.SmsType).HasColumnType("int(11)");
  3568. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3569. entity.Property(e => e.Status).HasColumnType("int(11)");
  3570. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  3571. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3572. entity.Property(e => e.UpdateMan)
  3573. .HasColumnType("varchar(50)")
  3574. .HasCharSet("utf8")
  3575. .HasCollation("utf8_general_ci");
  3576. entity.Property(e => e.VerifyCode)
  3577. .HasColumnType("varchar(6)")
  3578. .HasCharSet("utf8")
  3579. .HasCollation("utf8_general_ci");
  3580. entity.Property(e => e.VerifyStatus).HasColumnType("int(11)");
  3581. entity.Property(e => e.Version).HasColumnType("int(11)");
  3582. });
  3583. modelBuilder.Entity<MsgSmsSet>(entity =>
  3584. {
  3585. entity.Property(e => e.Id).HasColumnType("int(11)");
  3586. entity.Property(e => e.AuthPwd)
  3587. .HasColumnType("varchar(50)")
  3588. .HasCharSet("utf8")
  3589. .HasCollation("utf8_general_ci");
  3590. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3591. entity.Property(e => e.CreateMan)
  3592. .HasColumnType("varchar(50)")
  3593. .HasCharSet("utf8")
  3594. .HasCollation("utf8_general_ci");
  3595. entity.Property(e => e.Name)
  3596. .HasColumnType("varchar(50)")
  3597. .HasCharSet("utf8")
  3598. .HasCollation("utf8_general_ci");
  3599. entity.Property(e => e.Params)
  3600. .HasColumnType("varchar(200)")
  3601. .HasCharSet("utf8")
  3602. .HasCollation("utf8_general_ci");
  3603. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3604. entity.Property(e => e.ReqUrl)
  3605. .HasColumnType("varchar(200)")
  3606. .HasCharSet("utf8")
  3607. .HasCollation("utf8_general_ci");
  3608. entity.Property(e => e.SeoDescription)
  3609. .HasColumnType("varchar(500)")
  3610. .HasCharSet("utf8")
  3611. .HasCollation("utf8_general_ci");
  3612. entity.Property(e => e.SeoKeyword)
  3613. .HasColumnType("varchar(200)")
  3614. .HasCharSet("utf8")
  3615. .HasCollation("utf8_general_ci");
  3616. entity.Property(e => e.SeoTitle)
  3617. .HasColumnType("varchar(100)")
  3618. .HasCharSet("utf8")
  3619. .HasCollation("utf8_general_ci");
  3620. entity.Property(e => e.SmsType).HasColumnType("int(11)");
  3621. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3622. entity.Property(e => e.Status).HasColumnType("int(11)");
  3623. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3624. entity.Property(e => e.UpdateMan)
  3625. .HasColumnType("varchar(50)")
  3626. .HasCharSet("utf8")
  3627. .HasCollation("utf8_general_ci");
  3628. entity.Property(e => e.UserName)
  3629. .HasColumnType("varchar(50)")
  3630. .HasCharSet("utf8")
  3631. .HasCollation("utf8_general_ci");
  3632. entity.Property(e => e.Version).HasColumnType("int(11)");
  3633. });
  3634. modelBuilder.Entity<MsgTemplate>(entity =>
  3635. {
  3636. entity.Property(e => e.Id).HasColumnType("int(11)");
  3637. entity.Property(e => e.ColId)
  3638. .HasColumnType("varchar(30)")
  3639. .HasCharSet("utf8")
  3640. .HasCollation("utf8_general_ci");
  3641. entity.Property(e => e.Content)
  3642. .HasColumnType("varchar(200)")
  3643. .HasCharSet("utf8")
  3644. .HasCollation("utf8_general_ci");
  3645. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3646. entity.Property(e => e.CreateMan)
  3647. .HasColumnType("varchar(50)")
  3648. .HasCharSet("utf8")
  3649. .HasCollation("utf8_general_ci");
  3650. entity.Property(e => e.Extend)
  3651. .HasColumnType("varchar(2000)")
  3652. .HasCharSet("utf8")
  3653. .HasCollation("utf8_general_ci");
  3654. entity.Property(e => e.MsgType).HasColumnType("int(11)");
  3655. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3656. entity.Property(e => e.Remark)
  3657. .HasColumnType("varchar(64)")
  3658. .HasCharSet("utf8")
  3659. .HasCollation("utf8_general_ci");
  3660. entity.Property(e => e.SeoDescription)
  3661. .HasColumnType("varchar(500)")
  3662. .HasCharSet("utf8")
  3663. .HasCollation("utf8_general_ci");
  3664. entity.Property(e => e.SeoKeyword)
  3665. .HasColumnType("varchar(200)")
  3666. .HasCharSet("utf8")
  3667. .HasCollation("utf8_general_ci");
  3668. entity.Property(e => e.SeoTitle)
  3669. .HasColumnType("varchar(100)")
  3670. .HasCharSet("utf8")
  3671. .HasCollation("utf8_general_ci");
  3672. entity.Property(e => e.SignName)
  3673. .HasColumnType("varchar(10)")
  3674. .HasCharSet("utf8")
  3675. .HasCollation("utf8_general_ci");
  3676. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3677. entity.Property(e => e.Status).HasColumnType("int(11)");
  3678. entity.Property(e => e.TemplateType).HasColumnType("int(11)");
  3679. entity.Property(e => e.Title)
  3680. .HasColumnType("varchar(50)")
  3681. .HasCharSet("utf8")
  3682. .HasCollation("utf8_general_ci");
  3683. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3684. entity.Property(e => e.UpdateMan)
  3685. .HasColumnType("varchar(50)")
  3686. .HasCharSet("utf8")
  3687. .HasCollation("utf8_general_ci");
  3688. entity.Property(e => e.Version).HasColumnType("int(11)");
  3689. });
  3690. modelBuilder.Entity<OpenBankCityTable>(entity =>
  3691. {
  3692. entity.HasKey(e => e.CityName)
  3693. .HasName("PRIMARY");
  3694. entity.Property(e => e.CityName)
  3695. .HasColumnType("varchar(100)")
  3696. .HasCharSet("utf8")
  3697. .HasCollation("utf8_general_ci");
  3698. entity.Property(e => e.Code)
  3699. .HasColumnType("varchar(20)")
  3700. .HasCharSet("utf8")
  3701. .HasCollation("utf8_general_ci");
  3702. });
  3703. modelBuilder.Entity<OpenBankTable>(entity =>
  3704. {
  3705. entity.HasKey(e => e.BankName)
  3706. .HasName("PRIMARY");
  3707. entity.Property(e => e.BankName)
  3708. .HasColumnType("varchar(200)")
  3709. .HasCharSet("utf8")
  3710. .HasCollation("utf8_general_ci");
  3711. entity.Property(e => e.BankCode)
  3712. .HasColumnType("varchar(50)")
  3713. .HasCharSet("utf8")
  3714. .HasCollation("utf8_general_ci");
  3715. });
  3716. modelBuilder.Entity<OpenReward>(entity =>
  3717. {
  3718. entity.Property(e => e.Id).HasColumnType("int(11)");
  3719. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  3720. entity.Property(e => e.CheckStatus).HasColumnType("int(11)");
  3721. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3722. entity.Property(e => e.CreateMan)
  3723. .HasColumnType("varchar(50)")
  3724. .HasCharSet("utf8")
  3725. .HasCollation("utf8_general_ci");
  3726. entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)");
  3727. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  3728. entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)");
  3729. entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)");
  3730. entity.Property(e => e.OpenRewardNo)
  3731. .HasColumnType("varchar(32)")
  3732. .HasCharSet("utf8")
  3733. .HasCollation("utf8_general_ci");
  3734. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3735. entity.Property(e => e.Remark)
  3736. .HasColumnType("varchar(128)")
  3737. .HasCharSet("utf8")
  3738. .HasCollation("utf8_general_ci");
  3739. entity.Property(e => e.RewardDesc)
  3740. .HasColumnType("varchar(128)")
  3741. .HasCharSet("utf8")
  3742. .HasCollation("utf8_general_ci");
  3743. entity.Property(e => e.RewardMerCount).HasColumnType("int(11)");
  3744. entity.Property(e => e.RewardType).HasColumnType("int(11)");
  3745. entity.Property(e => e.SeoDescription)
  3746. .HasColumnType("varchar(500)")
  3747. .HasCharSet("utf8")
  3748. .HasCollation("utf8_general_ci");
  3749. entity.Property(e => e.SeoKeyword)
  3750. .HasColumnType("varchar(200)")
  3751. .HasCharSet("utf8")
  3752. .HasCollation("utf8_general_ci");
  3753. entity.Property(e => e.SeoTitle)
  3754. .HasColumnType("varchar(100)")
  3755. .HasCharSet("utf8")
  3756. .HasCollation("utf8_general_ci");
  3757. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3758. entity.Property(e => e.Status).HasColumnType("int(11)");
  3759. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  3760. entity.Property(e => e.TradeDate).HasColumnType("datetime");
  3761. entity.Property(e => e.TradeMonth)
  3762. .HasColumnType("varchar(6)")
  3763. .HasCharSet("utf8")
  3764. .HasCollation("utf8_general_ci");
  3765. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3766. entity.Property(e => e.UpdateMan)
  3767. .HasColumnType("varchar(50)")
  3768. .HasCharSet("utf8")
  3769. .HasCollation("utf8_general_ci");
  3770. entity.Property(e => e.UserId).HasColumnType("int(11)");
  3771. entity.Property(e => e.Version).HasColumnType("int(11)");
  3772. });
  3773. modelBuilder.Entity<OpenRewardDetail>(entity =>
  3774. {
  3775. entity.Property(e => e.Id).HasColumnType("int(11)");
  3776. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  3777. entity.Property(e => e.CheckStatus).HasColumnType("int(11)");
  3778. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3779. entity.Property(e => e.CreateMan)
  3780. .HasColumnType("varchar(50)")
  3781. .HasCharSet("utf8")
  3782. .HasCollation("utf8_general_ci");
  3783. entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)");
  3784. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  3785. entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)");
  3786. entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)");
  3787. entity.Property(e => e.DirectUserId).HasColumnType("int(11)");
  3788. entity.Property(e => e.MerBuddyType).HasColumnType("int(11)");
  3789. entity.Property(e => e.MerNo)
  3790. .HasColumnType("varchar(32)")
  3791. .HasCharSet("utf8")
  3792. .HasCollation("utf8_general_ci");
  3793. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  3794. entity.Property(e => e.OpenDetailRec)
  3795. .HasColumnType("varchar(32)")
  3796. .HasCharSet("utf8")
  3797. .HasCollation("utf8_general_ci");
  3798. entity.Property(e => e.OpenRewardNo)
  3799. .HasColumnType("varchar(32)")
  3800. .HasCharSet("utf8")
  3801. .HasCollation("utf8_general_ci");
  3802. entity.Property(e => e.ProductName)
  3803. .HasColumnType("varchar(32)")
  3804. .HasCharSet("utf8")
  3805. .HasCollation("utf8_general_ci");
  3806. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3807. entity.Property(e => e.Remark)
  3808. .HasColumnType("varchar(128)")
  3809. .HasCharSet("utf8")
  3810. .HasCollation("utf8_general_ci");
  3811. entity.Property(e => e.RewardDesc)
  3812. .HasColumnType("varchar(128)")
  3813. .HasCharSet("utf8")
  3814. .HasCollation("utf8_general_ci");
  3815. entity.Property(e => e.RewardTips)
  3816. .HasColumnType("varchar(16)")
  3817. .HasCharSet("utf8")
  3818. .HasCollation("utf8_general_ci");
  3819. entity.Property(e => e.RewardType).HasColumnType("int(11)");
  3820. entity.Property(e => e.SeoDescription)
  3821. .HasColumnType("varchar(500)")
  3822. .HasCharSet("utf8")
  3823. .HasCollation("utf8_general_ci");
  3824. entity.Property(e => e.SeoKeyword)
  3825. .HasColumnType("varchar(200)")
  3826. .HasCharSet("utf8")
  3827. .HasCollation("utf8_general_ci");
  3828. entity.Property(e => e.SeoTitle)
  3829. .HasColumnType("varchar(100)")
  3830. .HasCharSet("utf8")
  3831. .HasCollation("utf8_general_ci");
  3832. entity.Property(e => e.SnApplyUserId).HasColumnType("int(11)");
  3833. entity.Property(e => e.SnNo)
  3834. .HasColumnType("varchar(32)")
  3835. .HasCharSet("utf8")
  3836. .HasCollation("utf8_general_ci");
  3837. entity.Property(e => e.SnStoreId).HasColumnType("int(11)");
  3838. entity.Property(e => e.SnType).HasColumnType("int(11)");
  3839. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3840. entity.Property(e => e.StandardDate).HasColumnType("datetime");
  3841. entity.Property(e => e.Status).HasColumnType("int(11)");
  3842. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  3843. entity.Property(e => e.TradeDate).HasColumnType("datetime");
  3844. entity.Property(e => e.TradeMonth)
  3845. .HasColumnType("varchar(6)")
  3846. .HasCharSet("utf8")
  3847. .HasCollation("utf8_general_ci");
  3848. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3849. entity.Property(e => e.UpdateMan)
  3850. .HasColumnType("varchar(50)")
  3851. .HasCharSet("utf8")
  3852. .HasCollation("utf8_general_ci");
  3853. entity.Property(e => e.UserId).HasColumnType("int(11)");
  3854. entity.Property(e => e.Version).HasColumnType("int(11)");
  3855. });
  3856. modelBuilder.Entity<OpenSnSnapshot>(entity =>
  3857. {
  3858. entity.Property(e => e.Id).HasColumnType("int(11)");
  3859. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  3860. entity.Property(e => e.BuySnNum).HasColumnType("int(11)");
  3861. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3862. entity.Property(e => e.CreateMan)
  3863. .HasColumnType("varchar(50)")
  3864. .HasCharSet("utf8")
  3865. .HasCollation("utf8_general_ci");
  3866. entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)");
  3867. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  3868. entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)");
  3869. entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)");
  3870. entity.Property(e => e.DirectUserId).HasColumnType("int(11)");
  3871. entity.Property(e => e.FailReason)
  3872. .HasColumnType("varchar(128)")
  3873. .HasCharSet("utf8")
  3874. .HasCollation("utf8_general_ci");
  3875. entity.Property(e => e.MerNo)
  3876. .HasColumnType("varchar(32)")
  3877. .HasCharSet("utf8")
  3878. .HasCollation("utf8_general_ci");
  3879. entity.Property(e => e.MerUserType).HasColumnType("int(11)");
  3880. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  3881. entity.Property(e => e.OpenDetailRec)
  3882. .HasColumnType("varchar(32)")
  3883. .HasCharSet("utf8")
  3884. .HasCollation("utf8_general_ci");
  3885. entity.Property(e => e.OpenRewardNo)
  3886. .HasColumnType("varchar(32)")
  3887. .HasCharSet("utf8")
  3888. .HasCollation("utf8_general_ci");
  3889. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3890. entity.Property(e => e.Remark)
  3891. .HasColumnType("varchar(128)")
  3892. .HasCharSet("utf8")
  3893. .HasCollation("utf8_general_ci");
  3894. entity.Property(e => e.RewardAmount).HasColumnType("decimal(18,2)");
  3895. entity.Property(e => e.RewardDesc)
  3896. .HasColumnType("varchar(128)")
  3897. .HasCharSet("utf8")
  3898. .HasCollation("utf8_general_ci");
  3899. entity.Property(e => e.RewardTips)
  3900. .HasColumnType("varchar(16)")
  3901. .HasCharSet("utf8")
  3902. .HasCollation("utf8_general_ci");
  3903. entity.Property(e => e.RewardType).HasColumnType("int(11)");
  3904. entity.Property(e => e.SeoDescription)
  3905. .HasColumnType("varchar(500)")
  3906. .HasCharSet("utf8")
  3907. .HasCollation("utf8_general_ci");
  3908. entity.Property(e => e.SeoKeyword)
  3909. .HasColumnType("varchar(200)")
  3910. .HasCharSet("utf8")
  3911. .HasCollation("utf8_general_ci");
  3912. entity.Property(e => e.SeoTitle)
  3913. .HasColumnType("varchar(100)")
  3914. .HasCharSet("utf8")
  3915. .HasCollation("utf8_general_ci");
  3916. entity.Property(e => e.SnApplyUserId).HasColumnType("int(11)");
  3917. entity.Property(e => e.SnNo)
  3918. .HasColumnType("varchar(32)")
  3919. .HasCharSet("utf8")
  3920. .HasCollation("utf8_general_ci");
  3921. entity.Property(e => e.SnStoreId).HasColumnType("int(11)");
  3922. entity.Property(e => e.SnType).HasColumnType("int(11)");
  3923. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3924. entity.Property(e => e.StandardDate).HasColumnType("datetime");
  3925. entity.Property(e => e.Status).HasColumnType("int(11)");
  3926. entity.Property(e => e.StdBuySnNum).HasColumnType("int(11)");
  3927. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  3928. entity.Property(e => e.TradeDate).HasColumnType("datetime");
  3929. entity.Property(e => e.TradeMonth)
  3930. .HasColumnType("varchar(6)")
  3931. .HasCharSet("utf8")
  3932. .HasCollation("utf8_general_ci");
  3933. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3934. entity.Property(e => e.UpdateMan)
  3935. .HasColumnType("varchar(50)")
  3936. .HasCharSet("utf8")
  3937. .HasCollation("utf8_general_ci");
  3938. entity.Property(e => e.UserId).HasColumnType("int(11)");
  3939. entity.Property(e => e.UserNav)
  3940. .HasColumnType("varchar(300)")
  3941. .HasCharSet("utf8")
  3942. .HasCollation("utf8_general_ci");
  3943. entity.Property(e => e.Version).HasColumnType("int(11)");
  3944. });
  3945. modelBuilder.Entity<OperateLog>(entity =>
  3946. {
  3947. entity.Property(e => e.Id).HasColumnType("int(11)");
  3948. entity.Property(e => e.AfterOperate)
  3949. .HasColumnType("mediumtext")
  3950. .HasCharSet("utf8")
  3951. .HasCollation("utf8_general_ci");
  3952. entity.Property(e => e.BeforeOperate)
  3953. .HasColumnType("mediumtext")
  3954. .HasCharSet("utf8")
  3955. .HasCollation("utf8_general_ci");
  3956. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3957. entity.Property(e => e.CreateMan)
  3958. .HasColumnType("varchar(50)")
  3959. .HasCharSet("utf8")
  3960. .HasCollation("utf8_general_ci");
  3961. entity.Property(e => e.OpMode)
  3962. .HasColumnType("varchar(30)")
  3963. .HasCharSet("utf8")
  3964. .HasCollation("utf8_general_ci");
  3965. entity.Property(e => e.OperateMan)
  3966. .HasColumnType("varchar(50)")
  3967. .HasCharSet("utf8")
  3968. .HasCollation("utf8_general_ci");
  3969. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  3970. entity.Property(e => e.SeoDescription)
  3971. .HasColumnType("varchar(500)")
  3972. .HasCharSet("utf8")
  3973. .HasCollation("utf8_general_ci");
  3974. entity.Property(e => e.SeoKeyword)
  3975. .HasColumnType("varchar(200)")
  3976. .HasCharSet("utf8")
  3977. .HasCollation("utf8_general_ci");
  3978. entity.Property(e => e.SeoTitle)
  3979. .HasColumnType("varchar(100)")
  3980. .HasCharSet("utf8")
  3981. .HasCollation("utf8_general_ci");
  3982. entity.Property(e => e.Sort).HasColumnType("int(11)");
  3983. entity.Property(e => e.Status).HasColumnType("int(11)");
  3984. entity.Property(e => e.TableEnName)
  3985. .HasColumnType("varchar(50)")
  3986. .HasCharSet("utf8")
  3987. .HasCollation("utf8_general_ci");
  3988. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  3989. entity.Property(e => e.UpdateMan)
  3990. .HasColumnType("varchar(50)")
  3991. .HasCharSet("utf8")
  3992. .HasCollation("utf8_general_ci");
  3993. entity.Property(e => e.Version).HasColumnType("int(11)");
  3994. });
  3995. modelBuilder.Entity<OperateRightList>(entity =>
  3996. {
  3997. entity.Property(e => e.Id).HasColumnType("int(11)");
  3998. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  3999. entity.Property(e => e.CreateMan)
  4000. .HasColumnType("varchar(50)")
  4001. .HasCharSet("utf8")
  4002. .HasCollation("utf8_general_ci");
  4003. entity.Property(e => e.EnName)
  4004. .HasColumnType("varchar(50)")
  4005. .HasCharSet("utf8")
  4006. .HasCollation("utf8_general_ci");
  4007. entity.Property(e => e.Name)
  4008. .HasColumnType("varchar(50)")
  4009. .HasCharSet("utf8")
  4010. .HasCollation("utf8_general_ci");
  4011. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4012. entity.Property(e => e.SeoDescription)
  4013. .HasColumnType("varchar(500)")
  4014. .HasCharSet("utf8")
  4015. .HasCollation("utf8_general_ci");
  4016. entity.Property(e => e.SeoKeyword)
  4017. .HasColumnType("varchar(200)")
  4018. .HasCharSet("utf8")
  4019. .HasCollation("utf8_general_ci");
  4020. entity.Property(e => e.SeoTitle)
  4021. .HasColumnType("varchar(100)")
  4022. .HasCharSet("utf8")
  4023. .HasCollation("utf8_general_ci");
  4024. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4025. entity.Property(e => e.Status).HasColumnType("int(11)");
  4026. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4027. entity.Property(e => e.UpdateMan)
  4028. .HasColumnType("varchar(50)")
  4029. .HasCharSet("utf8")
  4030. .HasCollation("utf8_general_ci");
  4031. entity.Property(e => e.Version).HasColumnType("int(11)");
  4032. });
  4033. modelBuilder.Entity<OrderForNo>(entity =>
  4034. {
  4035. entity.HasKey(e => e.OrderNo)
  4036. .HasName("PRIMARY");
  4037. entity.Property(e => e.OrderNo)
  4038. .HasColumnType("varchar(50)")
  4039. .HasCharSet("utf8")
  4040. .HasCollation("utf8_general_ci");
  4041. entity.Property(e => e.OrderIds)
  4042. .HasColumnType("varchar(50)")
  4043. .HasCharSet("utf8")
  4044. .HasCollation("utf8_general_ci");
  4045. entity.Property(e => e.RspCode).HasColumnType("int(11)");
  4046. entity.Property(e => e.RspMsg)
  4047. .HasColumnType("varchar(500)")
  4048. .HasCharSet("utf8")
  4049. .HasCollation("utf8_general_ci");
  4050. });
  4051. modelBuilder.Entity<OrderProduct>(entity =>
  4052. {
  4053. entity.Property(e => e.Id).HasColumnType("int(11)");
  4054. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4055. entity.Property(e => e.CreateMan)
  4056. .HasColumnType("varchar(50)")
  4057. .HasCharSet("utf8")
  4058. .HasCollation("utf8_general_ci");
  4059. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4060. entity.Property(e => e.NormDetail)
  4061. .HasColumnType("varchar(200)")
  4062. .HasCharSet("utf8")
  4063. .HasCollation("utf8_general_ci");
  4064. entity.Property(e => e.NormId)
  4065. .HasColumnType("varchar(50)")
  4066. .HasCharSet("utf8")
  4067. .HasCollation("utf8_general_ci");
  4068. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  4069. entity.Property(e => e.ProductCode)
  4070. .HasColumnType("varchar(30)")
  4071. .HasCharSet("utf8")
  4072. .HasCollation("utf8_general_ci");
  4073. entity.Property(e => e.ProductCount).HasColumnType("int(11)");
  4074. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  4075. entity.Property(e => e.ProductIntegral).HasColumnType("decimal(18,2)");
  4076. entity.Property(e => e.ProductName)
  4077. .HasColumnType("varchar(100)")
  4078. .HasCharSet("utf8")
  4079. .HasCollation("utf8_general_ci");
  4080. entity.Property(e => e.ProductPhoto)
  4081. .HasColumnType("varchar(200)")
  4082. .HasCharSet("utf8")
  4083. .HasCollation("utf8_general_ci");
  4084. entity.Property(e => e.ProductPrice).HasColumnType("decimal(18,2)");
  4085. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4086. entity.Property(e => e.SeoDescription)
  4087. .HasColumnType("varchar(500)")
  4088. .HasCharSet("utf8")
  4089. .HasCollation("utf8_general_ci");
  4090. entity.Property(e => e.SeoKeyword)
  4091. .HasColumnType("varchar(200)")
  4092. .HasCharSet("utf8")
  4093. .HasCollation("utf8_general_ci");
  4094. entity.Property(e => e.SeoTitle)
  4095. .HasColumnType("varchar(100)")
  4096. .HasCharSet("utf8")
  4097. .HasCollation("utf8_general_ci");
  4098. entity.Property(e => e.SnNos)
  4099. .HasColumnType("mediumtext")
  4100. .HasCharSet("utf8")
  4101. .HasCollation("utf8_general_ci");
  4102. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4103. entity.Property(e => e.Status).HasColumnType("int(11)");
  4104. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  4105. entity.Property(e => e.TotalIntegral).HasColumnType("decimal(18,2)");
  4106. entity.Property(e => e.TotalPrice).HasColumnType("decimal(18,2)");
  4107. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4108. entity.Property(e => e.UpdateMan)
  4109. .HasColumnType("varchar(50)")
  4110. .HasCharSet("utf8")
  4111. .HasCollation("utf8_general_ci");
  4112. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4113. entity.Property(e => e.Version).HasColumnType("int(11)");
  4114. });
  4115. modelBuilder.Entity<OrderRefund>(entity =>
  4116. {
  4117. entity.Property(e => e.Id).HasColumnType("int(11)");
  4118. entity.Property(e => e.Amount).HasColumnType("decimal(18,2)");
  4119. entity.Property(e => e.Contents)
  4120. .HasColumnType("longtext")
  4121. .HasCharSet("utf8")
  4122. .HasCollation("utf8_general_ci");
  4123. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4124. entity.Property(e => e.CreateMan)
  4125. .HasColumnType("varchar(50)")
  4126. .HasCharSet("utf8")
  4127. .HasCollation("utf8_general_ci");
  4128. entity.Property(e => e.ErpCode)
  4129. .HasColumnType("varchar(50)")
  4130. .HasCharSet("utf8")
  4131. .HasCollation("utf8_general_ci");
  4132. entity.Property(e => e.ErpCompany).HasColumnType("int(11)");
  4133. entity.Property(e => e.GoodStatus).HasColumnType("int(11)");
  4134. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4135. entity.Property(e => e.Mobile)
  4136. .HasColumnType("varchar(11)")
  4137. .HasCharSet("utf8")
  4138. .HasCollation("utf8_general_ci");
  4139. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  4140. entity.Property(e => e.Photos)
  4141. .HasColumnType("varchar(500)")
  4142. .HasCharSet("utf8")
  4143. .HasCollation("utf8_general_ci");
  4144. entity.Property(e => e.ProductId)
  4145. .HasColumnType("varchar(50)")
  4146. .HasCharSet("utf8")
  4147. .HasCollation("utf8_general_ci");
  4148. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4149. entity.Property(e => e.Reason).HasColumnType("int(11)");
  4150. entity.Property(e => e.SeoDescription)
  4151. .HasColumnType("varchar(500)")
  4152. .HasCharSet("utf8")
  4153. .HasCollation("utf8_general_ci");
  4154. entity.Property(e => e.SeoKeyword)
  4155. .HasColumnType("varchar(200)")
  4156. .HasCharSet("utf8")
  4157. .HasCollation("utf8_general_ci");
  4158. entity.Property(e => e.SeoTitle)
  4159. .HasColumnType("varchar(100)")
  4160. .HasCharSet("utf8")
  4161. .HasCollation("utf8_general_ci");
  4162. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4163. entity.Property(e => e.Status).HasColumnType("int(11)");
  4164. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4165. entity.Property(e => e.UpdateMan)
  4166. .HasColumnType("varchar(50)")
  4167. .HasCharSet("utf8")
  4168. .HasCollation("utf8_general_ci");
  4169. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4170. entity.Property(e => e.Version).HasColumnType("int(11)");
  4171. });
  4172. modelBuilder.Entity<OrderRefundReason>(entity =>
  4173. {
  4174. entity.Property(e => e.Id).HasColumnType("int(11)");
  4175. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4176. entity.Property(e => e.CreateMan)
  4177. .HasColumnType("varchar(50)")
  4178. .HasCharSet("utf8")
  4179. .HasCollation("utf8_general_ci");
  4180. entity.Property(e => e.Name)
  4181. .HasColumnType("varchar(50)")
  4182. .HasCharSet("utf8")
  4183. .HasCollation("utf8_general_ci");
  4184. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4185. entity.Property(e => e.SeoDescription)
  4186. .HasColumnType("varchar(500)")
  4187. .HasCharSet("utf8")
  4188. .HasCollation("utf8_general_ci");
  4189. entity.Property(e => e.SeoKeyword)
  4190. .HasColumnType("varchar(200)")
  4191. .HasCharSet("utf8")
  4192. .HasCollation("utf8_general_ci");
  4193. entity.Property(e => e.SeoTitle)
  4194. .HasColumnType("varchar(100)")
  4195. .HasCharSet("utf8")
  4196. .HasCollation("utf8_general_ci");
  4197. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4198. entity.Property(e => e.Status).HasColumnType("int(11)");
  4199. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4200. entity.Property(e => e.UpdateMan)
  4201. .HasColumnType("varchar(50)")
  4202. .HasCharSet("utf8")
  4203. .HasCollation("utf8_general_ci");
  4204. entity.Property(e => e.Version).HasColumnType("int(11)");
  4205. });
  4206. modelBuilder.Entity<Orders>(entity =>
  4207. {
  4208. entity.Property(e => e.Id).HasColumnType("int(11)");
  4209. entity.Property(e => e.ActualPay).HasColumnType("decimal(18,2)");
  4210. entity.Property(e => e.Address)
  4211. .HasColumnType("varchar(50)")
  4212. .HasCharSet("utf8")
  4213. .HasCollation("utf8_general_ci");
  4214. entity.Property(e => e.Areas)
  4215. .HasColumnType("varchar(30)")
  4216. .HasCharSet("utf8")
  4217. .HasCollation("utf8_general_ci");
  4218. entity.Property(e => e.AutoConfirmDate).HasColumnType("datetime");
  4219. entity.Property(e => e.BuyCount).HasColumnType("int(11)");
  4220. entity.Property(e => e.ChannelAmount).HasColumnType("decimal(18,2)");
  4221. entity.Property(e => e.ConfirmDate).HasColumnType("datetime");
  4222. entity.Property(e => e.CouponId).HasColumnType("int(11)");
  4223. entity.Property(e => e.CouponMoney).HasColumnType("decimal(18,2)");
  4224. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4225. entity.Property(e => e.CreateMan)
  4226. .HasColumnType("varchar(50)")
  4227. .HasCharSet("utf8")
  4228. .HasCollation("utf8_general_ci");
  4229. entity.Property(e => e.DeliveryType).HasColumnType("int(11)");
  4230. entity.Property(e => e.ErpCode)
  4231. .HasColumnType("varchar(50)")
  4232. .HasCharSet("utf8")
  4233. .HasCollation("utf8_general_ci");
  4234. entity.Property(e => e.ErpMode).HasColumnType("int(11)");
  4235. entity.Property(e => e.ErpName)
  4236. .HasColumnType("varchar(50)")
  4237. .HasCharSet("utf8")
  4238. .HasCollation("utf8_general_ci");
  4239. entity.Property(e => e.ErpPrice).HasColumnType("decimal(18,2)");
  4240. entity.Property(e => e.Integral).HasColumnType("decimal(18,2)");
  4241. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4242. entity.Property(e => e.Mobile)
  4243. .HasColumnType("varchar(11)")
  4244. .HasCharSet("utf8")
  4245. .HasCollation("utf8_general_ci");
  4246. entity.Property(e => e.OrderNo)
  4247. .HasColumnType("varchar(30)")
  4248. .HasCharSet("utf8")
  4249. .HasCollation("utf8_general_ci");
  4250. entity.Property(e => e.PayDate).HasColumnType("datetime");
  4251. entity.Property(e => e.PayMode).HasColumnType("int(11)");
  4252. entity.Property(e => e.PayStatus).HasColumnType("int(11)");
  4253. entity.Property(e => e.PostalCode)
  4254. .HasColumnType("varchar(6)")
  4255. .HasCharSet("utf8")
  4256. .HasCollation("utf8_general_ci");
  4257. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  4258. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4259. entity.Property(e => e.RealName)
  4260. .HasColumnType("varchar(10)")
  4261. .HasCharSet("utf8")
  4262. .HasCollation("utf8_general_ci");
  4263. entity.Property(e => e.RefundActAmount).HasColumnType("decimal(18,2)");
  4264. entity.Property(e => e.RefundFeeAmount).HasColumnType("decimal(18,2)");
  4265. entity.Property(e => e.RefundReason)
  4266. .HasColumnType("varchar(64)")
  4267. .HasCharSet("utf8")
  4268. .HasCollation("utf8_general_ci");
  4269. entity.Property(e => e.RefundStatus).HasColumnType("int(11)");
  4270. entity.Property(e => e.Remark)
  4271. .HasColumnType("varchar(64)")
  4272. .HasCharSet("utf8")
  4273. .HasCollation("utf8_general_ci");
  4274. entity.Property(e => e.ReqData)
  4275. .HasColumnType("varchar(2048)")
  4276. .HasCharSet("utf8")
  4277. .HasCollation("utf8_general_ci");
  4278. entity.Property(e => e.ResData)
  4279. .HasColumnType("varchar(2048)")
  4280. .HasCharSet("utf8")
  4281. .HasCollation("utf8_general_ci");
  4282. entity.Property(e => e.ReturnCode)
  4283. .HasColumnType("varchar(32)")
  4284. .HasCharSet("utf8")
  4285. .HasCollation("utf8_general_ci");
  4286. entity.Property(e => e.ReturnMsg)
  4287. .HasColumnType("varchar(128)")
  4288. .HasCharSet("utf8")
  4289. .HasCollation("utf8_general_ci");
  4290. entity.Property(e => e.SendDate).HasColumnType("datetime");
  4291. entity.Property(e => e.SendStatus).HasColumnType("int(11)");
  4292. entity.Property(e => e.SeoDescription)
  4293. .HasColumnType("varchar(500)")
  4294. .HasCharSet("utf8")
  4295. .HasCollation("utf8_general_ci");
  4296. entity.Property(e => e.SeoKeyword)
  4297. .HasColumnType("varchar(200)")
  4298. .HasCharSet("utf8")
  4299. .HasCollation("utf8_general_ci");
  4300. entity.Property(e => e.SeoTitle)
  4301. .HasColumnType("varchar(100)")
  4302. .HasCharSet("utf8")
  4303. .HasCollation("utf8_general_ci");
  4304. entity.Property(e => e.SnNos)
  4305. .HasColumnType("mediumtext")
  4306. .HasCharSet("utf8")
  4307. .HasCollation("utf8_general_ci");
  4308. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4309. entity.Property(e => e.Status).HasColumnType("int(11)");
  4310. entity.Property(e => e.StoreContact)
  4311. .HasColumnType("varchar(30)")
  4312. .HasCharSet("utf8")
  4313. .HasCollation("utf8_general_ci");
  4314. entity.Property(e => e.StoreContactMobile)
  4315. .HasColumnType("varchar(11)")
  4316. .HasCharSet("utf8")
  4317. .HasCollation("utf8_general_ci");
  4318. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  4319. entity.Property(e => e.StoreType).HasColumnType("int(11)");
  4320. entity.Property(e => e.StoreUserId).HasColumnType("int(11)");
  4321. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  4322. entity.Property(e => e.TotalPrice).HasColumnType("decimal(18,2)");
  4323. entity.Property(e => e.TradeNo)
  4324. .HasColumnType("varchar(50)")
  4325. .HasCharSet("utf8")
  4326. .HasCollation("utf8_general_ci");
  4327. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4328. entity.Property(e => e.UpdateMan)
  4329. .HasColumnType("varchar(50)")
  4330. .HasCharSet("utf8")
  4331. .HasCollation("utf8_general_ci");
  4332. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4333. entity.Property(e => e.UserMessage)
  4334. .HasColumnType("varchar(50)")
  4335. .HasCharSet("utf8")
  4336. .HasCollation("utf8_general_ci");
  4337. entity.Property(e => e.Version).HasColumnType("int(11)");
  4338. });
  4339. modelBuilder.Entity<PageInfo>(entity =>
  4340. {
  4341. entity.Property(e => e.Id).HasColumnType("int(11)");
  4342. entity.Property(e => e.ColId)
  4343. .HasColumnType("varchar(30)")
  4344. .HasCharSet("utf8")
  4345. .HasCollation("utf8_general_ci");
  4346. entity.Property(e => e.Contents)
  4347. .HasColumnType("longtext")
  4348. .HasCharSet("utf8")
  4349. .HasCollation("utf8_general_ci");
  4350. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4351. entity.Property(e => e.CreateMan)
  4352. .HasColumnType("varchar(50)")
  4353. .HasCharSet("utf8")
  4354. .HasCollation("utf8_general_ci");
  4355. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4356. entity.Property(e => e.SeoDescription)
  4357. .HasColumnType("varchar(500)")
  4358. .HasCharSet("utf8")
  4359. .HasCollation("utf8_general_ci");
  4360. entity.Property(e => e.SeoKeyword)
  4361. .HasColumnType("varchar(200)")
  4362. .HasCharSet("utf8")
  4363. .HasCollation("utf8_general_ci");
  4364. entity.Property(e => e.SeoTitle)
  4365. .HasColumnType("varchar(100)")
  4366. .HasCharSet("utf8")
  4367. .HasCollation("utf8_general_ci");
  4368. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4369. entity.Property(e => e.Status).HasColumnType("int(11)");
  4370. entity.Property(e => e.Title)
  4371. .HasColumnType("varchar(200)")
  4372. .HasCharSet("utf8")
  4373. .HasCollation("utf8_general_ci");
  4374. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4375. entity.Property(e => e.UpdateMan)
  4376. .HasColumnType("varchar(50)")
  4377. .HasCharSet("utf8")
  4378. .HasCollation("utf8_general_ci");
  4379. entity.Property(e => e.Version).HasColumnType("int(11)");
  4380. });
  4381. modelBuilder.Entity<PageUpdateInfo>(entity =>
  4382. {
  4383. entity.Property(e => e.Id).HasColumnType("int(11)");
  4384. entity.Property(e => e.BgColor)
  4385. .HasColumnType("varchar(6)")
  4386. .HasCharSet("utf8")
  4387. .HasCollation("utf8_general_ci");
  4388. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4389. entity.Property(e => e.CreateMan)
  4390. .HasColumnType("varchar(50)")
  4391. .HasCharSet("utf8")
  4392. .HasCollation("utf8_general_ci");
  4393. entity.Property(e => e.GotoPages)
  4394. .HasColumnType("varchar(500)")
  4395. .HasCharSet("utf8")
  4396. .HasCollation("utf8_general_ci");
  4397. entity.Property(e => e.IsScrollBar)
  4398. .HasColumnType("bit(1)")
  4399. .HasDefaultValueSql("b'0'");
  4400. entity.Property(e => e.IsSkid)
  4401. .HasColumnType("bit(1)")
  4402. .HasDefaultValueSql("b'0'");
  4403. entity.Property(e => e.LeftAction1)
  4404. .HasColumnType("longtext")
  4405. .HasCharSet("utf8")
  4406. .HasCollation("utf8_general_ci");
  4407. entity.Property(e => e.LeftAction2)
  4408. .HasColumnType("longtext")
  4409. .HasCharSet("utf8")
  4410. .HasCollation("utf8_general_ci");
  4411. entity.Property(e => e.LeftBtn1)
  4412. .HasColumnType("varchar(100)")
  4413. .HasCharSet("utf8")
  4414. .HasCollation("utf8_general_ci");
  4415. entity.Property(e => e.LeftBtn2)
  4416. .HasColumnType("varchar(50)")
  4417. .HasCharSet("utf8")
  4418. .HasCollation("utf8_general_ci");
  4419. entity.Property(e => e.ModulePath)
  4420. .HasColumnType("varchar(200)")
  4421. .HasCharSet("utf8")
  4422. .HasCollation("utf8_general_ci");
  4423. entity.Property(e => e.ModuleVersion).HasColumnType("int(11)");
  4424. entity.Property(e => e.MustUpdate)
  4425. .HasColumnType("bit(1)")
  4426. .HasDefaultValueSql("b'0'");
  4427. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4428. entity.Property(e => e.RightAction1)
  4429. .HasColumnType("longtext")
  4430. .HasCharSet("utf8")
  4431. .HasCollation("utf8_general_ci");
  4432. entity.Property(e => e.RightAction2)
  4433. .HasColumnType("longtext")
  4434. .HasCharSet("utf8")
  4435. .HasCollation("utf8_general_ci");
  4436. entity.Property(e => e.RightBtn1)
  4437. .HasColumnType("varchar(50)")
  4438. .HasCharSet("utf8")
  4439. .HasCollation("utf8_general_ci");
  4440. entity.Property(e => e.RightBtn2)
  4441. .HasColumnType("varchar(50)")
  4442. .HasCharSet("utf8")
  4443. .HasCollation("utf8_general_ci");
  4444. entity.Property(e => e.SeoDescription)
  4445. .HasColumnType("varchar(500)")
  4446. .HasCharSet("utf8")
  4447. .HasCollation("utf8_general_ci");
  4448. entity.Property(e => e.SeoKeyword)
  4449. .HasColumnType("varchar(200)")
  4450. .HasCharSet("utf8")
  4451. .HasCollation("utf8_general_ci");
  4452. entity.Property(e => e.SeoTitle)
  4453. .HasColumnType("varchar(100)")
  4454. .HasCharSet("utf8")
  4455. .HasCollation("utf8_general_ci");
  4456. entity.Property(e => e.ShowTitle)
  4457. .HasColumnType("bit(1)")
  4458. .HasDefaultValueSql("b'0'");
  4459. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4460. entity.Property(e => e.Status).HasColumnType("int(11)");
  4461. entity.Property(e => e.StatusBarStyle)
  4462. .HasColumnType("varchar(10)")
  4463. .HasCharSet("utf8")
  4464. .HasCollation("utf8_general_ci");
  4465. entity.Property(e => e.TextColor)
  4466. .HasColumnType("varchar(6)")
  4467. .HasCharSet("utf8")
  4468. .HasCollation("utf8_general_ci");
  4469. entity.Property(e => e.Title)
  4470. .HasColumnType("varchar(50)")
  4471. .HasCharSet("utf8")
  4472. .HasCollation("utf8_general_ci");
  4473. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4474. entity.Property(e => e.UpdateMan)
  4475. .HasColumnType("varchar(50)")
  4476. .HasCharSet("utf8")
  4477. .HasCollation("utf8_general_ci");
  4478. entity.Property(e => e.Version).HasColumnType("int(11)");
  4479. });
  4480. modelBuilder.Entity<PosMachines>(entity =>
  4481. {
  4482. entity.Property(e => e.Id).HasColumnType("int(11)");
  4483. entity.Property(e => e.ActivationState).HasColumnType("int(11)");
  4484. entity.Property(e => e.ActivationTime).HasColumnType("datetime");
  4485. entity.Property(e => e.ActivityList)
  4486. .HasColumnType("varchar(200)")
  4487. .HasCharSet("utf8")
  4488. .HasCollation("utf8_general_ci");
  4489. entity.Property(e => e.BatchNo)
  4490. .HasColumnType("varchar(32)")
  4491. .HasCharSet("utf8")
  4492. .HasCollation("utf8_general_ci");
  4493. entity.Property(e => e.BindMerchantId).HasColumnType("int(11)");
  4494. entity.Property(e => e.BindingState).HasColumnType("int(11)");
  4495. entity.Property(e => e.BindingTime).HasColumnType("datetime");
  4496. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  4497. entity.Property(e => e.BuyUserId).HasColumnType("int(11)");
  4498. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4499. entity.Property(e => e.CreateMan)
  4500. .HasColumnType("varchar(50)")
  4501. .HasCharSet("utf8")
  4502. .HasCollation("utf8_general_ci");
  4503. entity.Property(e => e.CreditTrade).HasColumnType("decimal(18,2)");
  4504. entity.Property(e => e.DebitCardTrade).HasColumnType("decimal(18,2)");
  4505. entity.Property(e => e.Detail)
  4506. .HasColumnType("longtext")
  4507. .HasCharSet("utf8")
  4508. .HasCollation("utf8_general_ci");
  4509. entity.Property(e => e.DeviceKind)
  4510. .HasColumnType("varchar(32)")
  4511. .HasCharSet("utf8")
  4512. .HasCollation("utf8_general_ci");
  4513. entity.Property(e => e.DeviceName)
  4514. .HasColumnType("varchar(32)")
  4515. .HasCharSet("utf8")
  4516. .HasCollation("utf8_general_ci");
  4517. entity.Property(e => e.DeviceType)
  4518. .HasColumnType("varchar(20)")
  4519. .HasCharSet("utf8")
  4520. .HasCollation("utf8_general_ci");
  4521. entity.Property(e => e.IsPurchase)
  4522. .HasColumnType("bit(1)")
  4523. .HasDefaultValueSql("b'0'");
  4524. entity.Property(e => e.IsVip)
  4525. .HasColumnType("bit(1)")
  4526. .HasDefaultValueSql("b'0'");
  4527. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  4528. entity.Property(e => e.PosSn)
  4529. .HasColumnType("varchar(50)")
  4530. .HasCharSet("utf8")
  4531. .HasCollation("utf8_general_ci");
  4532. entity.Property(e => e.PosSnType).HasColumnType("int(11)");
  4533. entity.Property(e => e.PrizeParams)
  4534. .HasColumnType("varchar(200)")
  4535. .HasCharSet("utf8")
  4536. .HasCollation("utf8_general_ci");
  4537. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4538. entity.Property(e => e.RecycBackCount).HasColumnType("int(11)");
  4539. entity.Property(e => e.RecycEndDate).HasColumnType("datetime");
  4540. entity.Property(e => e.ScanQrTrade).HasColumnType("decimal(18,2)");
  4541. entity.Property(e => e.SeoDescription)
  4542. .HasColumnType("varchar(500)")
  4543. .HasCharSet("utf8")
  4544. .HasCollation("utf8_general_ci");
  4545. entity.Property(e => e.SeoKeyword)
  4546. .HasColumnType("varchar(200)")
  4547. .HasCharSet("utf8")
  4548. .HasCollation("utf8_general_ci");
  4549. entity.Property(e => e.SeoTitle)
  4550. .HasColumnType("varchar(100)")
  4551. .HasCharSet("utf8")
  4552. .HasCollation("utf8_general_ci");
  4553. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4554. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  4555. entity.Property(e => e.Status).HasColumnType("int(11)");
  4556. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  4557. entity.Property(e => e.TransferTime).HasColumnType("datetime");
  4558. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4559. entity.Property(e => e.UpdateMan)
  4560. .HasColumnType("varchar(50)")
  4561. .HasCharSet("utf8")
  4562. .HasCollation("utf8_general_ci");
  4563. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4564. entity.Property(e => e.UserNav)
  4565. .HasColumnType("longtext")
  4566. .HasCharSet("utf8")
  4567. .HasCollation("utf8_general_ci");
  4568. entity.Property(e => e.Version).HasColumnType("int(11)");
  4569. });
  4570. modelBuilder.Entity<PosMachinesTwo>(entity =>
  4571. {
  4572. entity.Property(e => e.Id).HasColumnType("int(11)");
  4573. entity.Property(e => e.ActivationState).HasColumnType("int(11)");
  4574. entity.Property(e => e.ActivationTime).HasColumnType("datetime");
  4575. entity.Property(e => e.ActivityList)
  4576. .HasColumnType("varchar(200)")
  4577. .HasCharSet("utf8")
  4578. .HasCollation("utf8_general_ci");
  4579. entity.Property(e => e.BatchNo)
  4580. .HasColumnType("varchar(32)")
  4581. .HasCharSet("utf8")
  4582. .HasCollation("utf8_general_ci");
  4583. entity.Property(e => e.BindMerchantId).HasColumnType("int(11)");
  4584. entity.Property(e => e.BindingState).HasColumnType("int(11)");
  4585. entity.Property(e => e.BindingTime).HasColumnType("datetime");
  4586. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  4587. entity.Property(e => e.BuyUserId).HasColumnType("int(11)");
  4588. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4589. entity.Property(e => e.CreditTrade).HasColumnType("decimal(18,2)");
  4590. entity.Property(e => e.DebitCardTrade).HasColumnType("decimal(18,2)");
  4591. entity.Property(e => e.Detail)
  4592. .HasColumnType("longtext")
  4593. .HasCharSet("utf8")
  4594. .HasCollation("utf8_general_ci");
  4595. entity.Property(e => e.DeviceKind)
  4596. .HasColumnType("varchar(32)")
  4597. .HasCharSet("utf8")
  4598. .HasCollation("utf8_general_ci");
  4599. entity.Property(e => e.DeviceName)
  4600. .HasColumnType("varchar(32)")
  4601. .HasCharSet("utf8")
  4602. .HasCollation("utf8_general_ci");
  4603. entity.Property(e => e.DeviceType)
  4604. .HasColumnType("varchar(20)")
  4605. .HasCharSet("utf8")
  4606. .HasCollation("utf8_general_ci");
  4607. entity.Property(e => e.IsPurchase)
  4608. .HasColumnType("bit(1)")
  4609. .HasDefaultValueSql("b'0'");
  4610. entity.Property(e => e.IsVip)
  4611. .HasColumnType("bit(1)")
  4612. .HasDefaultValueSql("b'0'");
  4613. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  4614. entity.Property(e => e.PosSn)
  4615. .HasColumnType("varchar(50)")
  4616. .HasCharSet("utf8")
  4617. .HasCollation("utf8_general_ci");
  4618. entity.Property(e => e.PosSnType).HasColumnType("int(11)");
  4619. entity.Property(e => e.PrizeParams)
  4620. .HasColumnType("varchar(200)")
  4621. .HasCharSet("utf8")
  4622. .HasCollation("utf8_general_ci");
  4623. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4624. entity.Property(e => e.RecycBackCount).HasColumnType("int(11)");
  4625. entity.Property(e => e.RecycEndDate).HasColumnType("datetime");
  4626. entity.Property(e => e.ScanQrTrade).HasColumnType("decimal(18,2)");
  4627. entity.Property(e => e.SeoDescription)
  4628. .HasColumnType("varchar(500)")
  4629. .HasCharSet("utf8")
  4630. .HasCollation("utf8_general_ci");
  4631. entity.Property(e => e.SeoKeyword)
  4632. .HasColumnType("varchar(200)")
  4633. .HasCharSet("utf8")
  4634. .HasCollation("utf8_general_ci");
  4635. entity.Property(e => e.SeoTitle)
  4636. .HasColumnType("varchar(100)")
  4637. .HasCharSet("utf8")
  4638. .HasCollation("utf8_general_ci");
  4639. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4640. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  4641. entity.Property(e => e.Status).HasColumnType("int(11)");
  4642. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  4643. entity.Property(e => e.TransferTime).HasColumnType("datetime");
  4644. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4645. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4646. entity.Property(e => e.UserNav)
  4647. .HasColumnType("longtext")
  4648. .HasCharSet("utf8")
  4649. .HasCollation("utf8_general_ci");
  4650. });
  4651. modelBuilder.Entity<ProductComment>(entity =>
  4652. {
  4653. entity.Property(e => e.Id).HasColumnType("int(11)");
  4654. entity.Property(e => e.AgreeCount).HasColumnType("int(11)");
  4655. entity.Property(e => e.BackCount).HasColumnType("int(11)");
  4656. entity.Property(e => e.Contents)
  4657. .HasColumnType("varchar(200)")
  4658. .HasCharSet("utf8")
  4659. .HasCollation("utf8_general_ci");
  4660. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4661. entity.Property(e => e.CreateMan)
  4662. .HasColumnType("varchar(50)")
  4663. .HasCharSet("utf8")
  4664. .HasCollation("utf8_general_ci");
  4665. entity.Property(e => e.HasPhoto)
  4666. .HasColumnType("bit(1)")
  4667. .HasDefaultValueSql("b'0'");
  4668. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4669. entity.Property(e => e.OrderId).HasColumnType("int(11)");
  4670. entity.Property(e => e.PhotoList)
  4671. .HasColumnType("mediumtext")
  4672. .HasCharSet("utf8")
  4673. .HasCollation("utf8_general_ci");
  4674. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  4675. entity.Property(e => e.ProductNormId).HasColumnType("int(11)");
  4676. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4677. entity.Property(e => e.SeoDescription)
  4678. .HasColumnType("varchar(500)")
  4679. .HasCharSet("utf8")
  4680. .HasCollation("utf8_general_ci");
  4681. entity.Property(e => e.SeoKeyword)
  4682. .HasColumnType("varchar(200)")
  4683. .HasCharSet("utf8")
  4684. .HasCollation("utf8_general_ci");
  4685. entity.Property(e => e.SeoTitle)
  4686. .HasColumnType("varchar(100)")
  4687. .HasCharSet("utf8")
  4688. .HasCollation("utf8_general_ci");
  4689. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4690. entity.Property(e => e.StarNum).HasColumnType("int(11)");
  4691. entity.Property(e => e.Status).HasColumnType("int(11)");
  4692. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4693. entity.Property(e => e.UpdateMan)
  4694. .HasColumnType("varchar(50)")
  4695. .HasCharSet("utf8")
  4696. .HasCollation("utf8_general_ci");
  4697. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4698. entity.Property(e => e.Version).HasColumnType("int(11)");
  4699. });
  4700. modelBuilder.Entity<ProductCommentAgree>(entity =>
  4701. {
  4702. entity.Property(e => e.Id).HasColumnType("int(11)");
  4703. entity.Property(e => e.ProductCommentId).HasColumnType("int(11)");
  4704. entity.Property(e => e.UserId).HasColumnType("int(11)");
  4705. });
  4706. modelBuilder.Entity<ProductFareAreas>(entity =>
  4707. {
  4708. entity.Property(e => e.Id).HasColumnType("int(11)");
  4709. entity.Property(e => e.Areas)
  4710. .HasColumnType("longtext")
  4711. .HasCharSet("utf8")
  4712. .HasCollation("utf8_general_ci");
  4713. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4714. entity.Property(e => e.CreateMan)
  4715. .HasColumnType("varchar(50)")
  4716. .HasCharSet("utf8")
  4717. .HasCollation("utf8_general_ci");
  4718. entity.Property(e => e.FirstAmount).HasColumnType("decimal(18,2)");
  4719. entity.Property(e => e.FirstFee).HasColumnType("decimal(18,2)");
  4720. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4721. entity.Property(e => e.MoreAmount).HasColumnType("decimal(18,2)");
  4722. entity.Property(e => e.MoreFee).HasColumnType("decimal(18,2)");
  4723. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4724. entity.Property(e => e.SeoDescription)
  4725. .HasColumnType("varchar(500)")
  4726. .HasCharSet("utf8")
  4727. .HasCollation("utf8_general_ci");
  4728. entity.Property(e => e.SeoKeyword)
  4729. .HasColumnType("varchar(200)")
  4730. .HasCharSet("utf8")
  4731. .HasCollation("utf8_general_ci");
  4732. entity.Property(e => e.SeoTitle)
  4733. .HasColumnType("varchar(100)")
  4734. .HasCharSet("utf8")
  4735. .HasCollation("utf8_general_ci");
  4736. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4737. entity.Property(e => e.Status).HasColumnType("int(11)");
  4738. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  4739. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4740. entity.Property(e => e.UpdateMan)
  4741. .HasColumnType("varchar(50)")
  4742. .HasCharSet("utf8")
  4743. .HasCollation("utf8_general_ci");
  4744. entity.Property(e => e.Version).HasColumnType("int(11)");
  4745. });
  4746. modelBuilder.Entity<ProductFareTemp>(entity =>
  4747. {
  4748. entity.Property(e => e.Id).HasColumnType("int(11)");
  4749. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4750. entity.Property(e => e.CreateMan)
  4751. .HasColumnType("varchar(50)")
  4752. .HasCharSet("utf8")
  4753. .HasCollation("utf8_general_ci");
  4754. entity.Property(e => e.FirstAmount).HasColumnType("decimal(18,2)");
  4755. entity.Property(e => e.FirstFee).HasColumnType("decimal(18,2)");
  4756. entity.Property(e => e.IsFree)
  4757. .HasColumnType("bit(1)")
  4758. .HasDefaultValueSql("b'0'");
  4759. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4760. entity.Property(e => e.MeterMode).HasColumnType("int(11)");
  4761. entity.Property(e => e.MoreAmount).HasColumnType("decimal(18,2)");
  4762. entity.Property(e => e.MoreFee).HasColumnType("decimal(18,2)");
  4763. entity.Property(e => e.Name)
  4764. .HasColumnType("varchar(50)")
  4765. .HasCharSet("utf8")
  4766. .HasCollation("utf8_general_ci");
  4767. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4768. entity.Property(e => e.SendAddress)
  4769. .HasColumnType("varchar(50)")
  4770. .HasCharSet("utf8")
  4771. .HasCollation("utf8_general_ci");
  4772. entity.Property(e => e.SendAreas)
  4773. .HasColumnType("varchar(30)")
  4774. .HasCharSet("utf8")
  4775. .HasCollation("utf8_general_ci");
  4776. entity.Property(e => e.SendDate).HasColumnType("int(11)");
  4777. entity.Property(e => e.SeoDescription)
  4778. .HasColumnType("varchar(500)")
  4779. .HasCharSet("utf8")
  4780. .HasCollation("utf8_general_ci");
  4781. entity.Property(e => e.SeoKeyword)
  4782. .HasColumnType("varchar(200)")
  4783. .HasCharSet("utf8")
  4784. .HasCollation("utf8_general_ci");
  4785. entity.Property(e => e.SeoTitle)
  4786. .HasColumnType("varchar(100)")
  4787. .HasCharSet("utf8")
  4788. .HasCollation("utf8_general_ci");
  4789. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4790. entity.Property(e => e.Status).HasColumnType("int(11)");
  4791. entity.Property(e => e.TransportMode).HasColumnType("int(11)");
  4792. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4793. entity.Property(e => e.UpdateMan)
  4794. .HasColumnType("varchar(50)")
  4795. .HasCharSet("utf8")
  4796. .HasCollation("utf8_general_ci");
  4797. entity.Property(e => e.Version).HasColumnType("int(11)");
  4798. });
  4799. modelBuilder.Entity<ProductKeys>(entity =>
  4800. {
  4801. entity.HasKey(e => e.Name)
  4802. .HasName("PRIMARY");
  4803. entity.Property(e => e.Name)
  4804. .HasColumnType("varchar(10)")
  4805. .HasCharSet("utf8")
  4806. .HasCollation("utf8_general_ci");
  4807. entity.Property(e => e.ColIds)
  4808. .HasColumnType("longtext")
  4809. .HasCharSet("utf8")
  4810. .HasCollation("utf8_general_ci");
  4811. entity.Property(e => e.ProductIds)
  4812. .HasColumnType("longtext")
  4813. .HasCharSet("utf8")
  4814. .HasCollation("utf8_general_ci");
  4815. });
  4816. modelBuilder.Entity<ProductNorm>(entity =>
  4817. {
  4818. entity.Property(e => e.Id).HasColumnType("int(11)");
  4819. entity.Property(e => e.BuyCount).HasColumnType("int(11)");
  4820. entity.Property(e => e.Code)
  4821. .HasColumnType("varchar(50)")
  4822. .HasCharSet("utf8")
  4823. .HasCollation("utf8_general_ci");
  4824. entity.Property(e => e.ColName)
  4825. .HasColumnType("varchar(50)")
  4826. .HasCharSet("utf8")
  4827. .HasCollation("utf8_general_ci");
  4828. entity.Property(e => e.CostPrice).HasColumnType("decimal(18,2)");
  4829. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4830. entity.Property(e => e.CreateMan)
  4831. .HasColumnType("varchar(50)")
  4832. .HasCharSet("utf8")
  4833. .HasCollation("utf8_general_ci");
  4834. entity.Property(e => e.IdList)
  4835. .HasColumnType("varchar(50)")
  4836. .HasCharSet("utf8")
  4837. .HasCollation("utf8_general_ci");
  4838. entity.Property(e => e.Integral).HasColumnType("decimal(18,2)");
  4839. entity.Property(e => e.LimitCount).HasColumnType("int(11)");
  4840. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4841. entity.Property(e => e.Price).HasColumnType("decimal(18,2)");
  4842. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  4843. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4844. entity.Property(e => e.SeoDescription)
  4845. .HasColumnType("varchar(500)")
  4846. .HasCharSet("utf8")
  4847. .HasCollation("utf8_general_ci");
  4848. entity.Property(e => e.SeoKeyword)
  4849. .HasColumnType("varchar(200)")
  4850. .HasCharSet("utf8")
  4851. .HasCollation("utf8_general_ci");
  4852. entity.Property(e => e.SeoTitle)
  4853. .HasColumnType("varchar(100)")
  4854. .HasCharSet("utf8")
  4855. .HasCollation("utf8_general_ci");
  4856. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4857. entity.Property(e => e.Status).HasColumnType("int(11)");
  4858. entity.Property(e => e.Stock).HasColumnType("int(11)");
  4859. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4860. entity.Property(e => e.UpdateMan)
  4861. .HasColumnType("varchar(50)")
  4862. .HasCharSet("utf8")
  4863. .HasCollation("utf8_general_ci");
  4864. entity.Property(e => e.UserIntegral).HasColumnType("decimal(18,2)");
  4865. entity.Property(e => e.UserPrice).HasColumnType("decimal(18,2)");
  4866. entity.Property(e => e.Version).HasColumnType("int(11)");
  4867. });
  4868. modelBuilder.Entity<ProductNormItem>(entity =>
  4869. {
  4870. entity.Property(e => e.Id).HasColumnType("int(11)");
  4871. entity.Property(e => e.ColName)
  4872. .HasColumnType("varchar(50)")
  4873. .HasCharSet("utf8")
  4874. .HasCollation("utf8_general_ci");
  4875. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4876. entity.Property(e => e.CreateMan)
  4877. .HasColumnType("varchar(50)")
  4878. .HasCharSet("utf8")
  4879. .HasCollation("utf8_general_ci");
  4880. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4881. entity.Property(e => e.ParentId).HasColumnType("int(11)");
  4882. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  4883. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4884. entity.Property(e => e.SeoDescription)
  4885. .HasColumnType("varchar(500)")
  4886. .HasCharSet("utf8")
  4887. .HasCollation("utf8_general_ci");
  4888. entity.Property(e => e.SeoKeyword)
  4889. .HasColumnType("varchar(200)")
  4890. .HasCharSet("utf8")
  4891. .HasCollation("utf8_general_ci");
  4892. entity.Property(e => e.SeoTitle)
  4893. .HasColumnType("varchar(100)")
  4894. .HasCharSet("utf8")
  4895. .HasCollation("utf8_general_ci");
  4896. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4897. entity.Property(e => e.Status).HasColumnType("int(11)");
  4898. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4899. entity.Property(e => e.UpdateMan)
  4900. .HasColumnType("varchar(50)")
  4901. .HasCharSet("utf8")
  4902. .HasCollation("utf8_general_ci");
  4903. entity.Property(e => e.Version).HasColumnType("int(11)");
  4904. });
  4905. modelBuilder.Entity<ProductNormTemp>(entity =>
  4906. {
  4907. entity.Property(e => e.Id).HasColumnType("int(11)");
  4908. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4909. entity.Property(e => e.CreateMan)
  4910. .HasColumnType("varchar(50)")
  4911. .HasCharSet("utf8")
  4912. .HasCollation("utf8_general_ci");
  4913. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  4914. entity.Property(e => e.Name)
  4915. .HasColumnType("varchar(50)")
  4916. .HasCharSet("utf8")
  4917. .HasCollation("utf8_general_ci");
  4918. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  4919. entity.Property(e => e.SeoDescription)
  4920. .HasColumnType("varchar(500)")
  4921. .HasCharSet("utf8")
  4922. .HasCollation("utf8_general_ci");
  4923. entity.Property(e => e.SeoKeyword)
  4924. .HasColumnType("varchar(200)")
  4925. .HasCharSet("utf8")
  4926. .HasCollation("utf8_general_ci");
  4927. entity.Property(e => e.SeoTitle)
  4928. .HasColumnType("varchar(100)")
  4929. .HasCharSet("utf8")
  4930. .HasCollation("utf8_general_ci");
  4931. entity.Property(e => e.Sort).HasColumnType("int(11)");
  4932. entity.Property(e => e.Status).HasColumnType("int(11)");
  4933. entity.Property(e => e.TempJsonData)
  4934. .HasColumnType("longtext")
  4935. .HasCharSet("utf8")
  4936. .HasCollation("utf8_general_ci");
  4937. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  4938. entity.Property(e => e.UpdateMan)
  4939. .HasColumnType("varchar(50)")
  4940. .HasCharSet("utf8")
  4941. .HasCollation("utf8_general_ci");
  4942. entity.Property(e => e.Version).HasColumnType("int(11)");
  4943. });
  4944. modelBuilder.Entity<Products>(entity =>
  4945. {
  4946. entity.Property(e => e.Id).HasColumnType("int(11)");
  4947. entity.Property(e => e.BuyCount).HasColumnType("int(11)");
  4948. entity.Property(e => e.ColId)
  4949. .HasColumnType("varchar(30)")
  4950. .HasCharSet("utf8")
  4951. .HasCollation("utf8_general_ci");
  4952. entity.Property(e => e.CommentCount).HasColumnType("int(11)");
  4953. entity.Property(e => e.Contents)
  4954. .HasColumnType("longtext")
  4955. .HasCharSet("utf8")
  4956. .HasCollation("utf8_general_ci");
  4957. entity.Property(e => e.CostPrice).HasColumnType("decimal(18,2)");
  4958. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  4959. entity.Property(e => e.CreateMan)
  4960. .HasColumnType("varchar(50)")
  4961. .HasCharSet("utf8")
  4962. .HasCollation("utf8_general_ci");
  4963. entity.Property(e => e.DetailPicPath)
  4964. .HasColumnType("varchar(500)")
  4965. .HasCharSet("utf8")
  4966. .HasCollation("utf8_general_ci");
  4967. entity.Property(e => e.Details)
  4968. .HasColumnType("longtext")
  4969. .HasCharSet("utf8")
  4970. .HasCollation("utf8_general_ci");
  4971. entity.Property(e => e.EndDate).HasColumnType("datetime");
  4972. entity.Property(e => e.FareTemplateId).HasColumnType("int(11)");
  4973. entity.Property(e => e.GoodPercent).HasColumnType("decimal(18,2)");
  4974. entity.Property(e => e.Integral).HasColumnType("decimal(18,2)");
  4975. entity.Property(e => e.IsLimit)
  4976. .HasColumnType("bit(1)")
  4977. .HasDefaultValueSql("b'0'");
  4978. entity.Property(e => e.IsRecommend)
  4979. .HasColumnType("bit(1)")
  4980. .HasDefaultValueSql("b'0'");
  4981. entity.Property(e => e.IsRecommend2)
  4982. .HasColumnType("bit(1)")
  4983. .HasDefaultValueSql("b'0'");
  4984. entity.Property(e => e.IsRecommend3)
  4985. .HasColumnType("bit(1)")
  4986. .HasDefaultValueSql("b'0'");
  4987. entity.Property(e => e.KeyWord)
  4988. .HasColumnType("varchar(500)")
  4989. .HasCharSet("utf8")
  4990. .HasCollation("utf8_general_ci");
  4991. entity.Property(e => e.LimitCount).HasColumnType("int(11)");
  4992. entity.Property(e => e.LinkUrl)
  4993. .HasColumnType("varchar(500)")
  4994. .HasCharSet("utf8")
  4995. .HasCollation("utf8_general_ci");
  4996. entity.Property(e => e.ListPicPath)
  4997. .HasColumnType("varchar(200)")
  4998. .HasCharSet("utf8")
  4999. .HasCollation("utf8_general_ci");
  5000. entity.Property(e => e.MemberPrice).HasColumnType("decimal(18,2)");
  5001. entity.Property(e => e.MerchantClassId).HasColumnType("int(11)");
  5002. entity.Property(e => e.MerchantColId)
  5003. .HasColumnType("varchar(30)")
  5004. .HasCharSet("utf8")
  5005. .HasCollation("utf8_general_ci");
  5006. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  5007. entity.Property(e => e.MonthSale).HasColumnType("int(11)");
  5008. entity.Property(e => e.NormIds)
  5009. .HasColumnType("varchar(100)")
  5010. .HasCharSet("utf8")
  5011. .HasCollation("utf8_general_ci");
  5012. entity.Property(e => e.NormJson)
  5013. .HasColumnType("longtext")
  5014. .HasCharSet("utf8")
  5015. .HasCollation("utf8_general_ci");
  5016. entity.Property(e => e.Price).HasColumnType("decimal(18,2)");
  5017. entity.Property(e => e.ProductCode)
  5018. .HasColumnType("varchar(30)")
  5019. .HasCharSet("utf8")
  5020. .HasCollation("utf8_general_ci");
  5021. entity.Property(e => e.ProductName)
  5022. .HasColumnType("varchar(100)")
  5023. .HasCharSet("utf8")
  5024. .HasCollation("utf8_general_ci");
  5025. entity.Property(e => e.PublishDate).HasColumnType("datetime");
  5026. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5027. entity.Property(e => e.SeoDescription)
  5028. .HasColumnType("varchar(500)")
  5029. .HasCharSet("utf8")
  5030. .HasCollation("utf8_general_ci");
  5031. entity.Property(e => e.SeoKeyword)
  5032. .HasColumnType("varchar(200)")
  5033. .HasCharSet("utf8")
  5034. .HasCollation("utf8_general_ci");
  5035. entity.Property(e => e.SeoTitle)
  5036. .HasColumnType("varchar(100)")
  5037. .HasCharSet("utf8")
  5038. .HasCollation("utf8_general_ci");
  5039. entity.Property(e => e.ShareDetail)
  5040. .HasColumnType("varchar(200)")
  5041. .HasCharSet("utf8")
  5042. .HasCollation("utf8_general_ci");
  5043. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5044. entity.Property(e => e.SourcePrice).HasColumnType("decimal(18,2)");
  5045. entity.Property(e => e.StartDate).HasColumnType("datetime");
  5046. entity.Property(e => e.Status).HasColumnType("int(11)");
  5047. entity.Property(e => e.Stock).HasColumnType("int(11)");
  5048. entity.Property(e => e.Title)
  5049. .HasColumnType("varchar(50)")
  5050. .HasCharSet("utf8")
  5051. .HasCollation("utf8_general_ci");
  5052. entity.Property(e => e.Title2)
  5053. .HasColumnType("varchar(50)")
  5054. .HasCharSet("utf8")
  5055. .HasCollation("utf8_general_ci");
  5056. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5057. entity.Property(e => e.UpdateMan)
  5058. .HasColumnType("varchar(50)")
  5059. .HasCharSet("utf8")
  5060. .HasCollation("utf8_general_ci");
  5061. entity.Property(e => e.UserIntegral).HasColumnType("decimal(18,2)");
  5062. entity.Property(e => e.Version).HasColumnType("int(11)");
  5063. });
  5064. modelBuilder.Entity<ProfitObjectActivations>(entity =>
  5065. {
  5066. entity.Property(e => e.Id).HasColumnType("int(11)");
  5067. entity.Property(e => e.Code)
  5068. .HasColumnType("varchar(32)")
  5069. .HasCharSet("utf8")
  5070. .HasCollation("utf8_general_ci");
  5071. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5072. entity.Property(e => e.CreateMan)
  5073. .HasColumnType("varchar(50)")
  5074. .HasCharSet("utf8")
  5075. .HasCollation("utf8_general_ci");
  5076. entity.Property(e => e.EndDate).HasColumnType("datetime");
  5077. entity.Property(e => e.ExpiredNumber).HasColumnType("decimal(18,6)");
  5078. entity.Property(e => e.LimitCustomerDate).HasColumnType("datetime");
  5079. entity.Property(e => e.LimitDateKind).HasColumnType("int(11)");
  5080. entity.Property(e => e.LimitDateVal).HasColumnType("int(11)");
  5081. entity.Property(e => e.MachineCount).HasColumnType("int(11)");
  5082. entity.Property(e => e.ObjectId).HasColumnType("int(11)");
  5083. entity.Property(e => e.ProfitNumber).HasColumnType("decimal(18,6)");
  5084. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5085. entity.Property(e => e.SeoDescription)
  5086. .HasColumnType("varchar(500)")
  5087. .HasCharSet("utf8")
  5088. .HasCollation("utf8_general_ci");
  5089. entity.Property(e => e.SeoKeyword)
  5090. .HasColumnType("varchar(200)")
  5091. .HasCharSet("utf8")
  5092. .HasCollation("utf8_general_ci");
  5093. entity.Property(e => e.SeoTitle)
  5094. .HasColumnType("varchar(100)")
  5095. .HasCharSet("utf8")
  5096. .HasCollation("utf8_general_ci");
  5097. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5098. entity.Property(e => e.StartDate).HasColumnType("datetime");
  5099. entity.Property(e => e.Status).HasColumnType("int(11)");
  5100. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5101. entity.Property(e => e.UpdateMan)
  5102. .HasColumnType("varchar(50)")
  5103. .HasCharSet("utf8")
  5104. .HasCollation("utf8_general_ci");
  5105. entity.Property(e => e.Version).HasColumnType("int(11)");
  5106. });
  5107. modelBuilder.Entity<ProfitObjectContinueFloors>(entity =>
  5108. {
  5109. entity.Property(e => e.Id).HasColumnType("int(11)");
  5110. entity.Property(e => e.AddProfitVal).HasColumnType("decimal(18,6)");
  5111. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5112. entity.Property(e => e.CreateMan)
  5113. .HasColumnType("varchar(50)")
  5114. .HasCharSet("utf8")
  5115. .HasCollation("utf8_general_ci");
  5116. entity.Property(e => e.FloorNumber).HasColumnType("int(11)");
  5117. entity.Property(e => e.ObjectId).HasColumnType("int(11)");
  5118. entity.Property(e => e.Percents).HasColumnType("decimal(18,6)");
  5119. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5120. entity.Property(e => e.SeoDescription)
  5121. .HasColumnType("varchar(500)")
  5122. .HasCharSet("utf8")
  5123. .HasCollation("utf8_general_ci");
  5124. entity.Property(e => e.SeoKeyword)
  5125. .HasColumnType("varchar(200)")
  5126. .HasCharSet("utf8")
  5127. .HasCollation("utf8_general_ci");
  5128. entity.Property(e => e.SeoTitle)
  5129. .HasColumnType("varchar(100)")
  5130. .HasCharSet("utf8")
  5131. .HasCollation("utf8_general_ci");
  5132. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5133. entity.Property(e => e.Status).HasColumnType("int(11)");
  5134. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5135. entity.Property(e => e.UpdateMan)
  5136. .HasColumnType("varchar(50)")
  5137. .HasCharSet("utf8")
  5138. .HasCollation("utf8_general_ci");
  5139. entity.Property(e => e.Version).HasColumnType("int(11)");
  5140. });
  5141. modelBuilder.Entity<ProfitObjectFloors>(entity =>
  5142. {
  5143. entity.Property(e => e.Id).HasColumnType("int(11)");
  5144. entity.Property(e => e.AddProfitVal).HasColumnType("decimal(18,6)");
  5145. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5146. entity.Property(e => e.CreateMan)
  5147. .HasColumnType("varchar(50)")
  5148. .HasCharSet("utf8")
  5149. .HasCollation("utf8_general_ci");
  5150. entity.Property(e => e.FloorDiff)
  5151. .HasColumnType("bit(1)")
  5152. .HasDefaultValueSql("b'0'");
  5153. entity.Property(e => e.FloorNumber).HasColumnType("int(11)");
  5154. entity.Property(e => e.ObjectId).HasColumnType("int(11)");
  5155. entity.Property(e => e.Percents).HasColumnType("decimal(18,6)");
  5156. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5157. entity.Property(e => e.SeoDescription)
  5158. .HasColumnType("varchar(500)")
  5159. .HasCharSet("utf8")
  5160. .HasCollation("utf8_general_ci");
  5161. entity.Property(e => e.SeoKeyword)
  5162. .HasColumnType("varchar(200)")
  5163. .HasCharSet("utf8")
  5164. .HasCollation("utf8_general_ci");
  5165. entity.Property(e => e.SeoTitle)
  5166. .HasColumnType("varchar(100)")
  5167. .HasCharSet("utf8")
  5168. .HasCollation("utf8_general_ci");
  5169. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5170. entity.Property(e => e.Status).HasColumnType("int(11)");
  5171. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5172. entity.Property(e => e.UpdateMan)
  5173. .HasColumnType("varchar(50)")
  5174. .HasCharSet("utf8")
  5175. .HasCollation("utf8_general_ci");
  5176. entity.Property(e => e.Version).HasColumnType("int(11)");
  5177. });
  5178. modelBuilder.Entity<ProfitObjectLevelKinds>(entity =>
  5179. {
  5180. entity.Property(e => e.Id).HasColumnType("int(11)");
  5181. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5182. entity.Property(e => e.CreateMan)
  5183. .HasColumnType("varchar(50)")
  5184. .HasCharSet("utf8")
  5185. .HasCollation("utf8_general_ci");
  5186. entity.Property(e => e.Name)
  5187. .HasColumnType("varchar(50)")
  5188. .HasCharSet("utf8")
  5189. .HasCollation("utf8_general_ci");
  5190. entity.Property(e => e.ObjectId).HasColumnType("int(11)");
  5191. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5192. entity.Property(e => e.SeoDescription)
  5193. .HasColumnType("varchar(500)")
  5194. .HasCharSet("utf8")
  5195. .HasCollation("utf8_general_ci");
  5196. entity.Property(e => e.SeoKeyword)
  5197. .HasColumnType("varchar(200)")
  5198. .HasCharSet("utf8")
  5199. .HasCollation("utf8_general_ci");
  5200. entity.Property(e => e.SeoTitle)
  5201. .HasColumnType("varchar(100)")
  5202. .HasCharSet("utf8")
  5203. .HasCollation("utf8_general_ci");
  5204. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5205. entity.Property(e => e.Status).HasColumnType("int(11)");
  5206. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5207. entity.Property(e => e.UpdateMan)
  5208. .HasColumnType("varchar(50)")
  5209. .HasCharSet("utf8")
  5210. .HasCollation("utf8_general_ci");
  5211. entity.Property(e => e.Version).HasColumnType("int(11)");
  5212. });
  5213. modelBuilder.Entity<ProfitObjectLevels>(entity =>
  5214. {
  5215. entity.Property(e => e.Id).HasColumnType("int(11)");
  5216. entity.Property(e => e.AddProfitVal).HasColumnType("decimal(18,6)");
  5217. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5218. entity.Property(e => e.CreateMan)
  5219. .HasColumnType("varchar(50)")
  5220. .HasCharSet("utf8")
  5221. .HasCollation("utf8_general_ci");
  5222. entity.Property(e => e.DebitAddProfitVal).HasColumnType("decimal(18,2)");
  5223. entity.Property(e => e.DebitPercents).HasColumnType("decimal(18,2)");
  5224. entity.Property(e => e.KindId).HasColumnType("int(11)");
  5225. entity.Property(e => e.LevelDiff)
  5226. .HasColumnType("bit(1)")
  5227. .HasDefaultValueSql("b'0'");
  5228. entity.Property(e => e.LevelNumber).HasColumnType("int(11)");
  5229. entity.Property(e => e.Name)
  5230. .HasColumnType("varchar(50)")
  5231. .HasCharSet("utf8")
  5232. .HasCollation("utf8_general_ci");
  5233. entity.Property(e => e.Percents).HasColumnType("decimal(18,6)");
  5234. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5235. entity.Property(e => e.SeoDescription)
  5236. .HasColumnType("varchar(500)")
  5237. .HasCharSet("utf8")
  5238. .HasCollation("utf8_general_ci");
  5239. entity.Property(e => e.SeoKeyword)
  5240. .HasColumnType("varchar(200)")
  5241. .HasCharSet("utf8")
  5242. .HasCollation("utf8_general_ci");
  5243. entity.Property(e => e.SeoTitle)
  5244. .HasColumnType("varchar(100)")
  5245. .HasCharSet("utf8")
  5246. .HasCollation("utf8_general_ci");
  5247. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5248. entity.Property(e => e.Status).HasColumnType("int(11)");
  5249. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5250. entity.Property(e => e.UpdateMan)
  5251. .HasColumnType("varchar(50)")
  5252. .HasCharSet("utf8")
  5253. .HasCollation("utf8_general_ci");
  5254. entity.Property(e => e.Version).HasColumnType("int(11)");
  5255. });
  5256. modelBuilder.Entity<ProfitObjects>(entity =>
  5257. {
  5258. entity.Property(e => e.Id).HasColumnType("int(11)");
  5259. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5260. entity.Property(e => e.CreateMan)
  5261. .HasColumnType("varchar(50)")
  5262. .HasCharSet("utf8")
  5263. .HasCollation("utf8_general_ci");
  5264. entity.Property(e => e.EndDate).HasColumnType("datetime");
  5265. entity.Property(e => e.MaxFloor).HasColumnType("int(11)");
  5266. entity.Property(e => e.MaxLevel).HasColumnType("int(11)");
  5267. entity.Property(e => e.MaxLevelContinue)
  5268. .HasColumnType("bit(1)")
  5269. .HasDefaultValueSql("b'0'");
  5270. entity.Property(e => e.MinProfitVal).HasColumnType("decimal(18,5)");
  5271. entity.Property(e => e.Name)
  5272. .HasColumnType("varchar(50)")
  5273. .HasCharSet("utf8")
  5274. .HasCollation("utf8_general_ci");
  5275. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5276. entity.Property(e => e.SeoDescription)
  5277. .HasColumnType("varchar(500)")
  5278. .HasCharSet("utf8")
  5279. .HasCollation("utf8_general_ci");
  5280. entity.Property(e => e.SeoKeyword)
  5281. .HasColumnType("varchar(200)")
  5282. .HasCharSet("utf8")
  5283. .HasCollation("utf8_general_ci");
  5284. entity.Property(e => e.SeoTitle)
  5285. .HasColumnType("varchar(100)")
  5286. .HasCharSet("utf8")
  5287. .HasCollation("utf8_general_ci");
  5288. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5289. entity.Property(e => e.StartDate).HasColumnType("datetime");
  5290. entity.Property(e => e.Status).HasColumnType("int(11)");
  5291. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5292. entity.Property(e => e.UpdateMan)
  5293. .HasColumnType("varchar(50)")
  5294. .HasCharSet("utf8")
  5295. .HasCollation("utf8_general_ci");
  5296. entity.Property(e => e.Version).HasColumnType("int(11)");
  5297. });
  5298. modelBuilder.Entity<ProfitObjectsActiveCheck>(entity =>
  5299. {
  5300. entity.HasKey(e => e.CheckData)
  5301. .HasName("PRIMARY");
  5302. entity.Property(e => e.CheckData)
  5303. .HasColumnType("varchar(100)")
  5304. .HasCharSet("utf8")
  5305. .HasCollation("utf8_general_ci");
  5306. });
  5307. modelBuilder.Entity<ProfitObjectsActiveParams>(entity =>
  5308. {
  5309. entity.Property(e => e.Id).HasColumnType("int(11)");
  5310. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5311. entity.Property(e => e.CreateMan)
  5312. .HasColumnType("varchar(50)")
  5313. .HasCharSet("utf8")
  5314. .HasCollation("utf8_general_ci");
  5315. entity.Property(e => e.Name)
  5316. .HasColumnType("varchar(50)")
  5317. .HasCharSet("utf8")
  5318. .HasCollation("utf8_general_ci");
  5319. entity.Property(e => e.ProfitObjectsActiveId).HasColumnType("int(11)");
  5320. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5321. entity.Property(e => e.Remark)
  5322. .HasColumnType("varchar(200)")
  5323. .HasCharSet("utf8")
  5324. .HasCollation("utf8_general_ci");
  5325. entity.Property(e => e.SeoDescription)
  5326. .HasColumnType("varchar(500)")
  5327. .HasCharSet("utf8")
  5328. .HasCollation("utf8_general_ci");
  5329. entity.Property(e => e.SeoKeyword)
  5330. .HasColumnType("varchar(200)")
  5331. .HasCharSet("utf8")
  5332. .HasCollation("utf8_general_ci");
  5333. entity.Property(e => e.SeoTitle)
  5334. .HasColumnType("varchar(100)")
  5335. .HasCharSet("utf8")
  5336. .HasCollation("utf8_general_ci");
  5337. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5338. entity.Property(e => e.Status).HasColumnType("int(11)");
  5339. entity.Property(e => e.TextValue)
  5340. .HasColumnType("varchar(20)")
  5341. .HasCharSet("utf8")
  5342. .HasCollation("utf8_general_ci");
  5343. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5344. entity.Property(e => e.UpdateMan)
  5345. .HasColumnType("varchar(50)")
  5346. .HasCharSet("utf8")
  5347. .HasCollation("utf8_general_ci");
  5348. entity.Property(e => e.Version).HasColumnType("int(11)");
  5349. });
  5350. modelBuilder.Entity<ProfitObjectsActives>(entity =>
  5351. {
  5352. entity.Property(e => e.Id).HasColumnType("int(11)");
  5353. entity.Property(e => e.CardType).HasColumnType("int(11)");
  5354. entity.Property(e => e.Code)
  5355. .HasColumnType("varchar(50)")
  5356. .HasCharSet("utf8")
  5357. .HasCollation("utf8_general_ci");
  5358. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5359. entity.Property(e => e.CreateMan)
  5360. .HasColumnType("varchar(50)")
  5361. .HasCharSet("utf8")
  5362. .HasCollation("utf8_general_ci");
  5363. entity.Property(e => e.EndDate).HasColumnType("datetime");
  5364. entity.Property(e => e.FinishNumber).HasColumnType("decimal(18,6)");
  5365. entity.Property(e => e.LimitCustomerDate).HasColumnType("datetime");
  5366. entity.Property(e => e.LimitDateKind).HasColumnType("int(11)");
  5367. entity.Property(e => e.LimitDateVal).HasColumnType("int(11)");
  5368. entity.Property(e => e.MachineCount).HasColumnType("int(11)");
  5369. entity.Property(e => e.Name)
  5370. .HasColumnType("varchar(50)")
  5371. .HasCharSet("utf8")
  5372. .HasCollation("utf8_general_ci");
  5373. entity.Property(e => e.ObjectId).HasColumnType("int(11)");
  5374. entity.Property(e => e.ProfitNumber).HasColumnType("decimal(18,6)");
  5375. entity.Property(e => e.ProfitNumber2).HasColumnType("decimal(18,2)");
  5376. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5377. entity.Property(e => e.SeoDescription)
  5378. .HasColumnType("varchar(500)")
  5379. .HasCharSet("utf8")
  5380. .HasCollation("utf8_general_ci");
  5381. entity.Property(e => e.SeoKeyword)
  5382. .HasColumnType("varchar(200)")
  5383. .HasCharSet("utf8")
  5384. .HasCollation("utf8_general_ci");
  5385. entity.Property(e => e.SeoTitle)
  5386. .HasColumnType("varchar(100)")
  5387. .HasCharSet("utf8")
  5388. .HasCollation("utf8_general_ci");
  5389. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5390. entity.Property(e => e.StartDate).HasColumnType("datetime");
  5391. entity.Property(e => e.Status).HasColumnType("int(11)");
  5392. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5393. entity.Property(e => e.UpdateMan)
  5394. .HasColumnType("varchar(50)")
  5395. .HasCharSet("utf8")
  5396. .HasCollation("utf8_general_ci");
  5397. entity.Property(e => e.Version).HasColumnType("int(11)");
  5398. });
  5399. modelBuilder.Entity<ProfitObjectsActivesForId>(entity =>
  5400. {
  5401. entity.HasKey(e => e.Name)
  5402. .HasName("PRIMARY");
  5403. entity.Property(e => e.Name)
  5404. .HasColumnType("varchar(50)")
  5405. .HasCharSet("utf8")
  5406. .HasCollation("utf8_general_ci");
  5407. entity.Property(e => e.ActivityId).HasColumnType("int(11)");
  5408. });
  5409. modelBuilder.Entity<ProfitObjectsRule>(entity =>
  5410. {
  5411. entity.Property(e => e.Id).HasColumnType("int(11)");
  5412. entity.Property(e => e.Code)
  5413. .HasColumnType("varchar(50)")
  5414. .HasCharSet("utf8")
  5415. .HasCollation("utf8_general_ci");
  5416. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5417. entity.Property(e => e.CreateMan)
  5418. .HasColumnType("varchar(50)")
  5419. .HasCharSet("utf8")
  5420. .HasCollation("utf8_general_ci");
  5421. entity.Property(e => e.EndDate).HasColumnType("datetime");
  5422. entity.Property(e => e.Name)
  5423. .HasColumnType("varchar(50)")
  5424. .HasCharSet("utf8")
  5425. .HasCollation("utf8_general_ci");
  5426. entity.Property(e => e.ObjectId).HasColumnType("int(11)");
  5427. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5428. entity.Property(e => e.SeoDescription)
  5429. .HasColumnType("varchar(500)")
  5430. .HasCharSet("utf8")
  5431. .HasCollation("utf8_general_ci");
  5432. entity.Property(e => e.SeoKeyword)
  5433. .HasColumnType("varchar(200)")
  5434. .HasCharSet("utf8")
  5435. .HasCollation("utf8_general_ci");
  5436. entity.Property(e => e.SeoTitle)
  5437. .HasColumnType("varchar(100)")
  5438. .HasCharSet("utf8")
  5439. .HasCollation("utf8_general_ci");
  5440. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5441. entity.Property(e => e.StartDate).HasColumnType("datetime");
  5442. entity.Property(e => e.Status).HasColumnType("int(11)");
  5443. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5444. entity.Property(e => e.UpdateMan)
  5445. .HasColumnType("varchar(50)")
  5446. .HasCharSet("utf8")
  5447. .HasCollation("utf8_general_ci");
  5448. entity.Property(e => e.Version).HasColumnType("int(11)");
  5449. });
  5450. modelBuilder.Entity<ProfitObjectsRuleDetails>(entity =>
  5451. {
  5452. entity.Property(e => e.Id).HasColumnType("int(11)");
  5453. entity.Property(e => e.Code)
  5454. .HasColumnType("varchar(50)")
  5455. .HasCharSet("utf8")
  5456. .HasCollation("utf8_general_ci");
  5457. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5458. entity.Property(e => e.CreateMan)
  5459. .HasColumnType("varchar(50)")
  5460. .HasCharSet("utf8")
  5461. .HasCollation("utf8_general_ci");
  5462. entity.Property(e => e.DataValue)
  5463. .HasColumnType("varchar(50)")
  5464. .HasCharSet("utf8")
  5465. .HasCollation("utf8_general_ci");
  5466. entity.Property(e => e.Name)
  5467. .HasColumnType("varchar(50)")
  5468. .HasCharSet("utf8")
  5469. .HasCollation("utf8_general_ci");
  5470. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5471. entity.Property(e => e.RuleId).HasColumnType("int(11)");
  5472. entity.Property(e => e.SeoDescription)
  5473. .HasColumnType("varchar(500)")
  5474. .HasCharSet("utf8")
  5475. .HasCollation("utf8_general_ci");
  5476. entity.Property(e => e.SeoKeyword)
  5477. .HasColumnType("varchar(200)")
  5478. .HasCharSet("utf8")
  5479. .HasCollation("utf8_general_ci");
  5480. entity.Property(e => e.SeoTitle)
  5481. .HasColumnType("varchar(100)")
  5482. .HasCharSet("utf8")
  5483. .HasCollation("utf8_general_ci");
  5484. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5485. entity.Property(e => e.Status).HasColumnType("int(11)");
  5486. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5487. entity.Property(e => e.UpdateMan)
  5488. .HasColumnType("varchar(50)")
  5489. .HasCharSet("utf8")
  5490. .HasCollation("utf8_general_ci");
  5491. entity.Property(e => e.Version).HasColumnType("int(11)");
  5492. });
  5493. modelBuilder.Entity<ProfitReceiveRecord>(entity =>
  5494. {
  5495. entity.Property(e => e.Id).HasColumnType("int(11)");
  5496. entity.Property(e => e.Account)
  5497. .HasColumnType("varchar(32)")
  5498. .HasCharSet("utf8")
  5499. .HasCollation("utf8_general_ci");
  5500. entity.Property(e => e.Amount).HasColumnType("decimal(18,2)");
  5501. entity.Property(e => e.AppId)
  5502. .HasColumnType("varchar(32)")
  5503. .HasCharSet("utf8")
  5504. .HasCollation("utf8_general_ci");
  5505. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5506. entity.Property(e => e.CreateMan)
  5507. .HasColumnType("varchar(50)")
  5508. .HasCharSet("utf8")
  5509. .HasCollation("utf8_general_ci");
  5510. entity.Property(e => e.CustomRelation)
  5511. .HasColumnType("varchar(10)")
  5512. .HasCharSet("utf8")
  5513. .HasCollation("utf8_general_ci");
  5514. entity.Property(e => e.Description)
  5515. .HasColumnType("varchar(50)")
  5516. .HasCharSet("utf8")
  5517. .HasCollation("utf8_general_ci");
  5518. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  5519. entity.Property(e => e.Name)
  5520. .HasColumnType("varchar(32)")
  5521. .HasCharSet("utf8")
  5522. .HasCollation("utf8_general_ci");
  5523. entity.Property(e => e.OrderId)
  5524. .HasColumnType("varchar(32)")
  5525. .HasCharSet("utf8")
  5526. .HasCollation("utf8_general_ci");
  5527. entity.Property(e => e.OutOrderNo)
  5528. .HasColumnType("varchar(32)")
  5529. .HasCharSet("utf8")
  5530. .HasCollation("utf8_general_ci");
  5531. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5532. entity.Property(e => e.RelationType)
  5533. .HasColumnType("varchar(30)")
  5534. .HasCharSet("utf8")
  5535. .HasCollation("utf8_general_ci");
  5536. entity.Property(e => e.SeoDescription)
  5537. .HasColumnType("varchar(500)")
  5538. .HasCharSet("utf8")
  5539. .HasCollation("utf8_general_ci");
  5540. entity.Property(e => e.SeoKeyword)
  5541. .HasColumnType("varchar(200)")
  5542. .HasCharSet("utf8")
  5543. .HasCollation("utf8_general_ci");
  5544. entity.Property(e => e.SeoTitle)
  5545. .HasColumnType("varchar(100)")
  5546. .HasCharSet("utf8")
  5547. .HasCollation("utf8_general_ci");
  5548. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5549. entity.Property(e => e.State)
  5550. .HasColumnType("varchar(20)")
  5551. .HasCharSet("utf8")
  5552. .HasCollation("utf8_general_ci");
  5553. entity.Property(e => e.Status).HasColumnType("int(11)");
  5554. entity.Property(e => e.SubAppId)
  5555. .HasColumnType("varchar(32)")
  5556. .HasCharSet("utf8")
  5557. .HasCollation("utf8_general_ci");
  5558. entity.Property(e => e.SubMchid)
  5559. .HasColumnType("varchar(32)")
  5560. .HasCharSet("utf8")
  5561. .HasCollation("utf8_general_ci");
  5562. entity.Property(e => e.TransactionId)
  5563. .HasColumnType("varchar(32)")
  5564. .HasCharSet("utf8")
  5565. .HasCollation("utf8_general_ci");
  5566. entity.Property(e => e.Type)
  5567. .HasColumnType("varchar(30)")
  5568. .HasCharSet("utf8")
  5569. .HasCollation("utf8_general_ci");
  5570. entity.Property(e => e.UnfreezeUnsplit)
  5571. .HasColumnType("bit(1)")
  5572. .HasDefaultValueSql("b'0'");
  5573. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5574. entity.Property(e => e.UpdateMan)
  5575. .HasColumnType("varchar(50)")
  5576. .HasCharSet("utf8")
  5577. .HasCollation("utf8_general_ci");
  5578. entity.Property(e => e.Version).HasColumnType("int(11)");
  5579. });
  5580. modelBuilder.Entity<ProfitReceives>(entity =>
  5581. {
  5582. entity.Property(e => e.Id).HasColumnType("int(11)");
  5583. entity.Property(e => e.Account)
  5584. .HasColumnType("varchar(32)")
  5585. .HasCharSet("utf8")
  5586. .HasCollation("utf8_general_ci");
  5587. entity.Property(e => e.AppId)
  5588. .HasColumnType("varchar(32)")
  5589. .HasCharSet("utf8")
  5590. .HasCollation("utf8_general_ci");
  5591. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5592. entity.Property(e => e.CreateMan)
  5593. .HasColumnType("varchar(50)")
  5594. .HasCharSet("utf8")
  5595. .HasCollation("utf8_general_ci");
  5596. entity.Property(e => e.CustomRelation)
  5597. .HasColumnType("varchar(10)")
  5598. .HasCharSet("utf8")
  5599. .HasCollation("utf8_general_ci");
  5600. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  5601. entity.Property(e => e.Name)
  5602. .HasColumnType("varchar(32)")
  5603. .HasCharSet("utf8")
  5604. .HasCollation("utf8_general_ci");
  5605. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5606. entity.Property(e => e.RelationType)
  5607. .HasColumnType("varchar(30)")
  5608. .HasCharSet("utf8")
  5609. .HasCollation("utf8_general_ci");
  5610. entity.Property(e => e.SeoDescription)
  5611. .HasColumnType("varchar(500)")
  5612. .HasCharSet("utf8")
  5613. .HasCollation("utf8_general_ci");
  5614. entity.Property(e => e.SeoKeyword)
  5615. .HasColumnType("varchar(200)")
  5616. .HasCharSet("utf8")
  5617. .HasCollation("utf8_general_ci");
  5618. entity.Property(e => e.SeoTitle)
  5619. .HasColumnType("varchar(100)")
  5620. .HasCharSet("utf8")
  5621. .HasCollation("utf8_general_ci");
  5622. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5623. entity.Property(e => e.Status).HasColumnType("int(11)");
  5624. entity.Property(e => e.SubAppId)
  5625. .HasColumnType("varchar(32)")
  5626. .HasCharSet("utf8")
  5627. .HasCollation("utf8_general_ci");
  5628. entity.Property(e => e.SubMchid)
  5629. .HasColumnType("varchar(32)")
  5630. .HasCharSet("utf8")
  5631. .HasCollation("utf8_general_ci");
  5632. entity.Property(e => e.Type)
  5633. .HasColumnType("varchar(30)")
  5634. .HasCharSet("utf8")
  5635. .HasCollation("utf8_general_ci");
  5636. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5637. entity.Property(e => e.UpdateMan)
  5638. .HasColumnType("varchar(50)")
  5639. .HasCharSet("utf8")
  5640. .HasCollation("utf8_general_ci");
  5641. entity.Property(e => e.Version).HasColumnType("int(11)");
  5642. });
  5643. modelBuilder.Entity<ProfitRecord>(entity =>
  5644. {
  5645. entity.Property(e => e.Id).HasColumnType("int(11)");
  5646. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  5647. entity.Property(e => e.CapFlag).HasColumnType("int(11)");
  5648. entity.Property(e => e.ClearDate).HasColumnType("datetime");
  5649. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5650. entity.Property(e => e.CreateMan)
  5651. .HasColumnType("varchar(50)")
  5652. .HasCharSet("utf8")
  5653. .HasCollation("utf8_general_ci");
  5654. entity.Property(e => e.DirectFlag)
  5655. .HasColumnType("bit(1)")
  5656. .HasDefaultValueSql("b'0'");
  5657. entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)");
  5658. entity.Property(e => e.MerBuddyType).HasColumnType("int(11)");
  5659. entity.Property(e => e.MerHelpFlag)
  5660. .HasColumnType("bit(1)")
  5661. .HasDefaultValueSql("b'0'");
  5662. entity.Property(e => e.MerNo)
  5663. .HasColumnType("varchar(32)")
  5664. .HasCharSet("utf8")
  5665. .HasCollation("utf8_general_ci");
  5666. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  5667. entity.Property(e => e.ParentNav)
  5668. .HasColumnType("varchar(1000)")
  5669. .HasCharSet("utf8")
  5670. .HasCollation("utf8_general_ci");
  5671. entity.Property(e => e.ProfitAmount).HasColumnType("decimal(18,2)");
  5672. entity.Property(e => e.QrPayFlag).HasColumnType("int(11)");
  5673. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5674. entity.Property(e => e.Remark)
  5675. .HasColumnType("varchar(64)")
  5676. .HasCharSet("utf8")
  5677. .HasCollation("utf8_general_ci");
  5678. entity.Property(e => e.SeoDescription)
  5679. .HasColumnType("varchar(500)")
  5680. .HasCharSet("utf8")
  5681. .HasCollation("utf8_general_ci");
  5682. entity.Property(e => e.SeoKeyword)
  5683. .HasColumnType("varchar(200)")
  5684. .HasCharSet("utf8")
  5685. .HasCollation("utf8_general_ci");
  5686. entity.Property(e => e.SeoTitle)
  5687. .HasColumnType("varchar(100)")
  5688. .HasCharSet("utf8")
  5689. .HasCollation("utf8_general_ci");
  5690. entity.Property(e => e.SnNo)
  5691. .HasColumnType("varchar(32)")
  5692. .HasCharSet("utf8")
  5693. .HasCollation("utf8_general_ci");
  5694. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5695. entity.Property(e => e.Status).HasColumnType("int(11)");
  5696. entity.Property(e => e.TradeDate).HasColumnType("datetime");
  5697. entity.Property(e => e.TradeId).HasColumnType("int(11)");
  5698. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5699. entity.Property(e => e.UpdateMan)
  5700. .HasColumnType("varchar(50)")
  5701. .HasCharSet("utf8")
  5702. .HasCollation("utf8_general_ci");
  5703. entity.Property(e => e.UserId).HasColumnType("int(11)");
  5704. entity.Property(e => e.Version).HasColumnType("int(11)");
  5705. });
  5706. modelBuilder.Entity<ProfitRewardRecord>(entity =>
  5707. {
  5708. entity.Property(e => e.Id).HasColumnType("int(11)");
  5709. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  5710. entity.Property(e => e.CheckStatus).HasColumnType("int(11)");
  5711. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5712. entity.Property(e => e.CreateMan)
  5713. .HasColumnType("varchar(50)")
  5714. .HasCharSet("utf8")
  5715. .HasCollation("utf8_general_ci");
  5716. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  5717. entity.Property(e => e.CreditTradeProfit).HasColumnType("decimal(18,2)");
  5718. entity.Property(e => e.DebitCapSingleReward).HasColumnType("decimal(18,2)");
  5719. entity.Property(e => e.DebitCapTradeAmt).HasColumnType("decimal(18,2)");
  5720. entity.Property(e => e.DebitCapTradeNum).HasColumnType("int(11)");
  5721. entity.Property(e => e.DebitNonCapTradeAmt).HasColumnType("decimal(18,2)");
  5722. entity.Property(e => e.DebitNonTradeCapProfit).HasColumnType("decimal(18,2)");
  5723. entity.Property(e => e.DebitTradeCapProfit).HasColumnType("decimal(18,2)");
  5724. entity.Property(e => e.HelpCreditAddOrSubRate).HasColumnType("decimal(18,2)");
  5725. entity.Property(e => e.HelpCreditProfitRate).HasColumnType("decimal(18,2)");
  5726. entity.Property(e => e.HelpCreditProfitStandardRate).HasColumnType("decimal(18,2)");
  5727. entity.Property(e => e.HelpCreditTradeAmt).HasColumnType("decimal(18,2)");
  5728. entity.Property(e => e.HelpCreditTradeProfit).HasColumnType("decimal(18,2)");
  5729. entity.Property(e => e.HelpDebitAddOrSubRate).HasColumnType("decimal(18,2)");
  5730. entity.Property(e => e.HelpDebitNonCapTradeAmt).HasColumnType("decimal(18,2)");
  5731. entity.Property(e => e.HelpDebitNonTradeCapProfit).HasColumnType("decimal(18,2)");
  5732. entity.Property(e => e.HelpDebitProfitRate).HasColumnType("decimal(18,2)");
  5733. entity.Property(e => e.HelpDebitProfitStandardRate).HasColumnType("decimal(18,2)");
  5734. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  5735. entity.Property(e => e.NonQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  5736. entity.Property(e => e.NonQrCreditTradeProfit).HasColumnType("decimal(18,2)");
  5737. entity.Property(e => e.NonQrDebitNonTradeCapProfit).HasColumnType("decimal(18,2)");
  5738. entity.Property(e => e.NonQrDebitNotCapTradeAmt).HasColumnType("decimal(18,2)");
  5739. entity.Property(e => e.NotHelpCreditAddOrSubRate).HasColumnType("decimal(18,2)");
  5740. entity.Property(e => e.NotHelpCreditProfitRate).HasColumnType("decimal(18,2)");
  5741. entity.Property(e => e.NotHelpCreditProfitStandardRate).HasColumnType("decimal(18,2)");
  5742. entity.Property(e => e.NotHelpCreditTradeAmt).HasColumnType("decimal(18,2)");
  5743. entity.Property(e => e.NotHelpCreditTradeProfit).HasColumnType("decimal(18,2)");
  5744. entity.Property(e => e.NotHelpDebitAddOrSubRate).HasColumnType("decimal(18,2)");
  5745. entity.Property(e => e.NotHelpDebitNonCapTradeAmt).HasColumnType("decimal(18,2)");
  5746. entity.Property(e => e.NotHelpDebitNonTradeCapProfit).HasColumnType("decimal(18,2)");
  5747. entity.Property(e => e.NotHelpDebitProfitRate).HasColumnType("decimal(18,2)");
  5748. entity.Property(e => e.NotHelpDebitProfitStandardRate).HasColumnType("decimal(18,2)");
  5749. entity.Property(e => e.OtherCreditTradeAmt).HasColumnType("decimal(18,2)");
  5750. entity.Property(e => e.OtherDebitNotCapTradeAmt).HasColumnType("decimal(18,2)");
  5751. entity.Property(e => e.OtherTradeAmt).HasColumnType("decimal(18,2)");
  5752. entity.Property(e => e.ProfitType).HasColumnType("int(11)");
  5753. entity.Property(e => e.QrCreditAddOrSubRate).HasColumnType("decimal(18,2)");
  5754. entity.Property(e => e.QrCreditProfitRate).HasColumnType("decimal(18,2)");
  5755. entity.Property(e => e.QrCreditProfitStandardRate).HasColumnType("decimal(18,2)");
  5756. entity.Property(e => e.QrCreditTradeAmt).HasColumnType("decimal(18,2)");
  5757. entity.Property(e => e.QrCreditTradeProfit).HasColumnType("decimal(18,2)");
  5758. entity.Property(e => e.QrDebitAddOrSubRate).HasColumnType("decimal(18,2)");
  5759. entity.Property(e => e.QrDebitNonTradeCapProfit).HasColumnType("decimal(18,2)");
  5760. entity.Property(e => e.QrDebitNotCapTradeAmt).HasColumnType("decimal(18,2)");
  5761. entity.Property(e => e.QrDebitProfitRate).HasColumnType("decimal(18,2)");
  5762. entity.Property(e => e.QrDebitProfitStandardRate).HasColumnType("decimal(18,2)");
  5763. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5764. entity.Property(e => e.RecordNo)
  5765. .HasColumnType("varchar(32)")
  5766. .HasCharSet("utf8")
  5767. .HasCollation("utf8_general_ci");
  5768. entity.Property(e => e.Remark)
  5769. .HasColumnType("varchar(64)")
  5770. .HasCharSet("utf8")
  5771. .HasCollation("utf8_general_ci");
  5772. entity.Property(e => e.SeoDescription)
  5773. .HasColumnType("varchar(500)")
  5774. .HasCharSet("utf8")
  5775. .HasCollation("utf8_general_ci");
  5776. entity.Property(e => e.SeoKeyword)
  5777. .HasColumnType("varchar(200)")
  5778. .HasCharSet("utf8")
  5779. .HasCollation("utf8_general_ci");
  5780. entity.Property(e => e.SeoTitle)
  5781. .HasColumnType("varchar(100)")
  5782. .HasCharSet("utf8")
  5783. .HasCollation("utf8_general_ci");
  5784. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5785. entity.Property(e => e.Status).HasColumnType("int(11)");
  5786. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  5787. entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)");
  5788. entity.Property(e => e.TradeMonth)
  5789. .HasColumnType("varchar(6)")
  5790. .HasCharSet("utf8")
  5791. .HasCollation("utf8_general_ci");
  5792. entity.Property(e => e.TradeProfit).HasColumnType("decimal(18,2)");
  5793. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5794. entity.Property(e => e.UpdateMan)
  5795. .HasColumnType("varchar(50)")
  5796. .HasCharSet("utf8")
  5797. .HasCollation("utf8_general_ci");
  5798. entity.Property(e => e.UserId).HasColumnType("int(11)");
  5799. entity.Property(e => e.Version).HasColumnType("int(11)");
  5800. });
  5801. modelBuilder.Entity<ProfitSubsidyDetail>(entity =>
  5802. {
  5803. entity.Property(e => e.Id).HasColumnType("int(11)");
  5804. entity.Property(e => e.BelongUserId).HasColumnType("int(11)");
  5805. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  5806. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  5807. entity.Property(e => e.CreateMan)
  5808. .HasColumnType("varchar(50)")
  5809. .HasCharSet("utf8")
  5810. .HasCollation("utf8_general_ci");
  5811. entity.Property(e => e.CreditProfitRate).HasColumnType("decimal(18,2)");
  5812. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  5813. entity.Property(e => e.MerHelpFlag)
  5814. .HasColumnType("bit(1)")
  5815. .HasDefaultValueSql("b'0'");
  5816. entity.Property(e => e.MerNo)
  5817. .HasColumnType("varchar(32)")
  5818. .HasCharSet("utf8")
  5819. .HasCollation("utf8_general_ci");
  5820. entity.Property(e => e.MerRegTime).HasColumnType("datetime");
  5821. entity.Property(e => e.MerStandardDate).HasColumnType("datetime");
  5822. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  5823. entity.Property(e => e.NonQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  5824. entity.Property(e => e.ProductName)
  5825. .HasColumnType("varchar(16)")
  5826. .HasCharSet("utf8")
  5827. .HasCollation("utf8_general_ci");
  5828. entity.Property(e => e.QrCreditTradeAmt).HasColumnType("decimal(18,2)");
  5829. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  5830. entity.Property(e => e.RecordNo)
  5831. .HasColumnType("varchar(32)")
  5832. .HasCharSet("utf8")
  5833. .HasCollation("utf8_general_ci");
  5834. entity.Property(e => e.Remark)
  5835. .HasColumnType("varchar(64)")
  5836. .HasCharSet("utf8")
  5837. .HasCollation("utf8_general_ci");
  5838. entity.Property(e => e.SeoDescription)
  5839. .HasColumnType("varchar(500)")
  5840. .HasCharSet("utf8")
  5841. .HasCollation("utf8_general_ci");
  5842. entity.Property(e => e.SeoKeyword)
  5843. .HasColumnType("varchar(200)")
  5844. .HasCharSet("utf8")
  5845. .HasCollation("utf8_general_ci");
  5846. entity.Property(e => e.SeoTitle)
  5847. .HasColumnType("varchar(100)")
  5848. .HasCharSet("utf8")
  5849. .HasCollation("utf8_general_ci");
  5850. entity.Property(e => e.SnNo)
  5851. .HasColumnType("varchar(32)")
  5852. .HasCharSet("utf8")
  5853. .HasCollation("utf8_general_ci");
  5854. entity.Property(e => e.Sort).HasColumnType("int(11)");
  5855. entity.Property(e => e.Status).HasColumnType("int(11)");
  5856. entity.Property(e => e.SubsidyProfit).HasColumnType("decimal(18,2)");
  5857. entity.Property(e => e.SubsidyProfitRate).HasColumnType("decimal(18,2)");
  5858. entity.Property(e => e.SubsidyType).HasColumnType("int(11)");
  5859. entity.Property(e => e.SubsidyUserId).HasColumnType("int(11)");
  5860. entity.Property(e => e.TradeMonth)
  5861. .HasColumnType("varchar(6)")
  5862. .HasCharSet("utf8")
  5863. .HasCollation("utf8_general_ci");
  5864. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  5865. entity.Property(e => e.UpdateMan)
  5866. .HasColumnType("varchar(50)")
  5867. .HasCharSet("utf8")
  5868. .HasCollation("utf8_general_ci");
  5869. entity.Property(e => e.Version).HasColumnType("int(11)");
  5870. });
  5871. modelBuilder.Entity<PublicAccountSet>(entity =>
  5872. {
  5873. entity.Property(e => e.Id).HasColumnType("int(11)");
  5874. entity.Property(e => e.AlipayAppId)
  5875. .HasColumnType("varchar(50)")
  5876. .HasCharSet("utf8")
  5877. .HasCollation("utf8_general_ci");
  5878. entity.Property(e => e.AlipayPartnerId)
  5879. .HasColumnType("varchar(50)")
  5880. .HasCharSet("utf8")
  5881. .HasCollation("utf8_general_ci");
  5882. entity.Property(e => e.AlipayPrivateKey)
  5883. .HasColumnType("mediumtext")
  5884. .HasCharSet("utf8")
  5885. .HasCollation("utf8_general_ci");
  5886. entity.Property(e => e.AlipayPublicKey)
  5887. .HasColumnType("mediumtext")
  5888. .HasCharSet("utf8")
  5889. .HasCollation("utf8_general_ci");
  5890. entity.Property(e => e.AliyunAccessKeyId)
  5891. .HasColumnType("varchar(50)")
  5892. .HasCharSet("utf8")
  5893. .HasCollation("utf8_general_ci");
  5894. entity.Property(e => e.AliyunAccessKeySecret)
  5895. .HasColumnType("varchar(50)")
  5896. .HasCharSet("utf8")
  5897. .HasCollation("utf8_general_ci");
  5898. entity.Property(e => e.AliyunAndroidActivity)
  5899. .HasColumnType("varchar(100)")
  5900. .HasCharSet("utf8")
  5901. .HasCollation("utf8_general_ci");
  5902. entity.Property(e => e.AliyunAndroidNotifyTitle)
  5903. .HasColumnType("varchar(20)")
  5904. .HasCharSet("utf8")
  5905. .HasCollation("utf8_general_ci");
  5906. entity.Property(e => e.AliyunPushAndroidAppId)
  5907. .HasColumnType("varchar(50)")
  5908. .HasCharSet("utf8")
  5909. .HasCollation("utf8_general_ci");
  5910. entity.Property(e => e.AliyunPushAndroidAppSecret)
  5911. .HasColumnType("varchar(50)")
  5912. .HasCharSet("utf8")
  5913. .HasCollation("utf8_general_ci");
  5914. entity.Property(e => e.AliyunPushIosAppId)
  5915. .HasColumnType("varchar(500)")
  5916. .HasCharSet("utf8")
  5917. .HasCollation("utf8_general_ci");
  5918. entity.Property(e => e.AliyunPushIosAppSecret)
  5919. .HasColumnType("varchar(50)")
  5920. .HasCharSet("utf8")
  5921. .HasCollation("utf8_general_ci");
  5922. entity.Property(e => e.AliyunRegionId)
  5923. .HasColumnType("varchar(30)")
  5924. .HasCharSet("utf8")
  5925. .HasCollation("utf8_general_ci");
  5926. entity.Property(e => e.ErpApiUrl)
  5927. .HasColumnType("varchar(200)")
  5928. .HasCharSet("utf8")
  5929. .HasCollation("utf8_general_ci");
  5930. entity.Property(e => e.ErpAppCode)
  5931. .HasColumnType("varchar(100)")
  5932. .HasCharSet("utf8")
  5933. .HasCollation("utf8_general_ci");
  5934. entity.Property(e => e.MeiQiaAppKey)
  5935. .HasColumnType("varchar(50)")
  5936. .HasCharSet("utf8")
  5937. .HasCollation("utf8_general_ci");
  5938. entity.Property(e => e.MobAppKey)
  5939. .HasColumnType("varchar(50)")
  5940. .HasCharSet("utf8")
  5941. .HasCollation("utf8_general_ci");
  5942. entity.Property(e => e.MobAppSecret)
  5943. .HasColumnType("varchar(50)")
  5944. .HasCharSet("utf8")
  5945. .HasCollation("utf8_general_ci");
  5946. entity.Property(e => e.QqAndroidAppId)
  5947. .HasColumnType("varchar(50)")
  5948. .HasCharSet("utf8")
  5949. .HasCollation("utf8_general_ci");
  5950. entity.Property(e => e.QqAndroidAppKey)
  5951. .HasColumnType("varchar(50)")
  5952. .HasCharSet("utf8")
  5953. .HasCollation("utf8_general_ci");
  5954. entity.Property(e => e.QqIosAppId)
  5955. .HasColumnType("varchar(50)")
  5956. .HasCharSet("utf8")
  5957. .HasCollation("utf8_general_ci");
  5958. entity.Property(e => e.QqIosAppKey)
  5959. .HasColumnType("varchar(50)")
  5960. .HasCharSet("utf8")
  5961. .HasCollation("utf8_general_ci");
  5962. entity.Property(e => e.ServerIp)
  5963. .HasColumnType("varchar(15)")
  5964. .HasCharSet("utf8")
  5965. .HasCollation("utf8_general_ci");
  5966. entity.Property(e => e.SmsApiDefaultTemplate)
  5967. .HasColumnType("varchar(200)")
  5968. .HasCharSet("utf8")
  5969. .HasCollation("utf8_general_ci");
  5970. entity.Property(e => e.SmsApiPwd)
  5971. .HasColumnType("varchar(50)")
  5972. .HasCharSet("utf8")
  5973. .HasCollation("utf8_general_ci");
  5974. entity.Property(e => e.SmsApiSign)
  5975. .HasColumnType("varchar(10)")
  5976. .HasCharSet("utf8")
  5977. .HasCollation("utf8_general_ci");
  5978. entity.Property(e => e.SmsApiUserId)
  5979. .HasColumnType("varchar(50)")
  5980. .HasCharSet("utf8")
  5981. .HasCollation("utf8_general_ci");
  5982. entity.Property(e => e.WeChatAppId)
  5983. .HasColumnType("varchar(50)")
  5984. .HasCharSet("utf8")
  5985. .HasCollation("utf8_general_ci");
  5986. entity.Property(e => e.WeChatAppSecret)
  5987. .HasColumnType("varchar(50)")
  5988. .HasCharSet("utf8")
  5989. .HasCollation("utf8_general_ci");
  5990. entity.Property(e => e.WeChatMchId)
  5991. .HasColumnType("varchar(20)")
  5992. .HasCharSet("utf8")
  5993. .HasCollation("utf8_general_ci");
  5994. entity.Property(e => e.WeChatMiniAppId)
  5995. .HasColumnType("varchar(50)")
  5996. .HasCharSet("utf8")
  5997. .HasCollation("utf8_general_ci");
  5998. entity.Property(e => e.WeChatMiniAppSecret)
  5999. .HasColumnType("varchar(50)")
  6000. .HasCharSet("utf8")
  6001. .HasCollation("utf8_general_ci");
  6002. entity.Property(e => e.WeChatOpenAppId)
  6003. .HasColumnType("varchar(50)")
  6004. .HasCharSet("utf8")
  6005. .HasCollation("utf8_general_ci");
  6006. entity.Property(e => e.WeChatOpenAppSecret)
  6007. .HasColumnType("varchar(50)")
  6008. .HasCharSet("utf8")
  6009. .HasCollation("utf8_general_ci");
  6010. entity.Property(e => e.WeChatPayKey)
  6011. .HasColumnType("varchar(50)")
  6012. .HasCharSet("utf8")
  6013. .HasCollation("utf8_general_ci");
  6014. });
  6015. modelBuilder.Entity<PullNewAct>(entity =>
  6016. {
  6017. entity.Property(e => e.Id).HasColumnType("int(11)");
  6018. entity.Property(e => e.ActEffectEndDate).HasColumnType("datetime");
  6019. entity.Property(e => e.ActEffectStartDate).HasColumnType("datetime");
  6020. entity.Property(e => e.ActStdCond)
  6021. .HasColumnType("varchar(32)")
  6022. .HasCharSet("utf8")
  6023. .HasCollation("utf8_general_ci");
  6024. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6025. entity.Property(e => e.CreateMan)
  6026. .HasColumnType("varchar(50)")
  6027. .HasCharSet("utf8")
  6028. .HasCollation("utf8_general_ci");
  6029. entity.Property(e => e.ProductName)
  6030. .HasColumnType("varchar(32)")
  6031. .HasCharSet("utf8")
  6032. .HasCollation("utf8_general_ci");
  6033. entity.Property(e => e.ProductType).HasColumnType("int(11)");
  6034. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6035. entity.Property(e => e.Remark)
  6036. .HasColumnType("varchar(128)")
  6037. .HasCharSet("utf8")
  6038. .HasCollation("utf8_general_ci");
  6039. entity.Property(e => e.SeoDescription)
  6040. .HasColumnType("varchar(500)")
  6041. .HasCharSet("utf8")
  6042. .HasCollation("utf8_general_ci");
  6043. entity.Property(e => e.SeoKeyword)
  6044. .HasColumnType("varchar(200)")
  6045. .HasCharSet("utf8")
  6046. .HasCollation("utf8_general_ci");
  6047. entity.Property(e => e.SeoTitle)
  6048. .HasColumnType("varchar(100)")
  6049. .HasCharSet("utf8")
  6050. .HasCollation("utf8_general_ci");
  6051. entity.Property(e => e.SnDelayDay).HasColumnType("int(11)");
  6052. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6053. entity.Property(e => e.Status).HasColumnType("int(11)");
  6054. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6055. entity.Property(e => e.UpdateMan)
  6056. .HasColumnType("varchar(50)")
  6057. .HasCharSet("utf8")
  6058. .HasCollation("utf8_general_ci");
  6059. entity.Property(e => e.Version).HasColumnType("int(11)");
  6060. });
  6061. modelBuilder.Entity<PullNewDetail>(entity =>
  6062. {
  6063. entity.Property(e => e.Id).HasColumnType("int(11)");
  6064. entity.Property(e => e.BizStatus).HasColumnType("int(11)");
  6065. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6066. entity.Property(e => e.CreateMan)
  6067. .HasColumnType("varchar(50)")
  6068. .HasCharSet("utf8")
  6069. .HasCollation("utf8_general_ci");
  6070. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6071. entity.Property(e => e.RecMallBrandId).HasColumnType("int(11)");
  6072. entity.Property(e => e.RecMallOrder)
  6073. .HasColumnType("varchar(32)")
  6074. .HasCharSet("utf8")
  6075. .HasCollation("utf8_general_ci");
  6076. entity.Property(e => e.RecMallOrderTime).HasColumnType("datetime");
  6077. entity.Property(e => e.RecMallProductName)
  6078. .HasColumnType("varchar(32)")
  6079. .HasCharSet("utf8")
  6080. .HasCollation("utf8_general_ci");
  6081. entity.Property(e => e.RecMallProductNum).HasColumnType("int(11)");
  6082. entity.Property(e => e.RecMallSendTime).HasColumnType("datetime");
  6083. entity.Property(e => e.RecUserId).HasColumnType("int(11)");
  6084. entity.Property(e => e.RecUserType).HasColumnType("int(11)");
  6085. entity.Property(e => e.RegDate).HasColumnType("datetime");
  6086. entity.Property(e => e.Remark)
  6087. .HasColumnType("varchar(64)")
  6088. .HasCharSet("utf8")
  6089. .HasCollation("utf8_general_ci");
  6090. entity.Property(e => e.RewardStatus).HasColumnType("int(11)");
  6091. entity.Property(e => e.SeoDescription)
  6092. .HasColumnType("varchar(500)")
  6093. .HasCharSet("utf8")
  6094. .HasCollation("utf8_general_ci");
  6095. entity.Property(e => e.SeoKeyword)
  6096. .HasColumnType("varchar(200)")
  6097. .HasCharSet("utf8")
  6098. .HasCollation("utf8_general_ci");
  6099. entity.Property(e => e.SeoTitle)
  6100. .HasColumnType("varchar(100)")
  6101. .HasCharSet("utf8")
  6102. .HasCollation("utf8_general_ci");
  6103. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6104. entity.Property(e => e.StatDate)
  6105. .HasColumnType("varchar(8)")
  6106. .HasCharSet("utf8")
  6107. .HasCollation("utf8_general_ci");
  6108. entity.Property(e => e.StatMonth)
  6109. .HasColumnType("varchar(6)")
  6110. .HasCharSet("utf8")
  6111. .HasCollation("utf8_general_ci");
  6112. entity.Property(e => e.StatType).HasColumnType("int(11)");
  6113. entity.Property(e => e.Status).HasColumnType("int(11)");
  6114. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6115. entity.Property(e => e.UpdateMan)
  6116. .HasColumnType("varchar(50)")
  6117. .HasCharSet("utf8")
  6118. .HasCollation("utf8_general_ci");
  6119. entity.Property(e => e.UserId).HasColumnType("int(11)");
  6120. entity.Property(e => e.Version).HasColumnType("int(11)");
  6121. });
  6122. modelBuilder.Entity<PullnewSummary>(entity =>
  6123. {
  6124. entity.Property(e => e.Id).HasColumnType("int(11)");
  6125. entity.Property(e => e.BizSnDelayDay).HasColumnType("int(11)");
  6126. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6127. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6128. entity.Property(e => e.CreateMan)
  6129. .HasColumnType("varchar(50)")
  6130. .HasCharSet("utf8")
  6131. .HasCollation("utf8_general_ci");
  6132. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6133. entity.Property(e => e.RecUserAuthNum).HasColumnType("int(11)");
  6134. entity.Property(e => e.RecUserDeliveryStdNum).HasColumnType("int(11)");
  6135. entity.Property(e => e.Remark)
  6136. .HasColumnType("varchar(64)")
  6137. .HasCharSet("utf8")
  6138. .HasCollation("utf8_general_ci");
  6139. entity.Property(e => e.RuleSnDelayDay).HasColumnType("int(11)");
  6140. entity.Property(e => e.SeoDescription)
  6141. .HasColumnType("varchar(500)")
  6142. .HasCharSet("utf8")
  6143. .HasCollation("utf8_general_ci");
  6144. entity.Property(e => e.SeoKeyword)
  6145. .HasColumnType("varchar(200)")
  6146. .HasCharSet("utf8")
  6147. .HasCollation("utf8_general_ci");
  6148. entity.Property(e => e.SeoTitle)
  6149. .HasColumnType("varchar(100)")
  6150. .HasCharSet("utf8")
  6151. .HasCollation("utf8_general_ci");
  6152. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6153. entity.Property(e => e.StatDate)
  6154. .HasColumnType("varchar(8)")
  6155. .HasCharSet("utf8")
  6156. .HasCollation("utf8_general_ci");
  6157. entity.Property(e => e.StatMonth)
  6158. .HasColumnType("varchar(6)")
  6159. .HasCharSet("utf8")
  6160. .HasCollation("utf8_general_ci");
  6161. entity.Property(e => e.Status).HasColumnType("int(11)");
  6162. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6163. entity.Property(e => e.UpdateMan)
  6164. .HasColumnType("varchar(50)")
  6165. .HasCharSet("utf8")
  6166. .HasCollation("utf8_general_ci");
  6167. entity.Property(e => e.UserId).HasColumnType("int(11)");
  6168. entity.Property(e => e.Version).HasColumnType("int(11)");
  6169. });
  6170. modelBuilder.Entity<RightDic>(entity =>
  6171. {
  6172. entity.Property(e => e.Id)
  6173. .HasColumnName("ID")
  6174. .HasColumnType("varchar(50)")
  6175. .HasCharSet("utf8")
  6176. .HasCollation("utf8_general_ci");
  6177. entity.Property(e => e.Icon)
  6178. .HasColumnType("varchar(50)")
  6179. .HasCharSet("utf8")
  6180. .HasCollation("utf8_general_ci");
  6181. entity.Property(e => e.MainDataList)
  6182. .HasColumnType("bit(1)")
  6183. .HasDefaultValueSql("b'0'");
  6184. entity.Property(e => e.MainMenu)
  6185. .HasColumnType("bit(1)")
  6186. .HasDefaultValueSql("b'0'");
  6187. entity.Property(e => e.MainStat)
  6188. .HasColumnType("bit(1)")
  6189. .HasDefaultValueSql("b'0'");
  6190. entity.Property(e => e.Name)
  6191. .HasColumnType("varchar(50)")
  6192. .HasCharSet("utf8")
  6193. .HasCollation("utf8_general_ci");
  6194. entity.Property(e => e.OtherRight)
  6195. .HasColumnType("varchar(500)")
  6196. .HasCharSet("utf8")
  6197. .HasCollation("utf8_general_ci");
  6198. entity.Property(e => e.RightLevel).HasColumnType("int(11)");
  6199. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6200. entity.Property(e => e.Url)
  6201. .HasColumnType("varchar(200)")
  6202. .HasCharSet("utf8")
  6203. .HasCollation("utf8_general_ci");
  6204. });
  6205. modelBuilder.Entity<ServiceCenter>(entity =>
  6206. {
  6207. entity.Property(e => e.Id).HasColumnType("int(11)");
  6208. entity.Property(e => e.CategoryId).HasColumnType("int(11)");
  6209. entity.Property(e => e.Content)
  6210. .HasColumnType("longtext")
  6211. .HasCharSet("utf8")
  6212. .HasCollation("utf8_general_ci");
  6213. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6214. entity.Property(e => e.CreateMan)
  6215. .HasColumnType("varchar(50)")
  6216. .HasCharSet("utf8")
  6217. .HasCollation("utf8_general_ci");
  6218. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6219. entity.Property(e => e.SeoDescription)
  6220. .HasColumnType("varchar(500)")
  6221. .HasCharSet("utf8")
  6222. .HasCollation("utf8_general_ci");
  6223. entity.Property(e => e.SeoKeyword)
  6224. .HasColumnType("varchar(200)")
  6225. .HasCharSet("utf8")
  6226. .HasCollation("utf8_general_ci");
  6227. entity.Property(e => e.SeoTitle)
  6228. .HasColumnType("varchar(100)")
  6229. .HasCharSet("utf8")
  6230. .HasCollation("utf8_general_ci");
  6231. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6232. entity.Property(e => e.Status).HasColumnType("int(11)");
  6233. entity.Property(e => e.SubTitle)
  6234. .HasColumnType("varchar(50)")
  6235. .HasCharSet("utf8")
  6236. .HasCollation("utf8_general_ci");
  6237. entity.Property(e => e.Title)
  6238. .HasColumnType("varchar(50)")
  6239. .HasCharSet("utf8")
  6240. .HasCollation("utf8_general_ci");
  6241. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6242. entity.Property(e => e.UpdateMan)
  6243. .HasColumnType("varchar(50)")
  6244. .HasCharSet("utf8")
  6245. .HasCollation("utf8_general_ci");
  6246. entity.Property(e => e.Version).HasColumnType("int(11)");
  6247. });
  6248. modelBuilder.Entity<StoreBalance>(entity =>
  6249. {
  6250. entity.Property(e => e.Id).HasColumnType("int(11)");
  6251. entity.Property(e => e.AfterLaveNum).HasColumnType("int(11)");
  6252. entity.Property(e => e.AfterOutNum).HasColumnType("int(11)");
  6253. entity.Property(e => e.AfterTotalNum).HasColumnType("int(11)");
  6254. entity.Property(e => e.BeforeLaveNum).HasColumnType("int(11)");
  6255. entity.Property(e => e.BeforeOutNum).HasColumnType("int(11)");
  6256. entity.Property(e => e.BeforeTotalNum).HasColumnType("int(11)");
  6257. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6258. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6259. entity.Property(e => e.CreateMan)
  6260. .HasColumnType("varchar(50)")
  6261. .HasCharSet("utf8")
  6262. .HasCollation("utf8_general_ci");
  6263. entity.Property(e => e.OpStoreNum).HasColumnType("int(11)");
  6264. entity.Property(e => e.OpSymbol)
  6265. .HasColumnType("varchar(1)")
  6266. .HasCharSet("utf8")
  6267. .HasCollation("utf8_general_ci");
  6268. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6269. entity.Property(e => e.SeoDescription)
  6270. .HasColumnType("varchar(500)")
  6271. .HasCharSet("utf8")
  6272. .HasCollation("utf8_general_ci");
  6273. entity.Property(e => e.SeoKeyword)
  6274. .HasColumnType("varchar(200)")
  6275. .HasCharSet("utf8")
  6276. .HasCollation("utf8_general_ci");
  6277. entity.Property(e => e.SeoTitle)
  6278. .HasColumnType("varchar(100)")
  6279. .HasCharSet("utf8")
  6280. .HasCollation("utf8_general_ci");
  6281. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6282. entity.Property(e => e.Status).HasColumnType("int(11)");
  6283. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6284. entity.Property(e => e.TransRecordNo)
  6285. .HasColumnType("varchar(32)")
  6286. .HasCharSet("utf8")
  6287. .HasCollation("utf8_general_ci");
  6288. entity.Property(e => e.TransType).HasColumnType("int(11)");
  6289. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6290. entity.Property(e => e.UpdateMan)
  6291. .HasColumnType("varchar(50)")
  6292. .HasCharSet("utf8")
  6293. .HasCollation("utf8_general_ci");
  6294. entity.Property(e => e.Version).HasColumnType("int(11)");
  6295. });
  6296. modelBuilder.Entity<StoreChangeHistory>(entity =>
  6297. {
  6298. entity.Property(e => e.Id).HasColumnType("int(11)");
  6299. entity.Property(e => e.BizBatchNo)
  6300. .HasColumnType("varchar(32)")
  6301. .HasCharSet("utf8")
  6302. .HasCollation("utf8_general_ci");
  6303. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6304. entity.Property(e => e.ChangeRecordNo)
  6305. .HasColumnType("varchar(32)")
  6306. .HasCharSet("utf8")
  6307. .HasCollation("utf8_general_ci");
  6308. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6309. entity.Property(e => e.CreateMan)
  6310. .HasColumnType("varchar(50)")
  6311. .HasCharSet("utf8")
  6312. .HasCollation("utf8_general_ci");
  6313. entity.Property(e => e.DeviceModel)
  6314. .HasColumnType("varchar(32)")
  6315. .HasCharSet("utf8")
  6316. .HasCollation("utf8_general_ci");
  6317. entity.Property(e => e.DeviceType)
  6318. .HasColumnType("varchar(32)")
  6319. .HasCharSet("utf8")
  6320. .HasCollation("utf8_general_ci");
  6321. entity.Property(e => e.DeviceVendor)
  6322. .HasColumnType("varchar(32)")
  6323. .HasCharSet("utf8")
  6324. .HasCollation("utf8_general_ci");
  6325. entity.Property(e => e.FromDate).HasColumnType("datetime");
  6326. entity.Property(e => e.FromRemark)
  6327. .HasColumnType("varchar(64)")
  6328. .HasCharSet("utf8")
  6329. .HasCollation("utf8_general_ci");
  6330. entity.Property(e => e.FromUserId).HasColumnType("int(11)");
  6331. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6332. entity.Property(e => e.SeoDescription)
  6333. .HasColumnType("varchar(500)")
  6334. .HasCharSet("utf8")
  6335. .HasCollation("utf8_general_ci");
  6336. entity.Property(e => e.SeoKeyword)
  6337. .HasColumnType("varchar(200)")
  6338. .HasCharSet("utf8")
  6339. .HasCollation("utf8_general_ci");
  6340. entity.Property(e => e.SeoTitle)
  6341. .HasColumnType("varchar(100)")
  6342. .HasCharSet("utf8")
  6343. .HasCollation("utf8_general_ci");
  6344. entity.Property(e => e.SnNo)
  6345. .HasColumnType("varchar(32)")
  6346. .HasCharSet("utf8")
  6347. .HasCollation("utf8_general_ci");
  6348. entity.Property(e => e.SnType).HasColumnType("int(11)");
  6349. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6350. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  6351. entity.Property(e => e.Status).HasColumnType("int(11)");
  6352. entity.Property(e => e.StockOpDirect).HasColumnType("int(11)");
  6353. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6354. entity.Property(e => e.ToDate).HasColumnType("datetime");
  6355. entity.Property(e => e.ToRemark)
  6356. .HasColumnType("varchar(64)")
  6357. .HasCharSet("utf8")
  6358. .HasCollation("utf8_general_ci");
  6359. entity.Property(e => e.ToStoreId).HasColumnType("int(11)");
  6360. entity.Property(e => e.ToUserId).HasColumnType("int(11)");
  6361. entity.Property(e => e.TransType).HasColumnType("int(11)");
  6362. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6363. entity.Property(e => e.UpdateMan)
  6364. .HasColumnType("varchar(50)")
  6365. .HasCharSet("utf8")
  6366. .HasCollation("utf8_general_ci");
  6367. entity.Property(e => e.UserId).HasColumnType("int(11)");
  6368. entity.Property(e => e.Version).HasColumnType("int(11)");
  6369. });
  6370. modelBuilder.Entity<StoreForCode>(entity =>
  6371. {
  6372. entity.HasKey(e => e.Code)
  6373. .HasName("PRIMARY");
  6374. entity.Property(e => e.Code)
  6375. .HasColumnType("varchar(30)")
  6376. .HasCharSet("utf8")
  6377. .HasCollation("utf8_general_ci");
  6378. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6379. });
  6380. modelBuilder.Entity<StoreForName>(entity =>
  6381. {
  6382. entity.HasKey(e => e.Name)
  6383. .HasName("PRIMARY");
  6384. entity.Property(e => e.Name)
  6385. .HasColumnType("varchar(30)")
  6386. .HasCharSet("utf8")
  6387. .HasCollation("utf8_general_ci");
  6388. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6389. });
  6390. modelBuilder.Entity<StoreHouse>(entity =>
  6391. {
  6392. entity.Property(e => e.Id).HasColumnType("int(11)");
  6393. entity.Property(e => e.Address)
  6394. .HasColumnType("varchar(128)")
  6395. .HasCharSet("utf8")
  6396. .HasCollation("utf8_general_ci");
  6397. entity.Property(e => e.Areas)
  6398. .HasColumnType("varchar(30)")
  6399. .HasCharSet("utf8")
  6400. .HasCollation("utf8_general_ci");
  6401. entity.Property(e => e.BrandId)
  6402. .HasColumnType("varchar(30)")
  6403. .HasCharSet("utf8")
  6404. .HasCollation("utf8_general_ci");
  6405. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6406. entity.Property(e => e.CreateMan)
  6407. .HasColumnType("varchar(50)")
  6408. .HasCharSet("utf8")
  6409. .HasCollation("utf8_general_ci");
  6410. entity.Property(e => e.LaveNum).HasColumnType("int(11)");
  6411. entity.Property(e => e.LimitTopUserId)
  6412. .HasColumnType("varchar(100)")
  6413. .HasCharSet("utf8")
  6414. .HasCollation("utf8_general_ci");
  6415. entity.Property(e => e.ManageMobile)
  6416. .HasColumnType("varchar(11)")
  6417. .HasCharSet("utf8")
  6418. .HasCollation("utf8_general_ci");
  6419. entity.Property(e => e.ManageUserId).HasColumnType("int(11)");
  6420. entity.Property(e => e.ManagerEmail)
  6421. .HasColumnType("varchar(32)")
  6422. .HasCharSet("utf8")
  6423. .HasCollation("utf8_general_ci");
  6424. entity.Property(e => e.OutNum).HasColumnType("int(11)");
  6425. entity.Property(e => e.ParentNav)
  6426. .HasColumnType("longtext")
  6427. .HasCharSet("utf8")
  6428. .HasCollation("utf8_general_ci");
  6429. entity.Property(e => e.ParentStoreId).HasColumnType("int(11)");
  6430. entity.Property(e => e.ProductName)
  6431. .HasColumnType("varchar(32)")
  6432. .HasCharSet("utf8")
  6433. .HasCollation("utf8_general_ci");
  6434. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6435. entity.Property(e => e.Remark)
  6436. .HasColumnType("varchar(128)")
  6437. .HasCharSet("utf8")
  6438. .HasCollation("utf8_general_ci");
  6439. entity.Property(e => e.SeoDescription)
  6440. .HasColumnType("varchar(500)")
  6441. .HasCharSet("utf8")
  6442. .HasCollation("utf8_general_ci");
  6443. entity.Property(e => e.SeoKeyword)
  6444. .HasColumnType("varchar(200)")
  6445. .HasCharSet("utf8")
  6446. .HasCollation("utf8_general_ci");
  6447. entity.Property(e => e.SeoTitle)
  6448. .HasColumnType("varchar(100)")
  6449. .HasCharSet("utf8")
  6450. .HasCollation("utf8_general_ci");
  6451. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6452. entity.Property(e => e.Status).HasColumnType("int(11)");
  6453. entity.Property(e => e.StoreKind).HasColumnType("int(11)");
  6454. entity.Property(e => e.StoreName)
  6455. .HasColumnType("varchar(32)")
  6456. .HasCharSet("utf8")
  6457. .HasCollation("utf8_general_ci");
  6458. entity.Property(e => e.StoreNo)
  6459. .HasColumnType("varchar(16)")
  6460. .HasCharSet("utf8")
  6461. .HasCollation("utf8_general_ci");
  6462. entity.Property(e => e.StoreStatus).HasColumnType("int(11)");
  6463. entity.Property(e => e.StoreType).HasColumnType("int(11)");
  6464. entity.Property(e => e.TotalNum).HasColumnType("int(11)");
  6465. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6466. entity.Property(e => e.UpdateMan)
  6467. .HasColumnType("varchar(50)")
  6468. .HasCharSet("utf8")
  6469. .HasCollation("utf8_general_ci");
  6470. entity.Property(e => e.UserId).HasColumnType("int(11)");
  6471. entity.Property(e => e.Version).HasColumnType("int(11)");
  6472. });
  6473. modelBuilder.Entity<StoreMallOrderSummary>(entity =>
  6474. {
  6475. entity.Property(e => e.Id).HasColumnType("int(11)");
  6476. entity.Property(e => e.AgentStoreId).HasColumnType("int(11)");
  6477. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6478. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6479. entity.Property(e => e.CreateMan)
  6480. .HasColumnType("varchar(50)")
  6481. .HasCharSet("utf8")
  6482. .HasCollation("utf8_general_ci");
  6483. entity.Property(e => e.OrderAmt).HasColumnType("int(11)");
  6484. entity.Property(e => e.OrderNum).HasColumnType("int(11)");
  6485. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6486. entity.Property(e => e.RefundAmt).HasColumnType("decimal(18,2)");
  6487. entity.Property(e => e.RefundOrderNum).HasColumnType("int(11)");
  6488. entity.Property(e => e.Remark)
  6489. .HasColumnType("varchar(64)")
  6490. .HasCharSet("utf8")
  6491. .HasCollation("utf8_general_ci");
  6492. entity.Property(e => e.SeoDescription)
  6493. .HasColumnType("varchar(500)")
  6494. .HasCharSet("utf8")
  6495. .HasCollation("utf8_general_ci");
  6496. entity.Property(e => e.SeoKeyword)
  6497. .HasColumnType("varchar(200)")
  6498. .HasCharSet("utf8")
  6499. .HasCollation("utf8_general_ci");
  6500. entity.Property(e => e.SeoTitle)
  6501. .HasColumnType("varchar(100)")
  6502. .HasCharSet("utf8")
  6503. .HasCollation("utf8_general_ci");
  6504. entity.Property(e => e.SettleAmt).HasColumnType("decimal(18,2)");
  6505. entity.Property(e => e.SettleStatus).HasColumnType("int(11)");
  6506. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6507. entity.Property(e => e.Status).HasColumnType("int(11)");
  6508. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6509. entity.Property(e => e.TradeMonth)
  6510. .HasColumnType("varchar(6)")
  6511. .HasCharSet("utf8")
  6512. .HasCollation("utf8_general_ci");
  6513. entity.Property(e => e.UnitPrice).HasColumnType("decimal(18,2)");
  6514. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6515. entity.Property(e => e.UpdateMan)
  6516. .HasColumnType("varchar(50)")
  6517. .HasCharSet("utf8")
  6518. .HasCollation("utf8_general_ci");
  6519. entity.Property(e => e.Version).HasColumnType("int(11)");
  6520. });
  6521. modelBuilder.Entity<StoreSnActivateSummary>(entity =>
  6522. {
  6523. entity.Property(e => e.Id).HasColumnType("int(11)");
  6524. entity.Property(e => e.ActivateNum).HasColumnType("int(11)");
  6525. entity.Property(e => e.AgentStoreId).HasColumnType("int(11)");
  6526. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6527. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6528. entity.Property(e => e.CreateMan)
  6529. .HasColumnType("varchar(50)")
  6530. .HasCharSet("utf8")
  6531. .HasCollation("utf8_general_ci");
  6532. entity.Property(e => e.EffectActNum).HasColumnType("int(11)");
  6533. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6534. entity.Property(e => e.RejectActNum).HasColumnType("int(11)");
  6535. entity.Property(e => e.Remark)
  6536. .HasColumnType("varchar(64)")
  6537. .HasCharSet("utf8")
  6538. .HasCollation("utf8_general_ci");
  6539. entity.Property(e => e.SeoDescription)
  6540. .HasColumnType("varchar(500)")
  6541. .HasCharSet("utf8")
  6542. .HasCollation("utf8_general_ci");
  6543. entity.Property(e => e.SeoKeyword)
  6544. .HasColumnType("varchar(200)")
  6545. .HasCharSet("utf8")
  6546. .HasCollation("utf8_general_ci");
  6547. entity.Property(e => e.SeoTitle)
  6548. .HasColumnType("varchar(100)")
  6549. .HasCharSet("utf8")
  6550. .HasCollation("utf8_general_ci");
  6551. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6552. entity.Property(e => e.Status).HasColumnType("int(11)");
  6553. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6554. entity.Property(e => e.TradeDate)
  6555. .HasColumnType("varchar(8)")
  6556. .HasCharSet("utf8")
  6557. .HasCollation("utf8_general_ci");
  6558. entity.Property(e => e.TradeMonth)
  6559. .HasColumnType("varchar(6)")
  6560. .HasCharSet("utf8")
  6561. .HasCollation("utf8_general_ci");
  6562. entity.Property(e => e.TransferActNum).HasColumnType("int(11)");
  6563. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6564. entity.Property(e => e.UpdateMan)
  6565. .HasColumnType("varchar(50)")
  6566. .HasCharSet("utf8")
  6567. .HasCollation("utf8_general_ci");
  6568. entity.Property(e => e.UserApplyNum).HasColumnType("int(11)");
  6569. entity.Property(e => e.Version).HasColumnType("int(11)");
  6570. });
  6571. modelBuilder.Entity<StoreStockChange>(entity =>
  6572. {
  6573. entity.Property(e => e.Id).HasColumnType("int(11)");
  6574. entity.Property(e => e.ActRewardUserId).HasColumnType("int(11)");
  6575. entity.Property(e => e.ActiveStatus).HasColumnType("int(11)");
  6576. entity.Property(e => e.BindMerchant).HasColumnType("int(11)");
  6577. entity.Property(e => e.BindStatus).HasColumnType("int(11)");
  6578. entity.Property(e => e.BizBatchNo)
  6579. .HasColumnType("varchar(32)")
  6580. .HasCharSet("utf8")
  6581. .HasCollation("utf8_general_ci");
  6582. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6583. entity.Property(e => e.BrandType)
  6584. .HasColumnType("varchar(10)")
  6585. .HasCharSet("utf8")
  6586. .HasCollation("utf8_general_ci");
  6587. entity.Property(e => e.ChangeNo)
  6588. .HasColumnType("varchar(32)")
  6589. .HasCharSet("utf8")
  6590. .HasCollation("utf8_general_ci");
  6591. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6592. entity.Property(e => e.CreateMan)
  6593. .HasColumnType("varchar(50)")
  6594. .HasCharSet("utf8")
  6595. .HasCollation("utf8_general_ci");
  6596. entity.Property(e => e.DeviceModel)
  6597. .HasColumnType("varchar(32)")
  6598. .HasCharSet("utf8")
  6599. .HasCollation("utf8_general_ci");
  6600. entity.Property(e => e.DeviceType)
  6601. .HasColumnType("varchar(32)")
  6602. .HasCharSet("utf8")
  6603. .HasCollation("utf8_general_ci");
  6604. entity.Property(e => e.DeviceVendor)
  6605. .HasColumnType("varchar(32)")
  6606. .HasCharSet("utf8")
  6607. .HasCollation("utf8_general_ci");
  6608. entity.Property(e => e.ExpressNo)
  6609. .HasColumnType("varchar(32)")
  6610. .HasCharSet("utf8")
  6611. .HasCollation("utf8_general_ci");
  6612. entity.Property(e => e.FromDate).HasColumnType("datetime");
  6613. entity.Property(e => e.FromRemark)
  6614. .HasColumnType("varchar(64)")
  6615. .HasCharSet("utf8")
  6616. .HasCollation("utf8_general_ci");
  6617. entity.Property(e => e.FromUserId).HasColumnType("int(11)");
  6618. entity.Property(e => e.ProductName)
  6619. .HasColumnType("varchar(32)")
  6620. .HasCharSet("utf8")
  6621. .HasCollation("utf8_general_ci");
  6622. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6623. entity.Property(e => e.SeoDescription)
  6624. .HasColumnType("varchar(500)")
  6625. .HasCharSet("utf8")
  6626. .HasCollation("utf8_general_ci");
  6627. entity.Property(e => e.SeoKeyword)
  6628. .HasColumnType("varchar(200)")
  6629. .HasCharSet("utf8")
  6630. .HasCollation("utf8_general_ci");
  6631. entity.Property(e => e.SeoTitle)
  6632. .HasColumnType("varchar(100)")
  6633. .HasCharSet("utf8")
  6634. .HasCollation("utf8_general_ci");
  6635. entity.Property(e => e.SnNo)
  6636. .HasColumnType("varchar(32)")
  6637. .HasCharSet("utf8")
  6638. .HasCollation("utf8_general_ci");
  6639. entity.Property(e => e.SnStatus).HasColumnType("int(11)");
  6640. entity.Property(e => e.SnType).HasColumnType("int(11)");
  6641. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6642. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  6643. entity.Property(e => e.Status).HasColumnType("int(11)");
  6644. entity.Property(e => e.StockOpDirect).HasColumnType("int(11)");
  6645. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  6646. entity.Property(e => e.ToDate).HasColumnType("datetime");
  6647. entity.Property(e => e.ToRemark)
  6648. .HasColumnType("varchar(64)")
  6649. .HasCharSet("utf8")
  6650. .HasCollation("utf8_general_ci");
  6651. entity.Property(e => e.ToStoreId).HasColumnType("int(11)");
  6652. entity.Property(e => e.ToUserId).HasColumnType("int(11)");
  6653. entity.Property(e => e.TransType).HasColumnType("int(11)");
  6654. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6655. entity.Property(e => e.UpdateMan)
  6656. .HasColumnType("varchar(50)")
  6657. .HasCharSet("utf8")
  6658. .HasCollation("utf8_general_ci");
  6659. entity.Property(e => e.Version).HasColumnType("int(11)");
  6660. });
  6661. modelBuilder.Entity<StoreSwapSn>(entity =>
  6662. {
  6663. entity.Property(e => e.Id).HasColumnType("int(11)");
  6664. entity.Property(e => e.ActType).HasColumnType("int(11)");
  6665. entity.Property(e => e.ActTypeDesc)
  6666. .HasColumnType("varchar(64)")
  6667. .HasCharSet("utf8")
  6668. .HasCollation("utf8_general_ci");
  6669. entity.Property(e => e.BizStatus).HasColumnType("int(11)");
  6670. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  6671. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6672. entity.Property(e => e.CreateMan)
  6673. .HasColumnType("varchar(50)")
  6674. .HasCharSet("utf8")
  6675. .HasCollation("utf8_general_ci");
  6676. entity.Property(e => e.PosType)
  6677. .HasColumnType("varchar(32)")
  6678. .HasCharSet("utf8")
  6679. .HasCollation("utf8_general_ci");
  6680. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6681. entity.Property(e => e.Remark)
  6682. .HasColumnType("varchar(128)")
  6683. .HasCharSet("utf8")
  6684. .HasCollation("utf8_general_ci");
  6685. entity.Property(e => e.RiskStatus).HasColumnType("int(11)");
  6686. entity.Property(e => e.SeoDescription)
  6687. .HasColumnType("varchar(500)")
  6688. .HasCharSet("utf8")
  6689. .HasCollation("utf8_general_ci");
  6690. entity.Property(e => e.SeoKeyword)
  6691. .HasColumnType("varchar(200)")
  6692. .HasCharSet("utf8")
  6693. .HasCollation("utf8_general_ci");
  6694. entity.Property(e => e.SeoTitle)
  6695. .HasColumnType("varchar(100)")
  6696. .HasCharSet("utf8")
  6697. .HasCollation("utf8_general_ci");
  6698. entity.Property(e => e.SnNo)
  6699. .HasColumnType("varchar(32)")
  6700. .HasCharSet("utf8")
  6701. .HasCollation("utf8_general_ci");
  6702. entity.Property(e => e.SnStoreId).HasColumnType("int(11)");
  6703. entity.Property(e => e.SnType).HasColumnType("int(11)");
  6704. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6705. entity.Property(e => e.StandardDate).HasColumnType("datetime");
  6706. entity.Property(e => e.Status).HasColumnType("int(11)");
  6707. entity.Property(e => e.SwapApplyDate).HasColumnType("datetime");
  6708. entity.Property(e => e.SwapApplyOrderNo)
  6709. .HasColumnType("varchar(32)")
  6710. .HasCharSet("utf8")
  6711. .HasCollation("utf8_general_ci");
  6712. entity.Property(e => e.SwapExtProductTypes)
  6713. .HasColumnType("varchar(16)")
  6714. .HasCharSet("utf8")
  6715. .HasCollation("utf8_general_ci");
  6716. entity.Property(e => e.SwapSnNo)
  6717. .HasColumnType("varchar(32)")
  6718. .HasCharSet("utf8")
  6719. .HasCollation("utf8_general_ci");
  6720. entity.Property(e => e.SwapStatus).HasColumnType("int(11)");
  6721. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6722. entity.Property(e => e.UpdateMan)
  6723. .HasColumnType("varchar(50)")
  6724. .HasCharSet("utf8")
  6725. .HasCollation("utf8_general_ci");
  6726. entity.Property(e => e.UserId).HasColumnType("int(11)");
  6727. entity.Property(e => e.Version).HasColumnType("int(11)");
  6728. });
  6729. modelBuilder.Entity<SysAdmin>(entity =>
  6730. {
  6731. entity.Property(e => e.Id).HasColumnType("int(11)");
  6732. entity.Property(e => e.AdminName)
  6733. .HasColumnType("varchar(50)")
  6734. .HasCharSet("utf8")
  6735. .HasCollation("utf8_general_ci");
  6736. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6737. entity.Property(e => e.CreateMan)
  6738. .HasColumnType("varchar(50)")
  6739. .HasCharSet("utf8")
  6740. .HasCollation("utf8_general_ci");
  6741. entity.Property(e => e.LastLoginDate).HasColumnType("datetime");
  6742. entity.Property(e => e.Password)
  6743. .HasColumnType("varchar(32)")
  6744. .HasCharSet("utf8")
  6745. .HasCollation("utf8_general_ci");
  6746. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6747. entity.Property(e => e.RealName)
  6748. .HasColumnType("varchar(50)")
  6749. .HasCharSet("utf8")
  6750. .HasCollation("utf8_general_ci");
  6751. entity.Property(e => e.Role)
  6752. .HasColumnType("varchar(30)")
  6753. .HasCharSet("utf8")
  6754. .HasCollation("utf8_general_ci");
  6755. entity.Property(e => e.SeoDescription)
  6756. .HasColumnType("varchar(500)")
  6757. .HasCharSet("utf8")
  6758. .HasCollation("utf8_general_ci");
  6759. entity.Property(e => e.SeoKeyword)
  6760. .HasColumnType("varchar(200)")
  6761. .HasCharSet("utf8")
  6762. .HasCollation("utf8_general_ci");
  6763. entity.Property(e => e.SeoTitle)
  6764. .HasColumnType("varchar(100)")
  6765. .HasCharSet("utf8")
  6766. .HasCollation("utf8_general_ci");
  6767. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6768. entity.Property(e => e.Status).HasColumnType("int(11)");
  6769. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6770. entity.Property(e => e.UpdateMan)
  6771. .HasColumnType("varchar(50)")
  6772. .HasCharSet("utf8")
  6773. .HasCollation("utf8_general_ci");
  6774. entity.Property(e => e.Version).HasColumnType("int(11)");
  6775. });
  6776. modelBuilder.Entity<SysAdminRole>(entity =>
  6777. {
  6778. entity.Property(e => e.Id).HasColumnType("int(11)");
  6779. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6780. entity.Property(e => e.CreateMan)
  6781. .HasColumnType("varchar(50)")
  6782. .HasCharSet("utf8")
  6783. .HasCollation("utf8_general_ci");
  6784. entity.Property(e => e.Details)
  6785. .HasColumnType("longtext")
  6786. .HasCharSet("utf8")
  6787. .HasCollation("utf8_general_ci");
  6788. entity.Property(e => e.Name)
  6789. .HasColumnType("varchar(50)")
  6790. .HasCharSet("utf8")
  6791. .HasCollation("utf8_general_ci");
  6792. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6793. entity.Property(e => e.RightInfo)
  6794. .HasColumnType("longtext")
  6795. .HasCharSet("utf8")
  6796. .HasCollation("utf8_general_ci");
  6797. entity.Property(e => e.SeoDescription)
  6798. .HasColumnType("varchar(500)")
  6799. .HasCharSet("utf8")
  6800. .HasCollation("utf8_general_ci");
  6801. entity.Property(e => e.SeoKeyword)
  6802. .HasColumnType("varchar(200)")
  6803. .HasCharSet("utf8")
  6804. .HasCollation("utf8_general_ci");
  6805. entity.Property(e => e.SeoTitle)
  6806. .HasColumnType("varchar(100)")
  6807. .HasCharSet("utf8")
  6808. .HasCollation("utf8_general_ci");
  6809. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6810. entity.Property(e => e.Status).HasColumnType("int(11)");
  6811. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6812. entity.Property(e => e.UpdateMan)
  6813. .HasColumnType("varchar(50)")
  6814. .HasCharSet("utf8")
  6815. .HasCollation("utf8_general_ci");
  6816. entity.Property(e => e.Version).HasColumnType("int(11)");
  6817. });
  6818. modelBuilder.Entity<SysLog>(entity =>
  6819. {
  6820. entity.Property(e => e.Id).HasColumnType("int(11)");
  6821. entity.Property(e => e.Contents)
  6822. .HasColumnType("varchar(200)")
  6823. .HasCharSet("utf8")
  6824. .HasCollation("utf8_general_ci");
  6825. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6826. entity.Property(e => e.CreateMan)
  6827. .HasColumnType("varchar(50)")
  6828. .HasCharSet("utf8")
  6829. .HasCollation("utf8_general_ci");
  6830. });
  6831. modelBuilder.Entity<SysRechargeRecord>(entity =>
  6832. {
  6833. entity.Property(e => e.Id).HasColumnType("int(11)");
  6834. entity.Property(e => e.Amount).HasColumnType("decimal(18,2)");
  6835. entity.Property(e => e.BatchCode)
  6836. .HasColumnType("varchar(32)")
  6837. .HasCharSet("utf8")
  6838. .HasCollation("utf8_general_ci");
  6839. entity.Property(e => e.BizTime).HasColumnType("datetime");
  6840. entity.Property(e => e.BizType).HasColumnType("int(11)");
  6841. entity.Property(e => e.ClientIp)
  6842. .HasColumnType("varchar(15)")
  6843. .HasCharSet("utf8")
  6844. .HasCollation("utf8_general_ci");
  6845. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6846. entity.Property(e => e.CreateMan)
  6847. .HasColumnType("varchar(50)")
  6848. .HasCharSet("utf8")
  6849. .HasCollation("utf8_general_ci");
  6850. entity.Property(e => e.PartnerTradeNo)
  6851. .HasColumnType("varchar(32)")
  6852. .HasCharSet("utf8")
  6853. .HasCollation("utf8_general_ci");
  6854. entity.Property(e => e.ProductType).HasColumnType("int(11)");
  6855. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6856. entity.Property(e => e.RechargeRecNo)
  6857. .HasColumnType("varchar(32)")
  6858. .HasCharSet("utf8")
  6859. .HasCollation("utf8_general_ci");
  6860. entity.Property(e => e.SeoDescription)
  6861. .HasColumnType("varchar(500)")
  6862. .HasCharSet("utf8")
  6863. .HasCollation("utf8_general_ci");
  6864. entity.Property(e => e.SeoKeyword)
  6865. .HasColumnType("varchar(200)")
  6866. .HasCharSet("utf8")
  6867. .HasCollation("utf8_general_ci");
  6868. entity.Property(e => e.SeoTitle)
  6869. .HasColumnType("varchar(100)")
  6870. .HasCharSet("utf8")
  6871. .HasCollation("utf8_general_ci");
  6872. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6873. entity.Property(e => e.Status).HasColumnType("int(11)");
  6874. entity.Property(e => e.SyncStatus).HasColumnType("int(11)");
  6875. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6876. entity.Property(e => e.UpdateMan)
  6877. .HasColumnType("varchar(50)")
  6878. .HasCharSet("utf8")
  6879. .HasCollation("utf8_general_ci");
  6880. entity.Property(e => e.UserId).HasColumnType("int(11)");
  6881. entity.Property(e => e.Version).HasColumnType("int(11)");
  6882. });
  6883. modelBuilder.Entity<SystemSet>(entity =>
  6884. {
  6885. entity.Property(e => e.Id).HasColumnType("int(11)");
  6886. entity.Property(e => e.Address)
  6887. .HasColumnType("varchar(100)")
  6888. .HasCharSet("utf8")
  6889. .HasCollation("utf8_general_ci");
  6890. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6891. entity.Property(e => e.CreateMan)
  6892. .HasColumnType("varchar(50)")
  6893. .HasCharSet("utf8")
  6894. .HasCollation("utf8_general_ci");
  6895. entity.Property(e => e.IndexDescription)
  6896. .HasColumnType("longtext")
  6897. .HasCharSet("utf8")
  6898. .HasCollation("utf8_general_ci");
  6899. entity.Property(e => e.IndexKeyword)
  6900. .HasColumnType("varchar(200)")
  6901. .HasCharSet("utf8")
  6902. .HasCollation("utf8_general_ci");
  6903. entity.Property(e => e.Logo)
  6904. .HasColumnType("varchar(200)")
  6905. .HasCharSet("utf8")
  6906. .HasCollation("utf8_general_ci");
  6907. entity.Property(e => e.Phone)
  6908. .HasColumnType("varchar(100)")
  6909. .HasCharSet("utf8")
  6910. .HasCollation("utf8_general_ci");
  6911. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  6912. entity.Property(e => e.RightInfo)
  6913. .HasColumnType("longtext")
  6914. .HasCharSet("utf8")
  6915. .HasCollation("utf8_general_ci");
  6916. entity.Property(e => e.SeoDescription)
  6917. .HasColumnType("varchar(500)")
  6918. .HasCharSet("utf8")
  6919. .HasCollation("utf8_general_ci");
  6920. entity.Property(e => e.SeoKeyword)
  6921. .HasColumnType("varchar(200)")
  6922. .HasCharSet("utf8")
  6923. .HasCollation("utf8_general_ci");
  6924. entity.Property(e => e.SeoTitle)
  6925. .HasColumnType("varchar(100)")
  6926. .HasCharSet("utf8")
  6927. .HasCollation("utf8_general_ci");
  6928. entity.Property(e => e.Sort).HasColumnType("int(11)");
  6929. entity.Property(e => e.StartAdPhoto)
  6930. .HasColumnType("varchar(200)")
  6931. .HasCharSet("utf8")
  6932. .HasCollation("utf8_general_ci");
  6933. entity.Property(e => e.Status).HasColumnType("int(11)");
  6934. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  6935. entity.Property(e => e.UpdateMan)
  6936. .HasColumnType("varchar(50)")
  6937. .HasCharSet("utf8")
  6938. .HasCollation("utf8_general_ci");
  6939. entity.Property(e => e.UploadAutoWater)
  6940. .HasColumnType("bit(1)")
  6941. .HasDefaultValueSql("b'0'");
  6942. entity.Property(e => e.UploadAutoZoom)
  6943. .HasColumnType("bit(1)")
  6944. .HasDefaultValueSql("b'0'");
  6945. entity.Property(e => e.UploadAutoZoomHeight).HasColumnType("int(11)");
  6946. entity.Property(e => e.UploadAutoZoomQuality).HasColumnType("int(11)");
  6947. entity.Property(e => e.UploadAutoZoomWidth).HasColumnType("int(11)");
  6948. entity.Property(e => e.UploadExt)
  6949. .HasColumnType("varchar(100)")
  6950. .HasCharSet("utf8")
  6951. .HasCollation("utf8_general_ci");
  6952. entity.Property(e => e.UploadMaxSize).HasColumnType("int(11)");
  6953. entity.Property(e => e.UploadOss)
  6954. .HasColumnType("bit(1)")
  6955. .HasDefaultValueSql("b'0'");
  6956. entity.Property(e => e.UploadWaterPath)
  6957. .HasColumnType("varchar(200)")
  6958. .HasCharSet("utf8")
  6959. .HasCollation("utf8_general_ci");
  6960. entity.Property(e => e.UploadWaterPosition)
  6961. .HasColumnType("varchar(15)")
  6962. .HasCharSet("utf8")
  6963. .HasCollation("utf8_general_ci");
  6964. entity.Property(e => e.Version).HasColumnType("int(11)");
  6965. entity.Property(e => e.WebName)
  6966. .HasColumnType("varchar(50)")
  6967. .HasCharSet("utf8")
  6968. .HasCollation("utf8_general_ci");
  6969. entity.Property(e => e.WebStatCode)
  6970. .HasColumnType("longtext")
  6971. .HasCharSet("utf8")
  6972. .HasCollation("utf8_general_ci");
  6973. entity.Property(e => e.WebUrl)
  6974. .HasColumnType("varchar(200)")
  6975. .HasCharSet("utf8")
  6976. .HasCollation("utf8_general_ci");
  6977. });
  6978. modelBuilder.Entity<TeamApply>(entity =>
  6979. {
  6980. entity.Property(e => e.Id).HasColumnType("int(11)");
  6981. entity.Property(e => e.Areas)
  6982. .HasColumnType("varchar(30)")
  6983. .HasCharSet("utf8")
  6984. .HasCollation("utf8_general_ci");
  6985. entity.Property(e => e.AuditRemark)
  6986. .HasColumnType("varchar(64)")
  6987. .HasCharSet("utf8")
  6988. .HasCollation("utf8_general_ci");
  6989. entity.Property(e => e.AuditResult).HasColumnType("int(11)");
  6990. entity.Property(e => e.AuditTime).HasColumnType("datetime");
  6991. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  6992. entity.Property(e => e.CreateMan)
  6993. .HasColumnType("varchar(50)")
  6994. .HasCharSet("utf8")
  6995. .HasCollation("utf8_general_ci");
  6996. entity.Property(e => e.EffectEndDate).HasColumnType("datetime");
  6997. entity.Property(e => e.EffectStartDate).HasColumnType("datetime");
  6998. entity.Property(e => e.EnterEndDate).HasColumnType("datetime");
  6999. entity.Property(e => e.EnterStartDate).HasColumnType("datetime");
  7000. entity.Property(e => e.ManagerName)
  7001. .HasColumnType("varchar(32)")
  7002. .HasCharSet("utf8")
  7003. .HasCollation("utf8_general_ci");
  7004. entity.Property(e => e.ManagerNo)
  7005. .HasColumnType("varchar(32)")
  7006. .HasCharSet("utf8")
  7007. .HasCollation("utf8_general_ci");
  7008. entity.Property(e => e.MaxUserNum).HasColumnType("int(11)");
  7009. entity.Property(e => e.MinUserNum).HasColumnType("int(11)");
  7010. entity.Property(e => e.NotifyFlag).HasColumnType("int(11)");
  7011. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7012. entity.Property(e => e.Remark)
  7013. .HasColumnType("varchar(64)")
  7014. .HasCharSet("utf8")
  7015. .HasCollation("utf8_general_ci");
  7016. entity.Property(e => e.SeoDescription)
  7017. .HasColumnType("varchar(500)")
  7018. .HasCharSet("utf8")
  7019. .HasCollation("utf8_general_ci");
  7020. entity.Property(e => e.SeoKeyword)
  7021. .HasColumnType("varchar(200)")
  7022. .HasCharSet("utf8")
  7023. .HasCollation("utf8_general_ci");
  7024. entity.Property(e => e.SeoTitle)
  7025. .HasColumnType("varchar(100)")
  7026. .HasCharSet("utf8")
  7027. .HasCollation("utf8_general_ci");
  7028. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7029. entity.Property(e => e.Status).HasColumnType("int(11)");
  7030. entity.Property(e => e.TeamName)
  7031. .HasColumnType("varchar(32)")
  7032. .HasCharSet("utf8")
  7033. .HasCollation("utf8_general_ci");
  7034. entity.Property(e => e.TeamNo)
  7035. .HasColumnType("varchar(32)")
  7036. .HasCharSet("utf8")
  7037. .HasCollation("utf8_general_ci");
  7038. entity.Property(e => e.TeamStatus).HasColumnType("int(11)");
  7039. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7040. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7041. entity.Property(e => e.UpdateMan)
  7042. .HasColumnType("varchar(50)")
  7043. .HasCharSet("utf8")
  7044. .HasCollation("utf8_general_ci");
  7045. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7046. entity.Property(e => e.Version).HasColumnType("int(11)");
  7047. entity.Property(e => e.WatchWord)
  7048. .HasColumnType("varchar(32)")
  7049. .HasCharSet("utf8")
  7050. .HasCollation("utf8_general_ci");
  7051. });
  7052. modelBuilder.Entity<TeamApplyForTeamName>(entity =>
  7053. {
  7054. entity.HasKey(e => e.TeamName)
  7055. .HasName("PRIMARY");
  7056. entity.Property(e => e.TeamName)
  7057. .HasColumnType("varchar(32)")
  7058. .HasCharSet("utf8")
  7059. .HasCollation("utf8_general_ci");
  7060. entity.Property(e => e.TeamId).HasColumnType("int(11)");
  7061. });
  7062. modelBuilder.Entity<TeamApplyForTeamNo>(entity =>
  7063. {
  7064. entity.HasKey(e => e.TeamNo)
  7065. .HasName("PRIMARY");
  7066. entity.Property(e => e.TeamNo)
  7067. .HasColumnType("varchar(32)")
  7068. .HasCharSet("utf8")
  7069. .HasCollation("utf8_general_ci");
  7070. entity.Property(e => e.TeamId).HasColumnType("int(11)");
  7071. });
  7072. modelBuilder.Entity<TeamBlackList>(entity =>
  7073. {
  7074. entity.Property(e => e.Id).HasColumnType("int(11)");
  7075. entity.Property(e => e.BlackStatus).HasColumnType("int(11)");
  7076. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7077. entity.Property(e => e.CreateMan)
  7078. .HasColumnType("varchar(50)")
  7079. .HasCharSet("utf8")
  7080. .HasCollation("utf8_general_ci");
  7081. entity.Property(e => e.EffectEndDate).HasColumnType("datetime");
  7082. entity.Property(e => e.EffectStartDate).HasColumnType("datetime");
  7083. entity.Property(e => e.ManagerName)
  7084. .HasColumnType("varchar(32)")
  7085. .HasCharSet("utf8")
  7086. .HasCollation("utf8_general_ci");
  7087. entity.Property(e => e.ManagerNo)
  7088. .HasColumnType("varchar(32)")
  7089. .HasCharSet("utf8")
  7090. .HasCollation("utf8_general_ci");
  7091. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7092. entity.Property(e => e.Remark)
  7093. .HasColumnType("varchar(64)")
  7094. .HasCharSet("utf8")
  7095. .HasCollation("utf8_general_ci");
  7096. entity.Property(e => e.SeoDescription)
  7097. .HasColumnType("varchar(500)")
  7098. .HasCharSet("utf8")
  7099. .HasCollation("utf8_general_ci");
  7100. entity.Property(e => e.SeoKeyword)
  7101. .HasColumnType("varchar(200)")
  7102. .HasCharSet("utf8")
  7103. .HasCollation("utf8_general_ci");
  7104. entity.Property(e => e.SeoTitle)
  7105. .HasColumnType("varchar(100)")
  7106. .HasCharSet("utf8")
  7107. .HasCollation("utf8_general_ci");
  7108. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7109. entity.Property(e => e.Status).HasColumnType("int(11)");
  7110. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7111. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7112. entity.Property(e => e.UpdateMan)
  7113. .HasColumnType("varchar(50)")
  7114. .HasCharSet("utf8")
  7115. .HasCollation("utf8_general_ci");
  7116. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7117. entity.Property(e => e.Version).HasColumnType("int(11)");
  7118. });
  7119. modelBuilder.Entity<TeamConfig>(entity =>
  7120. {
  7121. entity.Property(e => e.Id).HasColumnType("int(11)");
  7122. entity.Property(e => e.BlacklistCycle).HasColumnType("int(11)");
  7123. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7124. entity.Property(e => e.CreateMan)
  7125. .HasColumnType("varchar(50)")
  7126. .HasCharSet("utf8")
  7127. .HasCollation("utf8_general_ci");
  7128. entity.Property(e => e.EnterEndMin).HasColumnType("int(11)");
  7129. entity.Property(e => e.LimitBuddyNo)
  7130. .HasColumnType("varchar(128)")
  7131. .HasCharSet("utf8")
  7132. .HasCollation("utf8_general_ci");
  7133. entity.Property(e => e.MaxCycleNum).HasColumnType("int(11)");
  7134. entity.Property(e => e.MaxStartDayLimit).HasColumnType("int(11)");
  7135. entity.Property(e => e.MaxUserNum).HasColumnType("int(11)");
  7136. entity.Property(e => e.MinCycleNum).HasColumnType("int(11)");
  7137. entity.Property(e => e.MinStartDayLimit).HasColumnType("int(11)");
  7138. entity.Property(e => e.MinUserNum).HasColumnType("int(11)");
  7139. entity.Property(e => e.OverlineStatus)
  7140. .HasColumnType("bit(1)")
  7141. .HasDefaultValueSql("b'0'");
  7142. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7143. entity.Property(e => e.Remark)
  7144. .HasColumnType("varchar(64)")
  7145. .HasCharSet("utf8")
  7146. .HasCollation("utf8_general_ci");
  7147. entity.Property(e => e.SeoDescription)
  7148. .HasColumnType("varchar(500)")
  7149. .HasCharSet("utf8")
  7150. .HasCollation("utf8_general_ci");
  7151. entity.Property(e => e.SeoKeyword)
  7152. .HasColumnType("varchar(200)")
  7153. .HasCharSet("utf8")
  7154. .HasCollation("utf8_general_ci");
  7155. entity.Property(e => e.SeoTitle)
  7156. .HasColumnType("varchar(100)")
  7157. .HasCharSet("utf8")
  7158. .HasCollation("utf8_general_ci");
  7159. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7160. entity.Property(e => e.Status).HasColumnType("int(11)");
  7161. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7162. entity.Property(e => e.UpdateMan)
  7163. .HasColumnType("varchar(50)")
  7164. .HasCharSet("utf8")
  7165. .HasCollation("utf8_general_ci");
  7166. entity.Property(e => e.Version).HasColumnType("int(11)");
  7167. });
  7168. modelBuilder.Entity<TeamDayTop>(entity =>
  7169. {
  7170. entity.Property(e => e.Id).HasColumnType("int(11)");
  7171. entity.Property(e => e.ActMerNum).HasColumnType("int(11)");
  7172. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  7173. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7174. entity.Property(e => e.CreateMan)
  7175. .HasColumnType("varchar(50)")
  7176. .HasCharSet("utf8")
  7177. .HasCollation("utf8_general_ci");
  7178. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7179. entity.Property(e => e.Remark)
  7180. .HasColumnType("varchar(64)")
  7181. .HasCharSet("utf8")
  7182. .HasCollation("utf8_general_ci");
  7183. entity.Property(e => e.SeoDescription)
  7184. .HasColumnType("varchar(500)")
  7185. .HasCharSet("utf8")
  7186. .HasCollation("utf8_general_ci");
  7187. entity.Property(e => e.SeoKeyword)
  7188. .HasColumnType("varchar(200)")
  7189. .HasCharSet("utf8")
  7190. .HasCollation("utf8_general_ci");
  7191. entity.Property(e => e.SeoTitle)
  7192. .HasColumnType("varchar(100)")
  7193. .HasCharSet("utf8")
  7194. .HasCollation("utf8_general_ci");
  7195. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7196. entity.Property(e => e.StatDate)
  7197. .HasColumnType("varchar(8)")
  7198. .HasCharSet("utf8")
  7199. .HasCollation("utf8_general_ci");
  7200. entity.Property(e => e.StatMonth)
  7201. .HasColumnType("varchar(6)")
  7202. .HasCharSet("utf8")
  7203. .HasCollation("utf8_general_ci");
  7204. entity.Property(e => e.Status).HasColumnType("int(11)");
  7205. entity.Property(e => e.TeamActMerNum).HasColumnType("int(11)");
  7206. entity.Property(e => e.TeamEndDate).HasColumnType("datetime");
  7207. entity.Property(e => e.TeamId).HasColumnType("int(11)");
  7208. entity.Property(e => e.TeamStartDate).HasColumnType("datetime");
  7209. entity.Property(e => e.TeamUserId).HasColumnType("int(11)");
  7210. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7211. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7212. entity.Property(e => e.UpdateMan)
  7213. .HasColumnType("varchar(50)")
  7214. .HasCharSet("utf8")
  7215. .HasCollation("utf8_general_ci");
  7216. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7217. entity.Property(e => e.Version).HasColumnType("int(11)");
  7218. });
  7219. modelBuilder.Entity<TeamOfferApply>(entity =>
  7220. {
  7221. entity.Property(e => e.Id).HasColumnType("int(11)");
  7222. entity.Property(e => e.Areas)
  7223. .HasColumnType("varchar(30)")
  7224. .HasCharSet("utf8")
  7225. .HasCollation("utf8_general_ci");
  7226. entity.Property(e => e.AuditRemark)
  7227. .HasColumnType("varchar(64)")
  7228. .HasCharSet("utf8")
  7229. .HasCollation("utf8_general_ci");
  7230. entity.Property(e => e.AuditResult).HasColumnType("int(11)");
  7231. entity.Property(e => e.AuditTime).HasColumnType("datetime");
  7232. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7233. entity.Property(e => e.CreateMan)
  7234. .HasColumnType("varchar(50)")
  7235. .HasCharSet("utf8")
  7236. .HasCollation("utf8_general_ci");
  7237. entity.Property(e => e.EffectEndDate).HasColumnType("datetime");
  7238. entity.Property(e => e.EffectStartDate).HasColumnType("datetime");
  7239. entity.Property(e => e.EnterDate).HasColumnType("datetime");
  7240. entity.Property(e => e.ManagerName)
  7241. .HasColumnType("varchar(32)")
  7242. .HasCharSet("utf8")
  7243. .HasCollation("utf8_general_ci");
  7244. entity.Property(e => e.ManagerNo)
  7245. .HasColumnType("varchar(32)")
  7246. .HasCharSet("utf8")
  7247. .HasCollation("utf8_general_ci");
  7248. entity.Property(e => e.NotifyFlag).HasColumnType("int(11)");
  7249. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7250. entity.Property(e => e.Remark)
  7251. .HasColumnType("varchar(64)")
  7252. .HasCharSet("utf8")
  7253. .HasCollation("utf8_general_ci");
  7254. entity.Property(e => e.SeoDescription)
  7255. .HasColumnType("varchar(500)")
  7256. .HasCharSet("utf8")
  7257. .HasCollation("utf8_general_ci");
  7258. entity.Property(e => e.SeoKeyword)
  7259. .HasColumnType("varchar(200)")
  7260. .HasCharSet("utf8")
  7261. .HasCollation("utf8_general_ci");
  7262. entity.Property(e => e.SeoTitle)
  7263. .HasColumnType("varchar(100)")
  7264. .HasCharSet("utf8")
  7265. .HasCollation("utf8_general_ci");
  7266. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7267. entity.Property(e => e.Status).HasColumnType("int(11)");
  7268. entity.Property(e => e.TeamApplyStatus).HasColumnType("int(11)");
  7269. entity.Property(e => e.TeamId).HasColumnType("int(11)");
  7270. entity.Property(e => e.TeamLeader).HasColumnType("int(11)");
  7271. entity.Property(e => e.TeamStatus).HasColumnType("int(11)");
  7272. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7273. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7274. entity.Property(e => e.UpdateMan)
  7275. .HasColumnType("varchar(50)")
  7276. .HasCharSet("utf8")
  7277. .HasCollation("utf8_general_ci");
  7278. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7279. entity.Property(e => e.Version).HasColumnType("int(11)");
  7280. });
  7281. modelBuilder.Entity<TeamPersonDayTop>(entity =>
  7282. {
  7283. entity.Property(e => e.Id).HasColumnType("int(11)");
  7284. entity.Property(e => e.ActMerNum).HasColumnType("int(11)");
  7285. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  7286. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7287. entity.Property(e => e.CreateMan)
  7288. .HasColumnType("varchar(50)")
  7289. .HasCharSet("utf8")
  7290. .HasCollation("utf8_general_ci");
  7291. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7292. entity.Property(e => e.Remark)
  7293. .HasColumnType("varchar(64)")
  7294. .HasCharSet("utf8")
  7295. .HasCollation("utf8_general_ci");
  7296. entity.Property(e => e.SeoDescription)
  7297. .HasColumnType("varchar(500)")
  7298. .HasCharSet("utf8")
  7299. .HasCollation("utf8_general_ci");
  7300. entity.Property(e => e.SeoKeyword)
  7301. .HasColumnType("varchar(200)")
  7302. .HasCharSet("utf8")
  7303. .HasCollation("utf8_general_ci");
  7304. entity.Property(e => e.SeoTitle)
  7305. .HasColumnType("varchar(100)")
  7306. .HasCharSet("utf8")
  7307. .HasCollation("utf8_general_ci");
  7308. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7309. entity.Property(e => e.StatDate)
  7310. .HasColumnType("varchar(8)")
  7311. .HasCharSet("utf8")
  7312. .HasCollation("utf8_general_ci");
  7313. entity.Property(e => e.StatMonth)
  7314. .HasColumnType("varchar(6)")
  7315. .HasCharSet("utf8")
  7316. .HasCollation("utf8_general_ci");
  7317. entity.Property(e => e.Status).HasColumnType("int(11)");
  7318. entity.Property(e => e.TeamActMerNum).HasColumnType("int(11)");
  7319. entity.Property(e => e.TeamEndDate).HasColumnType("datetime");
  7320. entity.Property(e => e.TeamId).HasColumnType("int(11)");
  7321. entity.Property(e => e.TeamStartDate).HasColumnType("datetime");
  7322. entity.Property(e => e.TeamUserId).HasColumnType("int(11)");
  7323. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7324. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7325. entity.Property(e => e.UpdateMan)
  7326. .HasColumnType("varchar(50)")
  7327. .HasCharSet("utf8")
  7328. .HasCollation("utf8_general_ci");
  7329. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7330. entity.Property(e => e.Version).HasColumnType("int(11)");
  7331. });
  7332. modelBuilder.Entity<TradeDaySummary>(entity =>
  7333. {
  7334. entity.Property(e => e.Id).HasColumnType("int(11)");
  7335. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  7336. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7337. entity.Property(e => e.CreateMan)
  7338. .HasColumnType("varchar(50)")
  7339. .HasCharSet("utf8")
  7340. .HasCollation("utf8_general_ci");
  7341. entity.Property(e => e.HelpDirectCreditTradeAmt).HasColumnType("decimal(18,2)");
  7342. entity.Property(e => e.HelpDirectDebitCapNum).HasColumnType("decimal(18,2)");
  7343. entity.Property(e => e.HelpDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)");
  7344. entity.Property(e => e.HelpDirectDebitTradeAmt).HasColumnType("decimal(18,2)");
  7345. entity.Property(e => e.HelpDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7346. entity.Property(e => e.HelpDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7347. entity.Property(e => e.HelpDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7348. entity.Property(e => e.HelpDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7349. entity.Property(e => e.HelpDirectTradeAmt).HasColumnType("decimal(18,2)");
  7350. entity.Property(e => e.HelpNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)");
  7351. entity.Property(e => e.HelpNonDirectDebitCapNum).HasColumnType("decimal(18,2)");
  7352. entity.Property(e => e.HelpNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)");
  7353. entity.Property(e => e.HelpNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)");
  7354. entity.Property(e => e.HelpNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7355. entity.Property(e => e.HelpNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7356. entity.Property(e => e.HelpNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7357. entity.Property(e => e.HelpNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7358. entity.Property(e => e.HelpNonDirectTradeAmt).HasColumnType("decimal(18,2)");
  7359. entity.Property(e => e.MgrName)
  7360. .HasColumnType("varchar(32)")
  7361. .HasCharSet("utf8")
  7362. .HasCollation("utf8_general_ci");
  7363. entity.Property(e => e.MgrNo)
  7364. .HasColumnType("varchar(16)")
  7365. .HasCharSet("utf8")
  7366. .HasCollation("utf8_general_ci");
  7367. entity.Property(e => e.NotHelpDirectCreditTradeAmt).HasColumnType("decimal(18,2)");
  7368. entity.Property(e => e.NotHelpDirectDebitCapNum).HasColumnType("int(11)");
  7369. entity.Property(e => e.NotHelpDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)");
  7370. entity.Property(e => e.NotHelpDirectDebitTradeAmt).HasColumnType("decimal(18,2)");
  7371. entity.Property(e => e.NotHelpDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7372. entity.Property(e => e.NotHelpDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7373. entity.Property(e => e.NotHelpDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7374. entity.Property(e => e.NotHelpDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7375. entity.Property(e => e.NotHelpDirectTradeAmt).HasColumnType("decimal(18,2)");
  7376. entity.Property(e => e.NotHelpNonDirectCreditTradeAmt).HasColumnType("decimal(18,2)");
  7377. entity.Property(e => e.NotHelpNonDirectDebitCapNum).HasColumnType("int(11)");
  7378. entity.Property(e => e.NotHelpNonDirectDebitCapTradeAmt).HasColumnType("decimal(18,2)");
  7379. entity.Property(e => e.NotHelpNonDirectDebitTradeAmt).HasColumnType("decimal(18,2)");
  7380. entity.Property(e => e.NotHelpNonDirectNonQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7381. entity.Property(e => e.NotHelpNonDirectNonQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7382. entity.Property(e => e.NotHelpNonDirectQrCreditTradeAmt).HasColumnType("decimal(18,2)");
  7383. entity.Property(e => e.NotHelpNonDirectQrDebitTradeAmt).HasColumnType("decimal(18,2)");
  7384. entity.Property(e => e.NotHelpNonDirectTradeAmt).HasColumnType("decimal(18,2)");
  7385. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7386. entity.Property(e => e.SeoDescription)
  7387. .HasColumnType("varchar(500)")
  7388. .HasCharSet("utf8")
  7389. .HasCollation("utf8_general_ci");
  7390. entity.Property(e => e.SeoKeyword)
  7391. .HasColumnType("varchar(200)")
  7392. .HasCharSet("utf8")
  7393. .HasCollation("utf8_general_ci");
  7394. entity.Property(e => e.SeoTitle)
  7395. .HasColumnType("varchar(100)")
  7396. .HasCharSet("utf8")
  7397. .HasCollation("utf8_general_ci");
  7398. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7399. entity.Property(e => e.Status).HasColumnType("int(11)");
  7400. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7401. entity.Property(e => e.TradeDate)
  7402. .HasColumnType("varchar(8)")
  7403. .HasCharSet("utf8")
  7404. .HasCollation("utf8_general_ci");
  7405. entity.Property(e => e.TradeMonth)
  7406. .HasColumnType("varchar(6)")
  7407. .HasCharSet("utf8")
  7408. .HasCollation("utf8_general_ci");
  7409. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7410. entity.Property(e => e.UpdateMan)
  7411. .HasColumnType("varchar(50)")
  7412. .HasCharSet("utf8")
  7413. .HasCollation("utf8_general_ci");
  7414. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7415. entity.Property(e => e.Version).HasColumnType("int(11)");
  7416. });
  7417. modelBuilder.Entity<TradeRecord>(entity =>
  7418. {
  7419. entity.Property(e => e.Id).HasColumnType("int(11)");
  7420. entity.Property(e => e.BankCardType).HasColumnType("int(11)");
  7421. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  7422. entity.Property(e => e.CapFlag).HasColumnType("int(11)");
  7423. entity.Property(e => e.ClearDate).HasColumnType("datetime");
  7424. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7425. entity.Property(e => e.CreateMan)
  7426. .HasColumnType("varchar(50)")
  7427. .HasCharSet("utf8")
  7428. .HasCollation("utf8_general_ci");
  7429. entity.Property(e => e.DirectFlag)
  7430. .HasColumnType("bit(1)")
  7431. .HasDefaultValueSql("b'0'");
  7432. entity.Property(e => e.HelpMonthCount).HasColumnType("int(11)");
  7433. entity.Property(e => e.MerBuddyType).HasColumnType("int(11)");
  7434. entity.Property(e => e.MerHelpFlag)
  7435. .HasColumnType("bit(1)")
  7436. .HasDefaultValueSql("b'0'");
  7437. entity.Property(e => e.MerNo)
  7438. .HasColumnType("varchar(32)")
  7439. .HasCharSet("utf8")
  7440. .HasCollation("utf8_general_ci");
  7441. entity.Property(e => e.MerUserId).HasColumnType("int(11)");
  7442. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  7443. entity.Property(e => e.QrPayFlag).HasColumnType("int(11)");
  7444. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7445. entity.Property(e => e.RecordNo)
  7446. .HasColumnType("varchar(32)")
  7447. .HasCharSet("utf8")
  7448. .HasCollation("utf8_general_ci");
  7449. entity.Property(e => e.Remark)
  7450. .HasColumnType("varchar(64)")
  7451. .HasCharSet("utf8")
  7452. .HasCollation("utf8_general_ci");
  7453. entity.Property(e => e.SeoDescription)
  7454. .HasColumnType("varchar(500)")
  7455. .HasCharSet("utf8")
  7456. .HasCollation("utf8_general_ci");
  7457. entity.Property(e => e.SeoKeyword)
  7458. .HasColumnType("varchar(200)")
  7459. .HasCharSet("utf8")
  7460. .HasCollation("utf8_general_ci");
  7461. entity.Property(e => e.SeoTitle)
  7462. .HasColumnType("varchar(100)")
  7463. .HasCharSet("utf8")
  7464. .HasCollation("utf8_general_ci");
  7465. entity.Property(e => e.SnNo)
  7466. .HasColumnType("varchar(32)")
  7467. .HasCharSet("utf8")
  7468. .HasCollation("utf8_general_ci");
  7469. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7470. entity.Property(e => e.Status).HasColumnType("int(11)");
  7471. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  7472. entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)");
  7473. entity.Property(e => e.TradeDate).HasColumnType("datetime");
  7474. entity.Property(e => e.TradeSerialNo)
  7475. .HasColumnType("varchar(48)")
  7476. .HasCharSet("utf8")
  7477. .HasCollation("utf8_general_ci");
  7478. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7479. entity.Property(e => e.UpdateMan)
  7480. .HasColumnType("varchar(50)")
  7481. .HasCharSet("utf8")
  7482. .HasCollation("utf8_general_ci");
  7483. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7484. entity.Property(e => e.Version).HasColumnType("int(11)");
  7485. });
  7486. modelBuilder.Entity<UploadParams>(entity =>
  7487. {
  7488. entity.Property(e => e.Id).HasColumnType("int(11)");
  7489. entity.Property(e => e.ColumnEnName)
  7490. .HasColumnType("varchar(50)")
  7491. .HasCharSet("utf8")
  7492. .HasCollation("utf8_general_ci");
  7493. entity.Property(e => e.ColumnName)
  7494. .HasColumnType("varchar(50)")
  7495. .HasCharSet("utf8")
  7496. .HasCollation("utf8_general_ci");
  7497. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7498. entity.Property(e => e.CreateMan)
  7499. .HasColumnType("varchar(50)")
  7500. .HasCharSet("utf8")
  7501. .HasCollation("utf8_general_ci");
  7502. entity.Property(e => e.ParamString)
  7503. .HasColumnType("varchar(200)")
  7504. .HasCharSet("utf8")
  7505. .HasCollation("utf8_general_ci");
  7506. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7507. entity.Property(e => e.SeoDescription)
  7508. .HasColumnType("varchar(500)")
  7509. .HasCharSet("utf8")
  7510. .HasCollation("utf8_general_ci");
  7511. entity.Property(e => e.SeoKeyword)
  7512. .HasColumnType("varchar(200)")
  7513. .HasCharSet("utf8")
  7514. .HasCollation("utf8_general_ci");
  7515. entity.Property(e => e.SeoTitle)
  7516. .HasColumnType("varchar(100)")
  7517. .HasCharSet("utf8")
  7518. .HasCollation("utf8_general_ci");
  7519. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7520. entity.Property(e => e.Status).HasColumnType("int(11)");
  7521. entity.Property(e => e.TableEnName)
  7522. .HasColumnType("varchar(50)")
  7523. .HasCharSet("utf8")
  7524. .HasCollation("utf8_general_ci");
  7525. entity.Property(e => e.TableName)
  7526. .HasColumnType("varchar(50)")
  7527. .HasCharSet("utf8")
  7528. .HasCollation("utf8_general_ci");
  7529. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7530. entity.Property(e => e.UpdateMan)
  7531. .HasColumnType("varchar(50)")
  7532. .HasCharSet("utf8")
  7533. .HasCollation("utf8_general_ci");
  7534. entity.Property(e => e.Version).HasColumnType("int(11)");
  7535. });
  7536. modelBuilder.Entity<UserAccount>(entity =>
  7537. {
  7538. entity.Property(e => e.Id).HasColumnType("int(11)");
  7539. entity.Property(e => e.AccountStatus).HasColumnType("int(11)");
  7540. entity.Property(e => e.BalanceAmount).HasColumnType("decimal(18,2)");
  7541. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7542. entity.Property(e => e.CreateMan)
  7543. .HasColumnType("varchar(50)")
  7544. .HasCharSet("utf8")
  7545. .HasCollation("utf8_general_ci");
  7546. entity.Property(e => e.FreezeAmount).HasColumnType("decimal(18,2)");
  7547. entity.Property(e => e.LockStatus).HasColumnType("int(11)");
  7548. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7549. entity.Property(e => e.SeoDescription)
  7550. .HasColumnType("varchar(500)")
  7551. .HasCharSet("utf8")
  7552. .HasCollation("utf8_general_ci");
  7553. entity.Property(e => e.SeoKeyword)
  7554. .HasColumnType("varchar(200)")
  7555. .HasCharSet("utf8")
  7556. .HasCollation("utf8_general_ci");
  7557. entity.Property(e => e.SeoTitle)
  7558. .HasColumnType("varchar(100)")
  7559. .HasCharSet("utf8")
  7560. .HasCollation("utf8_general_ci");
  7561. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7562. entity.Property(e => e.Status).HasColumnType("int(11)");
  7563. entity.Property(e => e.TeamTotalOverProfit).HasColumnType("decimal(18,2)");
  7564. entity.Property(e => e.TeamTotalProfit).HasColumnType("decimal(18,2)");
  7565. entity.Property(e => e.TeamTotalServiceProfit).HasColumnType("decimal(18,2)");
  7566. entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)");
  7567. entity.Property(e => e.TotalOverProfit).HasColumnType("decimal(18,2)");
  7568. entity.Property(e => e.TotalProfit).HasColumnType("decimal(18,2)");
  7569. entity.Property(e => e.TotalServiceProfit).HasColumnType("decimal(18,2)");
  7570. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7571. entity.Property(e => e.UpdateMan)
  7572. .HasColumnType("varchar(50)")
  7573. .HasCharSet("utf8")
  7574. .HasCollation("utf8_general_ci");
  7575. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7576. entity.Property(e => e.UserProperty).HasColumnType("int(11)");
  7577. entity.Property(e => e.UserType).HasColumnType("int(11)");
  7578. entity.Property(e => e.Version).HasColumnType("int(11)");
  7579. entity.Property(e => e.WithdrawAmount).HasColumnType("decimal(18,2)");
  7580. });
  7581. modelBuilder.Entity<UserAccountRecord>(entity =>
  7582. {
  7583. entity.Property(e => e.Id).HasColumnType("int(11)");
  7584. entity.Property(e => e.AfterBalanceAmount).HasColumnType("decimal(18,2)");
  7585. entity.Property(e => e.AfterFreezeAmount).HasColumnType("decimal(18,2)");
  7586. entity.Property(e => e.AfterTotalAmount).HasColumnType("decimal(18,2)");
  7587. entity.Property(e => e.BeforeBalanceAmount).HasColumnType("decimal(18,2)");
  7588. entity.Property(e => e.BeforeFreezeAmount).HasColumnType("decimal(18,2)");
  7589. entity.Property(e => e.BeforeTotalAmount).HasColumnType("decimal(18,2)");
  7590. entity.Property(e => e.ChangeAmount).HasColumnType("decimal(18,2)");
  7591. entity.Property(e => e.ChangeType).HasColumnType("int(11)");
  7592. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7593. entity.Property(e => e.CreateMan)
  7594. .HasColumnType("varchar(50)")
  7595. .HasCharSet("utf8")
  7596. .HasCollation("utf8_general_ci");
  7597. entity.Property(e => e.ProductType).HasColumnType("int(11)");
  7598. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7599. entity.Property(e => e.Remark)
  7600. .HasColumnType("varchar(64)")
  7601. .HasCharSet("utf8")
  7602. .HasCollation("utf8_general_ci");
  7603. entity.Property(e => e.SeoDescription)
  7604. .HasColumnType("varchar(500)")
  7605. .HasCharSet("utf8")
  7606. .HasCollation("utf8_general_ci");
  7607. entity.Property(e => e.SeoKeyword)
  7608. .HasColumnType("varchar(200)")
  7609. .HasCharSet("utf8")
  7610. .HasCollation("utf8_general_ci");
  7611. entity.Property(e => e.SeoTitle)
  7612. .HasColumnType("varchar(100)")
  7613. .HasCharSet("utf8")
  7614. .HasCollation("utf8_general_ci");
  7615. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7616. entity.Property(e => e.Status).HasColumnType("int(11)");
  7617. entity.Property(e => e.TransRecordNo)
  7618. .HasColumnType("varchar(32)")
  7619. .HasCharSet("utf8")
  7620. .HasCollation("utf8_general_ci");
  7621. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7622. entity.Property(e => e.UpdateMan)
  7623. .HasColumnType("varchar(50)")
  7624. .HasCharSet("utf8")
  7625. .HasCollation("utf8_general_ci");
  7626. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7627. entity.Property(e => e.Version).HasColumnType("int(11)");
  7628. });
  7629. modelBuilder.Entity<UserAddress>(entity =>
  7630. {
  7631. entity.Property(e => e.Id).HasColumnType("int(11)");
  7632. entity.Property(e => e.Address)
  7633. .HasColumnType("varchar(100)")
  7634. .HasCharSet("utf8")
  7635. .HasCollation("utf8_general_ci");
  7636. entity.Property(e => e.Areas)
  7637. .HasColumnType("varchar(30)")
  7638. .HasCharSet("utf8")
  7639. .HasCollation("utf8_general_ci");
  7640. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7641. entity.Property(e => e.CreateMan)
  7642. .HasColumnType("varchar(50)")
  7643. .HasCharSet("utf8")
  7644. .HasCollation("utf8_general_ci");
  7645. entity.Property(e => e.IsDefault)
  7646. .HasColumnType("bit(1)")
  7647. .HasDefaultValueSql("b'0'");
  7648. entity.Property(e => e.Mobile)
  7649. .HasColumnType("varchar(11)")
  7650. .HasCharSet("utf8")
  7651. .HasCollation("utf8_general_ci");
  7652. entity.Property(e => e.PostalCode)
  7653. .HasColumnType("varchar(6)")
  7654. .HasCharSet("utf8")
  7655. .HasCollation("utf8_general_ci");
  7656. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7657. entity.Property(e => e.RealName)
  7658. .HasColumnType("varchar(10)")
  7659. .HasCharSet("utf8")
  7660. .HasCollation("utf8_general_ci");
  7661. entity.Property(e => e.SeoDescription)
  7662. .HasColumnType("varchar(500)")
  7663. .HasCharSet("utf8")
  7664. .HasCollation("utf8_general_ci");
  7665. entity.Property(e => e.SeoKeyword)
  7666. .HasColumnType("varchar(200)")
  7667. .HasCharSet("utf8")
  7668. .HasCollation("utf8_general_ci");
  7669. entity.Property(e => e.SeoTitle)
  7670. .HasColumnType("varchar(100)")
  7671. .HasCharSet("utf8")
  7672. .HasCollation("utf8_general_ci");
  7673. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7674. entity.Property(e => e.Status).HasColumnType("int(11)");
  7675. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7676. entity.Property(e => e.UpdateMan)
  7677. .HasColumnType("varchar(50)")
  7678. .HasCharSet("utf8")
  7679. .HasCollation("utf8_general_ci");
  7680. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7681. entity.Property(e => e.Version).HasColumnType("int(11)");
  7682. });
  7683. modelBuilder.Entity<UserAuthRecord>(entity =>
  7684. {
  7685. entity.Property(e => e.Id).HasColumnType("int(11)");
  7686. entity.Property(e => e.AuthType).HasColumnType("int(11)");
  7687. entity.Property(e => e.BankCardAccount)
  7688. .HasColumnType("varchar(32)")
  7689. .HasCharSet("utf8")
  7690. .HasCollation("utf8_general_ci");
  7691. entity.Property(e => e.BankMobile)
  7692. .HasColumnType("varchar(11)")
  7693. .HasCharSet("utf8")
  7694. .HasCollation("utf8_general_ci");
  7695. entity.Property(e => e.BankName)
  7696. .HasColumnType("varchar(64)")
  7697. .HasCharSet("utf8")
  7698. .HasCollation("utf8_general_ci");
  7699. entity.Property(e => e.ChannelCode)
  7700. .HasColumnType("varchar(16)")
  7701. .HasCharSet("utf8")
  7702. .HasCollation("utf8_general_ci");
  7703. entity.Property(e => e.ChannelName)
  7704. .HasColumnType("varchar(32)")
  7705. .HasCharSet("utf8")
  7706. .HasCollation("utf8_general_ci");
  7707. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7708. entity.Property(e => e.CreateMan)
  7709. .HasColumnType("varchar(50)")
  7710. .HasCharSet("utf8")
  7711. .HasCollation("utf8_general_ci");
  7712. entity.Property(e => e.IdcardNo)
  7713. .HasColumnType("varchar(18)")
  7714. .HasCharSet("utf8")
  7715. .HasCollation("utf8_general_ci");
  7716. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7717. entity.Property(e => e.RealName)
  7718. .HasColumnType("varchar(32)")
  7719. .HasCharSet("utf8")
  7720. .HasCollation("utf8_general_ci");
  7721. entity.Property(e => e.ReqData)
  7722. .HasColumnType("varchar(2048)")
  7723. .HasCharSet("utf8")
  7724. .HasCollation("utf8_general_ci");
  7725. entity.Property(e => e.ResData)
  7726. .HasColumnType("varchar(2048)")
  7727. .HasCharSet("utf8")
  7728. .HasCollation("utf8_general_ci");
  7729. entity.Property(e => e.ReturnCode)
  7730. .HasColumnType("varchar(32)")
  7731. .HasCharSet("utf8")
  7732. .HasCollation("utf8_general_ci");
  7733. entity.Property(e => e.ReturnMsg)
  7734. .HasColumnType("varchar(128)")
  7735. .HasCharSet("utf8")
  7736. .HasCollation("utf8_general_ci");
  7737. entity.Property(e => e.SeoDescription)
  7738. .HasColumnType("varchar(500)")
  7739. .HasCharSet("utf8")
  7740. .HasCollation("utf8_general_ci");
  7741. entity.Property(e => e.SeoKeyword)
  7742. .HasColumnType("varchar(200)")
  7743. .HasCharSet("utf8")
  7744. .HasCollation("utf8_general_ci");
  7745. entity.Property(e => e.SeoTitle)
  7746. .HasColumnType("varchar(100)")
  7747. .HasCharSet("utf8")
  7748. .HasCollation("utf8_general_ci");
  7749. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7750. entity.Property(e => e.Status).HasColumnType("int(11)");
  7751. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7752. entity.Property(e => e.UpdateMan)
  7753. .HasColumnType("varchar(50)")
  7754. .HasCharSet("utf8")
  7755. .HasCollation("utf8_general_ci");
  7756. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7757. entity.Property(e => e.Version).HasColumnType("int(11)");
  7758. });
  7759. modelBuilder.Entity<UserBack>(entity =>
  7760. {
  7761. entity.Property(e => e.Id).HasColumnType("int(11)");
  7762. entity.Property(e => e.BackKind).HasColumnType("int(11)");
  7763. entity.Property(e => e.BackStatus).HasColumnType("int(11)");
  7764. entity.Property(e => e.Content)
  7765. .HasColumnType("varchar(100)")
  7766. .HasCharSet("utf8")
  7767. .HasCollation("utf8_general_ci");
  7768. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7769. entity.Property(e => e.CreateMan)
  7770. .HasColumnType("varchar(50)")
  7771. .HasCharSet("utf8")
  7772. .HasCollation("utf8_general_ci");
  7773. entity.Property(e => e.IsPhoneCallBack)
  7774. .HasColumnType("bit(1)")
  7775. .HasDefaultValueSql("b'0'");
  7776. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7777. entity.Property(e => e.ReplyContent)
  7778. .HasColumnType("mediumtext")
  7779. .HasCharSet("utf8")
  7780. .HasCollation("utf8_general_ci");
  7781. entity.Property(e => e.SeoDescription)
  7782. .HasColumnType("varchar(500)")
  7783. .HasCharSet("utf8")
  7784. .HasCollation("utf8_general_ci");
  7785. entity.Property(e => e.SeoKeyword)
  7786. .HasColumnType("varchar(200)")
  7787. .HasCharSet("utf8")
  7788. .HasCollation("utf8_general_ci");
  7789. entity.Property(e => e.SeoTitle)
  7790. .HasColumnType("varchar(100)")
  7791. .HasCharSet("utf8")
  7792. .HasCollation("utf8_general_ci");
  7793. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7794. entity.Property(e => e.Status).HasColumnType("int(11)");
  7795. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7796. entity.Property(e => e.UpdateMan)
  7797. .HasColumnType("varchar(50)")
  7798. .HasCharSet("utf8")
  7799. .HasCollation("utf8_general_ci");
  7800. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7801. entity.Property(e => e.Version).HasColumnType("int(11)");
  7802. });
  7803. modelBuilder.Entity<UserBackKind>(entity =>
  7804. {
  7805. entity.Property(e => e.Id).HasColumnType("int(11)");
  7806. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7807. entity.Property(e => e.CreateMan)
  7808. .HasColumnType("varchar(50)")
  7809. .HasCharSet("utf8")
  7810. .HasCollation("utf8_general_ci");
  7811. entity.Property(e => e.Name)
  7812. .HasColumnType("varchar(50)")
  7813. .HasCharSet("utf8")
  7814. .HasCollation("utf8_general_ci");
  7815. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7816. entity.Property(e => e.SeoDescription)
  7817. .HasColumnType("varchar(500)")
  7818. .HasCharSet("utf8")
  7819. .HasCollation("utf8_general_ci");
  7820. entity.Property(e => e.SeoKeyword)
  7821. .HasColumnType("varchar(200)")
  7822. .HasCharSet("utf8")
  7823. .HasCollation("utf8_general_ci");
  7824. entity.Property(e => e.SeoTitle)
  7825. .HasColumnType("varchar(100)")
  7826. .HasCharSet("utf8")
  7827. .HasCollation("utf8_general_ci");
  7828. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7829. entity.Property(e => e.Status).HasColumnType("int(11)");
  7830. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7831. entity.Property(e => e.UpdateMan)
  7832. .HasColumnType("varchar(50)")
  7833. .HasCharSet("utf8")
  7834. .HasCollation("utf8_general_ci");
  7835. entity.Property(e => e.Version).HasColumnType("int(11)");
  7836. });
  7837. modelBuilder.Entity<UserBalanceTop>(entity =>
  7838. {
  7839. entity.Property(e => e.Id).HasColumnType("int(11)");
  7840. entity.Property(e => e.Balance).HasColumnType("decimal(18,2)");
  7841. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7842. entity.Property(e => e.CreateMan)
  7843. .HasColumnType("varchar(50)")
  7844. .HasCharSet("utf8")
  7845. .HasCollation("utf8_general_ci");
  7846. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7847. entity.Property(e => e.SeoDescription)
  7848. .HasColumnType("varchar(500)")
  7849. .HasCharSet("utf8")
  7850. .HasCollation("utf8_general_ci");
  7851. entity.Property(e => e.SeoKeyword)
  7852. .HasColumnType("varchar(200)")
  7853. .HasCharSet("utf8")
  7854. .HasCollation("utf8_general_ci");
  7855. entity.Property(e => e.SeoTitle)
  7856. .HasColumnType("varchar(100)")
  7857. .HasCharSet("utf8")
  7858. .HasCollation("utf8_general_ci");
  7859. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7860. entity.Property(e => e.StatDate)
  7861. .HasColumnType("varchar(8)")
  7862. .HasCharSet("utf8")
  7863. .HasCollation("utf8_general_ci");
  7864. entity.Property(e => e.StatMonth)
  7865. .HasColumnType("varchar(6)")
  7866. .HasCharSet("utf8")
  7867. .HasCollation("utf8_general_ci");
  7868. entity.Property(e => e.Status).HasColumnType("int(11)");
  7869. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7870. entity.Property(e => e.UpdateMan)
  7871. .HasColumnType("varchar(50)")
  7872. .HasCharSet("utf8")
  7873. .HasCollation("utf8_general_ci");
  7874. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7875. entity.Property(e => e.Version).HasColumnType("int(11)");
  7876. });
  7877. modelBuilder.Entity<UserCar>(entity =>
  7878. {
  7879. entity.Property(e => e.Id).HasColumnType("int(11)");
  7880. entity.Property(e => e.BuyCount).HasColumnType("int(11)");
  7881. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7882. entity.Property(e => e.CreateMan)
  7883. .HasColumnType("varchar(50)")
  7884. .HasCharSet("utf8")
  7885. .HasCollation("utf8_general_ci");
  7886. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  7887. entity.Property(e => e.NormId).HasColumnType("int(11)");
  7888. entity.Property(e => e.ProductId).HasColumnType("int(11)");
  7889. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7890. entity.Property(e => e.SeoDescription)
  7891. .HasColumnType("varchar(500)")
  7892. .HasCharSet("utf8")
  7893. .HasCollation("utf8_general_ci");
  7894. entity.Property(e => e.SeoKeyword)
  7895. .HasColumnType("varchar(200)")
  7896. .HasCharSet("utf8")
  7897. .HasCollation("utf8_general_ci");
  7898. entity.Property(e => e.SeoTitle)
  7899. .HasColumnType("varchar(100)")
  7900. .HasCharSet("utf8")
  7901. .HasCollation("utf8_general_ci");
  7902. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7903. entity.Property(e => e.Status).HasColumnType("int(11)");
  7904. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  7905. entity.Property(e => e.UpdateMan)
  7906. .HasColumnType("varchar(50)")
  7907. .HasCharSet("utf8")
  7908. .HasCollation("utf8_general_ci");
  7909. entity.Property(e => e.UserId).HasColumnType("int(11)");
  7910. entity.Property(e => e.Version).HasColumnType("int(11)");
  7911. });
  7912. modelBuilder.Entity<UserCardForWeChat>(entity =>
  7913. {
  7914. entity.Property(e => e.Id).HasColumnType("int(11)");
  7915. entity.Property(e => e.BrandName)
  7916. .HasColumnType("varchar(12)")
  7917. .HasCharSet("utf8")
  7918. .HasCollation("utf8_general_ci");
  7919. entity.Property(e => e.CardId)
  7920. .HasColumnType("varchar(50)")
  7921. .HasCharSet("utf8")
  7922. .HasCollation("utf8_general_ci");
  7923. entity.Property(e => e.CardType)
  7924. .HasColumnType("varchar(30)")
  7925. .HasCharSet("utf8")
  7926. .HasCollation("utf8_general_ci");
  7927. entity.Property(e => e.CodeType)
  7928. .HasColumnType("varchar(50)")
  7929. .HasCharSet("utf8")
  7930. .HasCollation("utf8_general_ci");
  7931. entity.Property(e => e.Color)
  7932. .HasColumnType("varchar(20)")
  7933. .HasCharSet("utf8")
  7934. .HasCollation("utf8_general_ci");
  7935. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  7936. entity.Property(e => e.CreateMan)
  7937. .HasColumnType("varchar(50)")
  7938. .HasCharSet("utf8")
  7939. .HasCollation("utf8_general_ci");
  7940. entity.Property(e => e.DateType)
  7941. .HasColumnType("varchar(50)")
  7942. .HasCharSet("utf8")
  7943. .HasCollation("utf8_general_ci");
  7944. entity.Property(e => e.Description)
  7945. .HasColumnType("varchar(1024)")
  7946. .HasCharSet("utf8")
  7947. .HasCollation("utf8_general_ci");
  7948. entity.Property(e => e.EnterName)
  7949. .HasColumnType("varchar(15)")
  7950. .HasCharSet("utf8")
  7951. .HasCollation("utf8_general_ci");
  7952. entity.Property(e => e.EnterTips)
  7953. .HasColumnType("varchar(6)")
  7954. .HasCharSet("utf8")
  7955. .HasCollation("utf8_general_ci");
  7956. entity.Property(e => e.EnterUrl)
  7957. .HasColumnType("varchar(200)")
  7958. .HasCharSet("utf8")
  7959. .HasCollation("utf8_general_ci");
  7960. entity.Property(e => e.LogoUrl)
  7961. .HasColumnType("varchar(200)")
  7962. .HasCharSet("utf8")
  7963. .HasCollation("utf8_general_ci");
  7964. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  7965. entity.Property(e => e.Notice)
  7966. .HasColumnType("varchar(16)")
  7967. .HasCharSet("utf8")
  7968. .HasCollation("utf8_general_ci");
  7969. entity.Property(e => e.Prerogative)
  7970. .HasColumnType("varchar(1024)")
  7971. .HasCharSet("utf8")
  7972. .HasCollation("utf8_general_ci");
  7973. entity.Property(e => e.Quantity).HasColumnType("int(11)");
  7974. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  7975. entity.Property(e => e.SeoDescription)
  7976. .HasColumnType("varchar(500)")
  7977. .HasCharSet("utf8")
  7978. .HasCollation("utf8_general_ci");
  7979. entity.Property(e => e.SeoKeyword)
  7980. .HasColumnType("varchar(200)")
  7981. .HasCharSet("utf8")
  7982. .HasCollation("utf8_general_ci");
  7983. entity.Property(e => e.SeoTitle)
  7984. .HasColumnType("varchar(100)")
  7985. .HasCharSet("utf8")
  7986. .HasCollation("utf8_general_ci");
  7987. entity.Property(e => e.Sku)
  7988. .HasColumnType("mediumtext")
  7989. .HasCharSet("utf8")
  7990. .HasCollation("utf8_general_ci");
  7991. entity.Property(e => e.Sort).HasColumnType("int(11)");
  7992. entity.Property(e => e.Status).HasColumnType("int(11)");
  7993. entity.Property(e => e.SupplyBalance)
  7994. .HasColumnType("bit(1)")
  7995. .HasDefaultValueSql("b'0'");
  7996. entity.Property(e => e.SupplyBonus)
  7997. .HasColumnType("bit(1)")
  7998. .HasDefaultValueSql("b'0'");
  7999. entity.Property(e => e.Title)
  8000. .HasColumnType("varchar(9)")
  8001. .HasCharSet("utf8")
  8002. .HasCollation("utf8_general_ci");
  8003. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8004. entity.Property(e => e.UpdateMan)
  8005. .HasColumnType("varchar(50)")
  8006. .HasCharSet("utf8")
  8007. .HasCollation("utf8_general_ci");
  8008. entity.Property(e => e.Version).HasColumnType("int(11)");
  8009. });
  8010. modelBuilder.Entity<UserCardRecord>(entity =>
  8011. {
  8012. entity.Property(e => e.Id).HasColumnType("int(11)");
  8013. entity.Property(e => e.CardId).HasColumnType("int(11)");
  8014. entity.Property(e => e.ConsumerId).HasColumnType("int(11)");
  8015. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8016. entity.Property(e => e.CreateMan)
  8017. .HasColumnType("varchar(50)")
  8018. .HasCharSet("utf8")
  8019. .HasCollation("utf8_general_ci");
  8020. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  8021. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8022. entity.Property(e => e.SeoDescription)
  8023. .HasColumnType("varchar(500)")
  8024. .HasCharSet("utf8")
  8025. .HasCollation("utf8_general_ci");
  8026. entity.Property(e => e.SeoKeyword)
  8027. .HasColumnType("varchar(200)")
  8028. .HasCharSet("utf8")
  8029. .HasCollation("utf8_general_ci");
  8030. entity.Property(e => e.SeoTitle)
  8031. .HasColumnType("varchar(100)")
  8032. .HasCharSet("utf8")
  8033. .HasCollation("utf8_general_ci");
  8034. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8035. entity.Property(e => e.Status).HasColumnType("int(11)");
  8036. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8037. entity.Property(e => e.UpdateMan)
  8038. .HasColumnType("varchar(50)")
  8039. .HasCharSet("utf8")
  8040. .HasCollation("utf8_general_ci");
  8041. entity.Property(e => e.Version).HasColumnType("int(11)");
  8042. });
  8043. modelBuilder.Entity<UserCashRecord>(entity =>
  8044. {
  8045. entity.Property(e => e.Id).HasColumnType("int(11)");
  8046. entity.Property(e => e.ActualTradeAmount).HasColumnType("decimal(18,2)");
  8047. entity.Property(e => e.CashOrderNo)
  8048. .HasColumnType("varchar(32)")
  8049. .HasCharSet("utf8")
  8050. .HasCollation("utf8_general_ci");
  8051. entity.Property(e => e.ChanelName)
  8052. .HasColumnType("varchar(32)")
  8053. .HasCharSet("utf8")
  8054. .HasCollation("utf8_general_ci");
  8055. entity.Property(e => e.ChannelCode)
  8056. .HasColumnType("varchar(16)")
  8057. .HasCharSet("utf8")
  8058. .HasCollation("utf8_general_ci");
  8059. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8060. entity.Property(e => e.CreateMan)
  8061. .HasColumnType("varchar(50)")
  8062. .HasCharSet("utf8")
  8063. .HasCollation("utf8_general_ci");
  8064. entity.Property(e => e.IdCardNo)
  8065. .HasColumnType("varchar(18)")
  8066. .HasCharSet("utf8")
  8067. .HasCollation("utf8_general_ci");
  8068. entity.Property(e => e.Ip)
  8069. .HasColumnType("varchar(15)")
  8070. .HasCharSet("utf8")
  8071. .HasCollation("utf8_general_ci");
  8072. entity.Property(e => e.ManageFee).HasColumnType("decimal(18,2)");
  8073. entity.Property(e => e.MediaSource)
  8074. .HasColumnType("varchar(16)")
  8075. .HasCharSet("utf8")
  8076. .HasCollation("utf8_general_ci");
  8077. entity.Property(e => e.PayTradeNo)
  8078. .HasColumnType("varchar(32)")
  8079. .HasCharSet("utf8")
  8080. .HasCollation("utf8_general_ci");
  8081. entity.Property(e => e.PaymentDate).HasColumnType("datetime");
  8082. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8083. entity.Property(e => e.Remark)
  8084. .HasColumnType("varchar(128)")
  8085. .HasCharSet("utf8")
  8086. .HasCollation("utf8_general_ci");
  8087. entity.Property(e => e.ReqData)
  8088. .HasColumnType("varchar(2048)")
  8089. .HasCharSet("utf8")
  8090. .HasCollation("utf8_general_ci");
  8091. entity.Property(e => e.ResData)
  8092. .HasColumnType("varchar(2048)")
  8093. .HasCharSet("utf8")
  8094. .HasCollation("utf8_general_ci");
  8095. entity.Property(e => e.ReturnCode)
  8096. .HasColumnType("varchar(32)")
  8097. .HasCharSet("utf8")
  8098. .HasCollation("utf8_general_ci");
  8099. entity.Property(e => e.ReturnMsg)
  8100. .HasColumnType("varchar(128)")
  8101. .HasCharSet("utf8")
  8102. .HasCollation("utf8_general_ci");
  8103. entity.Property(e => e.SeoDescription)
  8104. .HasColumnType("varchar(500)")
  8105. .HasCharSet("utf8")
  8106. .HasCollation("utf8_general_ci");
  8107. entity.Property(e => e.SeoKeyword)
  8108. .HasColumnType("varchar(200)")
  8109. .HasCharSet("utf8")
  8110. .HasCollation("utf8_general_ci");
  8111. entity.Property(e => e.SeoTitle)
  8112. .HasColumnType("varchar(100)")
  8113. .HasCharSet("utf8")
  8114. .HasCollation("utf8_general_ci");
  8115. entity.Property(e => e.SettleBankCardNo)
  8116. .HasColumnType("varchar(32)")
  8117. .HasCharSet("utf8")
  8118. .HasCollation("utf8_general_ci");
  8119. entity.Property(e => e.SettleBankName)
  8120. .HasColumnType("varchar(64)")
  8121. .HasCharSet("utf8")
  8122. .HasCollation("utf8_general_ci");
  8123. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8124. entity.Property(e => e.Status).HasColumnType("int(11)");
  8125. entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)");
  8126. entity.Property(e => e.TradeFee).HasColumnType("decimal(18,2)");
  8127. entity.Property(e => e.TradeType).HasColumnType("int(11)");
  8128. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8129. entity.Property(e => e.UpdateMan)
  8130. .HasColumnType("varchar(50)")
  8131. .HasCharSet("utf8")
  8132. .HasCollation("utf8_general_ci");
  8133. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8134. entity.Property(e => e.Version).HasColumnType("int(11)");
  8135. });
  8136. modelBuilder.Entity<UserCenterIconList>(entity =>
  8137. {
  8138. entity.Property(e => e.Id).HasColumnType("int(11)");
  8139. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8140. entity.Property(e => e.CreateMan)
  8141. .HasColumnType("varchar(50)")
  8142. .HasCharSet("utf8")
  8143. .HasCollation("utf8_general_ci");
  8144. entity.Property(e => e.Icon)
  8145. .HasColumnType("varchar(200)")
  8146. .HasCharSet("utf8")
  8147. .HasCollation("utf8_general_ci");
  8148. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8149. entity.Property(e => e.SeoDescription)
  8150. .HasColumnType("varchar(500)")
  8151. .HasCharSet("utf8")
  8152. .HasCollation("utf8_general_ci");
  8153. entity.Property(e => e.SeoKeyword)
  8154. .HasColumnType("varchar(200)")
  8155. .HasCharSet("utf8")
  8156. .HasCollation("utf8_general_ci");
  8157. entity.Property(e => e.SeoTitle)
  8158. .HasColumnType("varchar(100)")
  8159. .HasCharSet("utf8")
  8160. .HasCollation("utf8_general_ci");
  8161. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8162. entity.Property(e => e.Status).HasColumnType("int(11)");
  8163. entity.Property(e => e.Title)
  8164. .HasColumnType("varchar(50)")
  8165. .HasCharSet("utf8")
  8166. .HasCollation("utf8_general_ci");
  8167. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8168. entity.Property(e => e.UpdateMan)
  8169. .HasColumnType("varchar(50)")
  8170. .HasCharSet("utf8")
  8171. .HasCollation("utf8_general_ci");
  8172. entity.Property(e => e.Url)
  8173. .HasColumnType("varchar(50)")
  8174. .HasCharSet("utf8")
  8175. .HasCollation("utf8_general_ci");
  8176. entity.Property(e => e.Version).HasColumnType("int(11)");
  8177. });
  8178. modelBuilder.Entity<UserCollection>(entity =>
  8179. {
  8180. entity.Property(e => e.Id).HasColumnType("int(11)");
  8181. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8182. entity.Property(e => e.CreateMan)
  8183. .HasColumnType("varchar(50)")
  8184. .HasCharSet("utf8")
  8185. .HasCollation("utf8_general_ci");
  8186. entity.Property(e => e.DataId).HasColumnType("int(11)");
  8187. entity.Property(e => e.Kind).HasColumnType("int(11)");
  8188. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8189. entity.Property(e => e.SeoDescription)
  8190. .HasColumnType("varchar(500)")
  8191. .HasCharSet("utf8")
  8192. .HasCollation("utf8_general_ci");
  8193. entity.Property(e => e.SeoKeyword)
  8194. .HasColumnType("varchar(200)")
  8195. .HasCharSet("utf8")
  8196. .HasCollation("utf8_general_ci");
  8197. entity.Property(e => e.SeoTitle)
  8198. .HasColumnType("varchar(100)")
  8199. .HasCharSet("utf8")
  8200. .HasCollation("utf8_general_ci");
  8201. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8202. entity.Property(e => e.Status).HasColumnType("int(11)");
  8203. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8204. entity.Property(e => e.UpdateMan)
  8205. .HasColumnType("varchar(50)")
  8206. .HasCharSet("utf8")
  8207. .HasCollation("utf8_general_ci");
  8208. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8209. entity.Property(e => e.Version).HasColumnType("int(11)");
  8210. });
  8211. modelBuilder.Entity<UserData>(entity =>
  8212. {
  8213. entity.HasKey(e => e.UserId)
  8214. .HasName("PRIMARY");
  8215. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8216. entity.Property(e => e.ActiveRewardAmount).HasColumnType("decimal(18,2)");
  8217. entity.Property(e => e.CashFreezeAmt).HasColumnType("decimal(18,2)");
  8218. entity.Property(e => e.CollectionCount).HasColumnType("int(11)");
  8219. entity.Property(e => e.Coupons).HasColumnType("decimal(18,2)");
  8220. entity.Property(e => e.CurMoney).HasColumnType("decimal(18,2)");
  8221. entity.Property(e => e.FansCount).HasColumnType("int(11)");
  8222. entity.Property(e => e.FollowCount).HasColumnType("int(11)");
  8223. entity.Property(e => e.GrowthValue).HasColumnType("int(11)");
  8224. entity.Property(e => e.Integral).HasColumnType("decimal(18,2)");
  8225. entity.Property(e => e.MachineCount).HasColumnType("int(11)");
  8226. entity.Property(e => e.ProfitRewardRate).HasColumnType("decimal(18,2)");
  8227. entity.Property(e => e.SettleAmount).HasColumnType("decimal(18,2)");
  8228. entity.Property(e => e.ToCommentOrderCount).HasColumnType("int(11)");
  8229. entity.Property(e => e.ToPayOrderCount).HasColumnType("int(11)");
  8230. entity.Property(e => e.ToReceiveOrderCount).HasColumnType("int(11)");
  8231. entity.Property(e => e.ToRefundOrderCount).HasColumnType("int(11)");
  8232. entity.Property(e => e.ToSendOrderCount).HasColumnType("int(11)");
  8233. entity.Property(e => e.TotalOrderMoney).HasColumnType("decimal(18,2)");
  8234. entity.Property(e => e.TotalUseIntegral).HasColumnType("decimal(18,2)");
  8235. });
  8236. modelBuilder.Entity<UserDetail>(entity =>
  8237. {
  8238. entity.Property(e => e.Id).HasColumnType("int(11)");
  8239. entity.Property(e => e.AddMan).HasColumnType("int(11)");
  8240. entity.Property(e => e.Birthday).HasColumnType("datetime");
  8241. entity.Property(e => e.CardAddAddress).HasColumnType("int(11)");
  8242. entity.Property(e => e.CardExpireDate).HasColumnType("datetime");
  8243. entity.Property(e => e.EduLevel).HasColumnType("int(11)");
  8244. entity.Property(e => e.Email)
  8245. .HasColumnType("varchar(50)")
  8246. .HasCharSet("utf8")
  8247. .HasCollation("utf8_general_ci");
  8248. entity.Property(e => e.FamilyIncome).HasColumnType("int(11)");
  8249. entity.Property(e => e.Interests)
  8250. .HasColumnType("varchar(200)")
  8251. .HasCharSet("utf8")
  8252. .HasCollation("utf8_general_ci");
  8253. entity.Property(e => e.Note)
  8254. .HasColumnType("longtext")
  8255. .HasCharSet("utf8")
  8256. .HasCollation("utf8_general_ci");
  8257. entity.Property(e => e.OfficePhone)
  8258. .HasColumnType("varchar(50)")
  8259. .HasCharSet("utf8")
  8260. .HasCollation("utf8_general_ci");
  8261. entity.Property(e => e.PostalCode)
  8262. .HasColumnType("varchar(6)")
  8263. .HasCharSet("utf8")
  8264. .HasCollation("utf8_general_ci");
  8265. entity.Property(e => e.PrivatePhone)
  8266. .HasColumnType("varchar(50)")
  8267. .HasCharSet("utf8")
  8268. .HasCollation("utf8_general_ci");
  8269. entity.Property(e => e.ToShopDate).HasColumnType("datetime");
  8270. entity.Property(e => e.TrafficTool).HasColumnType("int(11)");
  8271. entity.Property(e => e.UpdateMan).HasColumnType("int(11)");
  8272. entity.Property(e => e.UserJob).HasColumnType("int(11)");
  8273. });
  8274. modelBuilder.Entity<UserFamilyMember>(entity =>
  8275. {
  8276. entity.Property(e => e.Id).HasColumnType("int(11)");
  8277. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8278. entity.Property(e => e.CreateMan)
  8279. .HasColumnType("varchar(50)")
  8280. .HasCharSet("utf8")
  8281. .HasCollation("utf8_general_ci");
  8282. entity.Property(e => e.IdCardNo)
  8283. .HasColumnType("varchar(18)")
  8284. .HasCharSet("utf8")
  8285. .HasCollation("utf8_general_ci");
  8286. entity.Property(e => e.Job).HasColumnType("int(11)");
  8287. entity.Property(e => e.MemberKind).HasColumnType("int(11)");
  8288. entity.Property(e => e.Mobile)
  8289. .HasColumnType("varchar(11)")
  8290. .HasCharSet("utf8")
  8291. .HasCollation("utf8_general_ci");
  8292. entity.Property(e => e.Name)
  8293. .HasColumnType("varchar(20)")
  8294. .HasCharSet("utf8")
  8295. .HasCollation("utf8_general_ci");
  8296. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8297. entity.Property(e => e.SeoDescription)
  8298. .HasColumnType("varchar(500)")
  8299. .HasCharSet("utf8")
  8300. .HasCollation("utf8_general_ci");
  8301. entity.Property(e => e.SeoKeyword)
  8302. .HasColumnType("varchar(200)")
  8303. .HasCharSet("utf8")
  8304. .HasCollation("utf8_general_ci");
  8305. entity.Property(e => e.SeoTitle)
  8306. .HasColumnType("varchar(100)")
  8307. .HasCharSet("utf8")
  8308. .HasCollation("utf8_general_ci");
  8309. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8310. entity.Property(e => e.Status).HasColumnType("int(11)");
  8311. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8312. entity.Property(e => e.UpdateMan)
  8313. .HasColumnType("varchar(50)")
  8314. .HasCharSet("utf8")
  8315. .HasCollation("utf8_general_ci");
  8316. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8317. entity.Property(e => e.Version).HasColumnType("int(11)");
  8318. });
  8319. modelBuilder.Entity<UserForMakerCode>(entity =>
  8320. {
  8321. entity.HasKey(e => e.MakerCode)
  8322. .HasName("PRIMARY");
  8323. entity.Property(e => e.MakerCode)
  8324. .HasColumnType("varchar(30)")
  8325. .HasCharSet("utf8")
  8326. .HasCollation("utf8_general_ci");
  8327. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8328. });
  8329. modelBuilder.Entity<UserForMobile>(entity =>
  8330. {
  8331. entity.HasKey(e => e.Mobile)
  8332. .HasName("PRIMARY");
  8333. entity.Property(e => e.Mobile)
  8334. .HasColumnType("varchar(11)")
  8335. .HasCharSet("utf8")
  8336. .HasCollation("utf8_general_ci");
  8337. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8338. });
  8339. modelBuilder.Entity<UserForRealName>(entity =>
  8340. {
  8341. entity.HasKey(e => e.RealName)
  8342. .HasName("PRIMARY");
  8343. entity.Property(e => e.RealName)
  8344. .HasColumnType("varchar(30)")
  8345. .HasCharSet("utf8")
  8346. .HasCollation("utf8_general_ci");
  8347. entity.Property(e => e.UserId)
  8348. .HasColumnType("varchar(100)")
  8349. .HasCharSet("utf8")
  8350. .HasCollation("utf8_general_ci");
  8351. });
  8352. modelBuilder.Entity<UserFriend>(entity =>
  8353. {
  8354. entity.Property(e => e.Id).HasColumnType("int(11)");
  8355. entity.Property(e => e.FriendId).HasColumnType("int(11)");
  8356. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8357. });
  8358. modelBuilder.Entity<UserGroup>(entity =>
  8359. {
  8360. entity.Property(e => e.Id).HasColumnType("int(11)");
  8361. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8362. entity.Property(e => e.CreateMan)
  8363. .HasColumnType("varchar(50)")
  8364. .HasCharSet("utf8")
  8365. .HasCollation("utf8_general_ci");
  8366. entity.Property(e => e.Details)
  8367. .HasColumnType("varchar(200)")
  8368. .HasCharSet("utf8")
  8369. .HasCollation("utf8_general_ci");
  8370. entity.Property(e => e.Name)
  8371. .HasColumnType("varchar(20)")
  8372. .HasCharSet("utf8")
  8373. .HasCollation("utf8_general_ci");
  8374. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8375. entity.Property(e => e.SeoDescription)
  8376. .HasColumnType("varchar(500)")
  8377. .HasCharSet("utf8")
  8378. .HasCollation("utf8_general_ci");
  8379. entity.Property(e => e.SeoKeyword)
  8380. .HasColumnType("varchar(200)")
  8381. .HasCharSet("utf8")
  8382. .HasCollation("utf8_general_ci");
  8383. entity.Property(e => e.SeoTitle)
  8384. .HasColumnType("varchar(100)")
  8385. .HasCharSet("utf8")
  8386. .HasCollation("utf8_general_ci");
  8387. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8388. entity.Property(e => e.Status).HasColumnType("int(11)");
  8389. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8390. entity.Property(e => e.UpdateMan)
  8391. .HasColumnType("varchar(50)")
  8392. .HasCharSet("utf8")
  8393. .HasCollation("utf8_general_ci");
  8394. entity.Property(e => e.Version).HasColumnType("int(11)");
  8395. });
  8396. modelBuilder.Entity<UserLevelSet>(entity =>
  8397. {
  8398. entity.Property(e => e.Id).HasColumnType("int(11)");
  8399. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8400. entity.Property(e => e.CreateMan)
  8401. .HasColumnType("varchar(50)")
  8402. .HasCharSet("utf8")
  8403. .HasCollation("utf8_general_ci");
  8404. entity.Property(e => e.Details)
  8405. .HasColumnType("varchar(200)")
  8406. .HasCharSet("utf8")
  8407. .HasCollation("utf8_general_ci");
  8408. entity.Property(e => e.Name)
  8409. .HasColumnType("varchar(20)")
  8410. .HasCharSet("utf8")
  8411. .HasCollation("utf8_general_ci");
  8412. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8413. entity.Property(e => e.SeoDescription)
  8414. .HasColumnType("varchar(500)")
  8415. .HasCharSet("utf8")
  8416. .HasCollation("utf8_general_ci");
  8417. entity.Property(e => e.SeoKeyword)
  8418. .HasColumnType("varchar(200)")
  8419. .HasCharSet("utf8")
  8420. .HasCollation("utf8_general_ci");
  8421. entity.Property(e => e.SeoTitle)
  8422. .HasColumnType("varchar(100)")
  8423. .HasCharSet("utf8")
  8424. .HasCollation("utf8_general_ci");
  8425. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8426. entity.Property(e => e.Status).HasColumnType("int(11)");
  8427. entity.Property(e => e.UpLevelDays).HasColumnType("int(11)");
  8428. entity.Property(e => e.UpLevelGrowth).HasColumnType("int(11)");
  8429. entity.Property(e => e.UpLevelIntegral).HasColumnType("decimal(10,0)");
  8430. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8431. entity.Property(e => e.UpdateMan)
  8432. .HasColumnType("varchar(50)")
  8433. .HasCharSet("utf8")
  8434. .HasCollation("utf8_general_ci");
  8435. entity.Property(e => e.Version).HasColumnType("int(11)");
  8436. });
  8437. modelBuilder.Entity<UserLoginRecord>(entity =>
  8438. {
  8439. entity.Property(e => e.Id).HasColumnType("int(11)");
  8440. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8441. entity.Property(e => e.CreateMan)
  8442. .HasColumnType("varchar(50)")
  8443. .HasCharSet("utf8")
  8444. .HasCollation("utf8_general_ci");
  8445. entity.Property(e => e.Kind).HasColumnType("int(11)");
  8446. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8447. entity.Property(e => e.SeoDescription)
  8448. .HasColumnType("varchar(500)")
  8449. .HasCharSet("utf8")
  8450. .HasCollation("utf8_general_ci");
  8451. entity.Property(e => e.SeoKeyword)
  8452. .HasColumnType("varchar(200)")
  8453. .HasCharSet("utf8")
  8454. .HasCollation("utf8_general_ci");
  8455. entity.Property(e => e.SeoTitle)
  8456. .HasColumnType("varchar(100)")
  8457. .HasCharSet("utf8")
  8458. .HasCollation("utf8_general_ci");
  8459. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8460. entity.Property(e => e.Status).HasColumnType("int(11)");
  8461. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8462. entity.Property(e => e.UpdateMan)
  8463. .HasColumnType("varchar(50)")
  8464. .HasCharSet("utf8")
  8465. .HasCollation("utf8_general_ci");
  8466. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8467. entity.Property(e => e.Version).HasColumnType("int(11)");
  8468. });
  8469. modelBuilder.Entity<UserMachineData>(entity =>
  8470. {
  8471. entity.HasKey(e => e.IdBrand)
  8472. .HasName("PRIMARY");
  8473. entity.Property(e => e.IdBrand)
  8474. .HasColumnType("varchar(50)")
  8475. .HasCharSet("utf8")
  8476. .HasCollation("utf8_general_ci");
  8477. entity.Property(e => e.ActProfit).HasColumnType("decimal(18,2)");
  8478. entity.Property(e => e.BindCount).HasColumnType("int(11)");
  8479. entity.Property(e => e.DividendsProfit).HasColumnType("decimal(18,2)");
  8480. entity.Property(e => e.FluxProfit).HasColumnType("decimal(18,2)");
  8481. entity.Property(e => e.OpenProfit).HasColumnType("decimal(18,2)");
  8482. entity.Property(e => e.OtherProfit).HasColumnType("decimal(18,2)");
  8483. entity.Property(e => e.TotalMachineCount).HasColumnType("int(11)");
  8484. entity.Property(e => e.TradeProfit).HasColumnType("decimal(18,2)");
  8485. entity.Property(e => e.UnBindCount).HasColumnType("int(11)");
  8486. });
  8487. modelBuilder.Entity<UserMallLargeSn>(entity =>
  8488. {
  8489. entity.Property(e => e.Id).HasColumnType("int(11)");
  8490. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  8491. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8492. entity.Property(e => e.CreateMan)
  8493. .HasColumnType("varchar(50)")
  8494. .HasCharSet("utf8")
  8495. .HasCollation("utf8_general_ci");
  8496. entity.Property(e => e.OrderAmount).HasColumnType("decimal(18,2)");
  8497. entity.Property(e => e.OrderNo)
  8498. .HasColumnType("varchar(32)")
  8499. .HasCharSet("utf8")
  8500. .HasCollation("utf8_general_ci");
  8501. entity.Property(e => e.OrderNum).HasColumnType("int(11)");
  8502. entity.Property(e => e.ProductName)
  8503. .HasColumnType("varchar(32)")
  8504. .HasCharSet("utf8")
  8505. .HasCollation("utf8_general_ci");
  8506. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8507. entity.Property(e => e.Remark)
  8508. .HasColumnType("varchar(64)")
  8509. .HasCharSet("utf8")
  8510. .HasCollation("utf8_general_ci");
  8511. entity.Property(e => e.RuleOrderAmt).HasColumnType("decimal(18,2)");
  8512. entity.Property(e => e.SeoDescription)
  8513. .HasColumnType("varchar(500)")
  8514. .HasCharSet("utf8")
  8515. .HasCollation("utf8_general_ci");
  8516. entity.Property(e => e.SeoKeyword)
  8517. .HasColumnType("varchar(200)")
  8518. .HasCharSet("utf8")
  8519. .HasCollation("utf8_general_ci");
  8520. entity.Property(e => e.SeoTitle)
  8521. .HasColumnType("varchar(100)")
  8522. .HasCharSet("utf8")
  8523. .HasCollation("utf8_general_ci");
  8524. entity.Property(e => e.SnNo)
  8525. .HasColumnType("varchar(32)")
  8526. .HasCharSet("utf8")
  8527. .HasCollation("utf8_general_ci");
  8528. entity.Property(e => e.SnShipDate).HasColumnType("datetime");
  8529. entity.Property(e => e.SnStatus).HasColumnType("int(11)");
  8530. entity.Property(e => e.SnType).HasColumnType("int(11)");
  8531. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8532. entity.Property(e => e.Status).HasColumnType("int(11)");
  8533. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  8534. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8535. entity.Property(e => e.UpdateMan)
  8536. .HasColumnType("varchar(50)")
  8537. .HasCharSet("utf8")
  8538. .HasCollation("utf8_general_ci");
  8539. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8540. entity.Property(e => e.Version).HasColumnType("int(11)");
  8541. });
  8542. modelBuilder.Entity<UserOfflineSignInRecords>(entity =>
  8543. {
  8544. entity.Property(e => e.Id).HasColumnType("int(11)");
  8545. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8546. entity.Property(e => e.CreateMan)
  8547. .HasColumnType("varchar(50)")
  8548. .HasCharSet("utf8")
  8549. .HasCollation("utf8_general_ci");
  8550. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  8551. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8552. entity.Property(e => e.SeoDescription)
  8553. .HasColumnType("varchar(500)")
  8554. .HasCharSet("utf8")
  8555. .HasCollation("utf8_general_ci");
  8556. entity.Property(e => e.SeoKeyword)
  8557. .HasColumnType("varchar(200)")
  8558. .HasCharSet("utf8")
  8559. .HasCollation("utf8_general_ci");
  8560. entity.Property(e => e.SeoTitle)
  8561. .HasColumnType("varchar(100)")
  8562. .HasCharSet("utf8")
  8563. .HasCollation("utf8_general_ci");
  8564. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8565. entity.Property(e => e.Status).HasColumnType("int(11)");
  8566. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8567. entity.Property(e => e.UpdateMan)
  8568. .HasColumnType("varchar(50)")
  8569. .HasCharSet("utf8")
  8570. .HasCollation("utf8_general_ci");
  8571. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8572. entity.Property(e => e.Version).HasColumnType("int(11)");
  8573. });
  8574. modelBuilder.Entity<UserProfit>(entity =>
  8575. {
  8576. entity.Property(e => e.Id).HasColumnType("int(11)");
  8577. entity.Property(e => e.AddOrSubRate).HasColumnType("decimal(18,2)");
  8578. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  8579. entity.Property(e => e.CardType)
  8580. .HasColumnType("varchar(10)")
  8581. .HasCharSet("utf8")
  8582. .HasCollation("utf8_general_ci");
  8583. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8584. entity.Property(e => e.CreateMan)
  8585. .HasColumnType("varchar(50)")
  8586. .HasCharSet("utf8")
  8587. .HasCollation("utf8_general_ci");
  8588. entity.Property(e => e.HelpAddOrSubRate).HasColumnType("decimal(18,2)");
  8589. entity.Property(e => e.HelpProfitPercent).HasColumnType("decimal(18,2)");
  8590. entity.Property(e => e.HelpProfitRate).HasColumnType("decimal(18,2)");
  8591. entity.Property(e => e.HelpProfitRateBase).HasColumnType("decimal(18,2)");
  8592. entity.Property(e => e.ProfitPercent).HasColumnType("decimal(18,2)");
  8593. entity.Property(e => e.ProfitRate).HasColumnType("decimal(18,2)");
  8594. entity.Property(e => e.ProfitRateBase).HasColumnType("decimal(18,2)");
  8595. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8596. entity.Property(e => e.Remark)
  8597. .HasColumnType("varchar(64)")
  8598. .HasCharSet("utf8")
  8599. .HasCollation("utf8_general_ci");
  8600. entity.Property(e => e.SeoDescription)
  8601. .HasColumnType("varchar(500)")
  8602. .HasCharSet("utf8")
  8603. .HasCollation("utf8_general_ci");
  8604. entity.Property(e => e.SeoKeyword)
  8605. .HasColumnType("varchar(200)")
  8606. .HasCharSet("utf8")
  8607. .HasCollation("utf8_general_ci");
  8608. entity.Property(e => e.SeoTitle)
  8609. .HasColumnType("varchar(100)")
  8610. .HasCharSet("utf8")
  8611. .HasCollation("utf8_general_ci");
  8612. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8613. entity.Property(e => e.Status).HasColumnType("int(11)");
  8614. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  8615. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8616. entity.Property(e => e.UpdateMan)
  8617. .HasColumnType("varchar(50)")
  8618. .HasCharSet("utf8")
  8619. .HasCollation("utf8_general_ci");
  8620. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8621. entity.Property(e => e.Version).HasColumnType("int(11)");
  8622. });
  8623. modelBuilder.Entity<UserProfitSet>(entity =>
  8624. {
  8625. entity.Property(e => e.Id).HasColumnType("int(11)");
  8626. entity.Property(e => e.AddOrSubRate).HasColumnType("decimal(18,2)");
  8627. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  8628. entity.Property(e => e.CardType).HasColumnType("int(11)");
  8629. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8630. entity.Property(e => e.CreateMan)
  8631. .HasColumnType("varchar(50)")
  8632. .HasCharSet("utf8")
  8633. .HasCollation("utf8_general_ci");
  8634. entity.Property(e => e.HelpFlag).HasColumnType("int(11)");
  8635. entity.Property(e => e.ProfitPercent).HasColumnType("decimal(18,2)");
  8636. entity.Property(e => e.ProfitRate).HasColumnType("decimal(18,2)");
  8637. entity.Property(e => e.ProfitRateBase).HasColumnType("decimal(18,2)");
  8638. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8639. entity.Property(e => e.Remark)
  8640. .HasColumnType("varchar(64)")
  8641. .HasCharSet("utf8")
  8642. .HasCollation("utf8_general_ci");
  8643. entity.Property(e => e.SeoDescription)
  8644. .HasColumnType("varchar(500)")
  8645. .HasCharSet("utf8")
  8646. .HasCollation("utf8_general_ci");
  8647. entity.Property(e => e.SeoKeyword)
  8648. .HasColumnType("varchar(200)")
  8649. .HasCharSet("utf8")
  8650. .HasCollation("utf8_general_ci");
  8651. entity.Property(e => e.SeoTitle)
  8652. .HasColumnType("varchar(100)")
  8653. .HasCharSet("utf8")
  8654. .HasCollation("utf8_general_ci");
  8655. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8656. entity.Property(e => e.Status).HasColumnType("int(11)");
  8657. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  8658. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8659. entity.Property(e => e.UpdateMan)
  8660. .HasColumnType("varchar(50)")
  8661. .HasCharSet("utf8")
  8662. .HasCollation("utf8_general_ci");
  8663. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8664. entity.Property(e => e.Version).HasColumnType("int(11)");
  8665. });
  8666. modelBuilder.Entity<UserProfitSubsidySummary>(entity =>
  8667. {
  8668. entity.Property(e => e.Id).HasColumnType("int(11)");
  8669. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  8670. entity.Property(e => e.CheckStatus).HasColumnType("int(11)");
  8671. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8672. entity.Property(e => e.CreateMan)
  8673. .HasColumnType("varchar(50)")
  8674. .HasCharSet("utf8")
  8675. .HasCollation("utf8_general_ci");
  8676. entity.Property(e => e.MgrName)
  8677. .HasColumnType("varchar(32)")
  8678. .HasCharSet("utf8")
  8679. .HasCollation("utf8_general_ci");
  8680. entity.Property(e => e.MgrNo)
  8681. .HasColumnType("varchar(16)")
  8682. .HasCharSet("utf8")
  8683. .HasCollation("utf8_general_ci");
  8684. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8685. entity.Property(e => e.SeoDescription)
  8686. .HasColumnType("varchar(500)")
  8687. .HasCharSet("utf8")
  8688. .HasCollation("utf8_general_ci");
  8689. entity.Property(e => e.SeoKeyword)
  8690. .HasColumnType("varchar(200)")
  8691. .HasCharSet("utf8")
  8692. .HasCollation("utf8_general_ci");
  8693. entity.Property(e => e.SeoTitle)
  8694. .HasColumnType("varchar(100)")
  8695. .HasCharSet("utf8")
  8696. .HasCollation("utf8_general_ci");
  8697. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8698. entity.Property(e => e.Status).HasColumnType("int(11)");
  8699. entity.Property(e => e.SubsidyDirectProfit).HasColumnType("decimal(18,2)");
  8700. entity.Property(e => e.SubsidyJuniorProfit).HasColumnType("decimal(18,2)");
  8701. entity.Property(e => e.SubsidyTotalProfit).HasColumnType("decimal(18,2)");
  8702. entity.Property(e => e.TradeMonth)
  8703. .HasColumnType("varchar(6)")
  8704. .HasCharSet("utf8")
  8705. .HasCollation("utf8_general_ci");
  8706. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8707. entity.Property(e => e.UpdateMan)
  8708. .HasColumnType("varchar(50)")
  8709. .HasCharSet("utf8")
  8710. .HasCollation("utf8_general_ci");
  8711. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8712. entity.Property(e => e.Version).HasColumnType("int(11)");
  8713. });
  8714. modelBuilder.Entity<UserRank>(entity =>
  8715. {
  8716. entity.Property(e => e.Id).HasColumnType("int(11)");
  8717. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8718. entity.Property(e => e.CreateMan)
  8719. .HasColumnType("varchar(50)")
  8720. .HasCharSet("utf8")
  8721. .HasCollation("utf8_general_ci");
  8722. entity.Property(e => e.ExceedVal).HasColumnType("int(11)");
  8723. entity.Property(e => e.NextRank).HasColumnType("int(11)");
  8724. entity.Property(e => e.OperateDate).HasColumnType("datetime");
  8725. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8726. entity.Property(e => e.Rank).HasColumnType("int(11)");
  8727. entity.Property(e => e.SeoDescription)
  8728. .HasColumnType("varchar(500)")
  8729. .HasCharSet("utf8")
  8730. .HasCollation("utf8_general_ci");
  8731. entity.Property(e => e.SeoKeyword)
  8732. .HasColumnType("varchar(200)")
  8733. .HasCharSet("utf8")
  8734. .HasCollation("utf8_general_ci");
  8735. entity.Property(e => e.SeoTitle)
  8736. .HasColumnType("varchar(100)")
  8737. .HasCharSet("utf8")
  8738. .HasCollation("utf8_general_ci");
  8739. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8740. entity.Property(e => e.StatMonth).HasColumnType("int(11)");
  8741. entity.Property(e => e.StatYear).HasColumnType("int(11)");
  8742. entity.Property(e => e.Status).HasColumnType("int(11)");
  8743. entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)");
  8744. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8745. entity.Property(e => e.UpdateMan)
  8746. .HasColumnType("varchar(50)")
  8747. .HasCharSet("utf8")
  8748. .HasCollation("utf8_general_ci");
  8749. entity.Property(e => e.UpgradeFlag)
  8750. .HasColumnType("bit(1)")
  8751. .HasDefaultValueSql("b'0'");
  8752. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8753. entity.Property(e => e.Version).HasColumnType("int(11)");
  8754. entity.Property(e => e.WhiteRank).HasColumnType("int(11)");
  8755. });
  8756. modelBuilder.Entity<UserRankWhite>(entity =>
  8757. {
  8758. entity.Property(e => e.Id).HasColumnType("int(11)");
  8759. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8760. entity.Property(e => e.CreateMan)
  8761. .HasColumnType("varchar(50)")
  8762. .HasCharSet("utf8")
  8763. .HasCollation("utf8_general_ci");
  8764. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8765. entity.Property(e => e.Rank).HasColumnType("int(11)");
  8766. entity.Property(e => e.SeoDescription)
  8767. .HasColumnType("varchar(500)")
  8768. .HasCharSet("utf8")
  8769. .HasCollation("utf8_general_ci");
  8770. entity.Property(e => e.SeoKeyword)
  8771. .HasColumnType("varchar(200)")
  8772. .HasCharSet("utf8")
  8773. .HasCollation("utf8_general_ci");
  8774. entity.Property(e => e.SeoTitle)
  8775. .HasColumnType("varchar(100)")
  8776. .HasCharSet("utf8")
  8777. .HasCollation("utf8_general_ci");
  8778. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8779. entity.Property(e => e.Status).HasColumnType("int(11)");
  8780. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8781. entity.Property(e => e.UpdateMan)
  8782. .HasColumnType("varchar(50)")
  8783. .HasCharSet("utf8")
  8784. .HasCollation("utf8_general_ci");
  8785. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8786. entity.Property(e => e.Version).HasColumnType("int(11)");
  8787. });
  8788. modelBuilder.Entity<UserRebateDetail>(entity =>
  8789. {
  8790. entity.Property(e => e.Id).HasColumnType("int(11)");
  8791. entity.Property(e => e.ChannelMerNo)
  8792. .HasColumnType("varchar(32)")
  8793. .HasCharSet("utf8")
  8794. .HasCollation("utf8_general_ci");
  8795. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8796. entity.Property(e => e.CreateMan)
  8797. .HasColumnType("varchar(50)")
  8798. .HasCharSet("utf8")
  8799. .HasCollation("utf8_general_ci");
  8800. entity.Property(e => e.CreditRewardAmount).HasColumnType("decimal(18,2)");
  8801. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  8802. entity.Property(e => e.DebitRewardAmount).HasColumnType("decimal(18,2)");
  8803. entity.Property(e => e.DebitTradeAmt).HasColumnType("decimal(18,2)");
  8804. entity.Property(e => e.MerchantId).HasColumnType("int(11)");
  8805. entity.Property(e => e.MgrName)
  8806. .HasColumnType("varchar(32)")
  8807. .HasCharSet("utf8")
  8808. .HasCollation("utf8_general_ci");
  8809. entity.Property(e => e.MgrNo)
  8810. .HasColumnType("varchar(16)")
  8811. .HasCharSet("utf8")
  8812. .HasCollation("utf8_general_ci");
  8813. entity.Property(e => e.ProductName)
  8814. .HasColumnType("varchar(32)")
  8815. .HasCharSet("utf8")
  8816. .HasCollation("utf8_general_ci");
  8817. entity.Property(e => e.ProductType).HasColumnType("int(11)");
  8818. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8819. entity.Property(e => e.RebateMonthCount).HasColumnType("int(11)");
  8820. entity.Property(e => e.RebateRewardNo)
  8821. .HasColumnType("varchar(32)")
  8822. .HasCharSet("utf8")
  8823. .HasCollation("utf8_general_ci");
  8824. entity.Property(e => e.RebateType).HasColumnType("int(11)");
  8825. entity.Property(e => e.Remark)
  8826. .HasColumnType("varchar(64)")
  8827. .HasCharSet("utf8")
  8828. .HasCollation("utf8_general_ci");
  8829. entity.Property(e => e.SeoDescription)
  8830. .HasColumnType("varchar(500)")
  8831. .HasCharSet("utf8")
  8832. .HasCollation("utf8_general_ci");
  8833. entity.Property(e => e.SeoKeyword)
  8834. .HasColumnType("varchar(200)")
  8835. .HasCharSet("utf8")
  8836. .HasCollation("utf8_general_ci");
  8837. entity.Property(e => e.SeoTitle)
  8838. .HasColumnType("varchar(100)")
  8839. .HasCharSet("utf8")
  8840. .HasCollation("utf8_general_ci");
  8841. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8842. entity.Property(e => e.Status).HasColumnType("int(11)");
  8843. entity.Property(e => e.TradeDate)
  8844. .HasColumnType("varchar(8)")
  8845. .HasCharSet("utf8")
  8846. .HasCollation("utf8_general_ci");
  8847. entity.Property(e => e.TradeMonth)
  8848. .HasColumnType("varchar(6)")
  8849. .HasCharSet("utf8")
  8850. .HasCollation("utf8_general_ci");
  8851. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8852. entity.Property(e => e.UpdateMan)
  8853. .HasColumnType("varchar(50)")
  8854. .HasCharSet("utf8")
  8855. .HasCollation("utf8_general_ci");
  8856. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8857. entity.Property(e => e.Version).HasColumnType("int(11)");
  8858. });
  8859. modelBuilder.Entity<UserSnActInfo>(entity =>
  8860. {
  8861. entity.Property(e => e.Id).HasColumnType("int(11)");
  8862. entity.Property(e => e.ActUserId).HasColumnType("int(11)");
  8863. entity.Property(e => e.ActiveStatus).HasColumnType("int(11)");
  8864. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  8865. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8866. entity.Property(e => e.CreateMan)
  8867. .HasColumnType("varchar(50)")
  8868. .HasCharSet("utf8")
  8869. .HasCollation("utf8_general_ci");
  8870. entity.Property(e => e.EffectEndActDate)
  8871. .HasColumnType("varchar(8)")
  8872. .HasCharSet("utf8")
  8873. .HasCollation("utf8_general_ci");
  8874. entity.Property(e => e.EffectEndCycleDate)
  8875. .HasColumnType("varchar(8)")
  8876. .HasCharSet("utf8")
  8877. .HasCollation("utf8_general_ci");
  8878. entity.Property(e => e.EffectStartActDate)
  8879. .HasColumnType("varchar(8)")
  8880. .HasCharSet("utf8")
  8881. .HasCollation("utf8_general_ci");
  8882. entity.Property(e => e.EffectStartCycleDate)
  8883. .HasColumnType("varchar(8)")
  8884. .HasCharSet("utf8")
  8885. .HasCollation("utf8_general_ci");
  8886. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8887. entity.Property(e => e.Remark)
  8888. .HasColumnType("varchar(128)")
  8889. .HasCharSet("utf8")
  8890. .HasCollation("utf8_general_ci");
  8891. entity.Property(e => e.SeoDescription)
  8892. .HasColumnType("varchar(500)")
  8893. .HasCharSet("utf8")
  8894. .HasCollation("utf8_general_ci");
  8895. entity.Property(e => e.SeoKeyword)
  8896. .HasColumnType("varchar(200)")
  8897. .HasCharSet("utf8")
  8898. .HasCollation("utf8_general_ci");
  8899. entity.Property(e => e.SeoTitle)
  8900. .HasColumnType("varchar(100)")
  8901. .HasCharSet("utf8")
  8902. .HasCollation("utf8_general_ci");
  8903. entity.Property(e => e.SnNo)
  8904. .HasColumnType("varchar(32)")
  8905. .HasCharSet("utf8")
  8906. .HasCollation("utf8_general_ci");
  8907. entity.Property(e => e.SnShipDate).HasColumnType("datetime");
  8908. entity.Property(e => e.SnStoreId).HasColumnType("int(11)");
  8909. entity.Property(e => e.SnType).HasColumnType("int(11)");
  8910. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8911. entity.Property(e => e.SourceShipDate).HasColumnType("datetime");
  8912. entity.Property(e => e.SourceSnNo)
  8913. .HasColumnType("varchar(32)")
  8914. .HasCharSet("utf8")
  8915. .HasCollation("utf8_general_ci");
  8916. entity.Property(e => e.SourceSnType).HasColumnType("int(11)");
  8917. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  8918. entity.Property(e => e.StandardDate)
  8919. .HasColumnType("varchar(8)")
  8920. .HasCharSet("utf8")
  8921. .HasCollation("utf8_general_ci");
  8922. entity.Property(e => e.Status).HasColumnType("int(11)");
  8923. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8924. entity.Property(e => e.UpdateMan)
  8925. .HasColumnType("varchar(50)")
  8926. .HasCharSet("utf8")
  8927. .HasCollation("utf8_general_ci");
  8928. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8929. entity.Property(e => e.Version).HasColumnType("int(11)");
  8930. });
  8931. modelBuilder.Entity<UserSnDelayChange>(entity =>
  8932. {
  8933. entity.Property(e => e.Id).HasColumnType("int(11)");
  8934. entity.Property(e => e.ActivityRuleId).HasColumnType("int(11)");
  8935. entity.Property(e => e.AfterEndCycleDate)
  8936. .HasColumnType("varchar(8)")
  8937. .HasCharSet("utf8")
  8938. .HasCollation("utf8_general_ci");
  8939. entity.Property(e => e.BeforeEndCycleDate)
  8940. .HasColumnType("varchar(8)")
  8941. .HasCharSet("utf8")
  8942. .HasCollation("utf8_general_ci");
  8943. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  8944. entity.Property(e => e.ChangeRecordNo)
  8945. .HasColumnType("varchar(32)")
  8946. .HasCharSet("utf8")
  8947. .HasCollation("utf8_general_ci");
  8948. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  8949. entity.Property(e => e.CreateMan)
  8950. .HasColumnType("varchar(50)")
  8951. .HasCharSet("utf8")
  8952. .HasCollation("utf8_general_ci");
  8953. entity.Property(e => e.InitCycleDate)
  8954. .HasColumnType("varchar(8)")
  8955. .HasCharSet("utf8")
  8956. .HasCollation("utf8_general_ci");
  8957. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  8958. entity.Property(e => e.RecUserId).HasColumnType("int(11)");
  8959. entity.Property(e => e.Remark)
  8960. .HasColumnType("varchar(128)")
  8961. .HasCharSet("utf8")
  8962. .HasCollation("utf8_general_ci");
  8963. entity.Property(e => e.SeoDescription)
  8964. .HasColumnType("varchar(500)")
  8965. .HasCharSet("utf8")
  8966. .HasCollation("utf8_general_ci");
  8967. entity.Property(e => e.SeoKeyword)
  8968. .HasColumnType("varchar(200)")
  8969. .HasCharSet("utf8")
  8970. .HasCollation("utf8_general_ci");
  8971. entity.Property(e => e.SeoTitle)
  8972. .HasColumnType("varchar(100)")
  8973. .HasCharSet("utf8")
  8974. .HasCollation("utf8_general_ci");
  8975. entity.Property(e => e.SnDelayDay).HasColumnType("int(11)");
  8976. entity.Property(e => e.SnNo)
  8977. .HasColumnType("varchar(32)")
  8978. .HasCharSet("utf8")
  8979. .HasCollation("utf8_general_ci");
  8980. entity.Property(e => e.SnStoreId).HasColumnType("int(11)");
  8981. entity.Property(e => e.SnType).HasColumnType("int(11)");
  8982. entity.Property(e => e.Sort).HasColumnType("int(11)");
  8983. entity.Property(e => e.SourceSnNo)
  8984. .HasColumnType("varchar(32)")
  8985. .HasCharSet("utf8")
  8986. .HasCollation("utf8_general_ci");
  8987. entity.Property(e => e.SourceSnShipDate).HasColumnType("datetime");
  8988. entity.Property(e => e.SourceSnType).HasColumnType("int(11)");
  8989. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  8990. entity.Property(e => e.Status).HasColumnType("int(11)");
  8991. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  8992. entity.Property(e => e.UpdateMan)
  8993. .HasColumnType("varchar(50)")
  8994. .HasCharSet("utf8")
  8995. .HasCollation("utf8_general_ci");
  8996. entity.Property(e => e.UserId).HasColumnType("int(11)");
  8997. entity.Property(e => e.Version).HasColumnType("int(11)");
  8998. });
  8999. modelBuilder.Entity<UserStoreChange>(entity =>
  9000. {
  9001. entity.Property(e => e.Id).HasColumnType("int(11)");
  9002. entity.Property(e => e.ActRewardUserId).HasColumnType("int(11)");
  9003. entity.Property(e => e.ActiveStatus).HasColumnType("int(11)");
  9004. entity.Property(e => e.BindMerchantId).HasColumnType("int(11)");
  9005. entity.Property(e => e.BindStatus).HasColumnType("int(11)");
  9006. entity.Property(e => e.BizBatchNo)
  9007. .HasColumnType("varchar(32)")
  9008. .HasCharSet("utf8")
  9009. .HasCollation("utf8_general_ci");
  9010. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  9011. entity.Property(e => e.BrandType)
  9012. .HasColumnType("varchar(10)")
  9013. .HasCharSet("utf8")
  9014. .HasCollation("utf8_general_ci");
  9015. entity.Property(e => e.ChangeRecordNo)
  9016. .HasColumnType("varchar(32)")
  9017. .HasCharSet("utf8")
  9018. .HasCollation("utf8_general_ci");
  9019. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9020. entity.Property(e => e.CreateMan)
  9021. .HasColumnType("varchar(50)")
  9022. .HasCharSet("utf8")
  9023. .HasCollation("utf8_general_ci");
  9024. entity.Property(e => e.DeviceModel)
  9025. .HasColumnType("varchar(32)")
  9026. .HasCharSet("utf8")
  9027. .HasCollation("utf8_general_ci");
  9028. entity.Property(e => e.DeviceType)
  9029. .HasColumnType("varchar(32)")
  9030. .HasCharSet("utf8")
  9031. .HasCollation("utf8_general_ci");
  9032. entity.Property(e => e.DeviceVendor)
  9033. .HasColumnType("varchar(32)")
  9034. .HasCharSet("utf8")
  9035. .HasCollation("utf8_general_ci");
  9036. entity.Property(e => e.FromDate).HasColumnType("datetime");
  9037. entity.Property(e => e.FromRemark)
  9038. .HasColumnType("varchar(64)")
  9039. .HasCharSet("utf8")
  9040. .HasCollation("utf8_general_ci");
  9041. entity.Property(e => e.FromUserId).HasColumnType("int(11)");
  9042. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9043. entity.Property(e => e.SeoDescription)
  9044. .HasColumnType("varchar(500)")
  9045. .HasCharSet("utf8")
  9046. .HasCollation("utf8_general_ci");
  9047. entity.Property(e => e.SeoKeyword)
  9048. .HasColumnType("varchar(200)")
  9049. .HasCharSet("utf8")
  9050. .HasCollation("utf8_general_ci");
  9051. entity.Property(e => e.SeoTitle)
  9052. .HasColumnType("varchar(100)")
  9053. .HasCharSet("utf8")
  9054. .HasCollation("utf8_general_ci");
  9055. entity.Property(e => e.SnNo)
  9056. .HasColumnType("varchar(32)")
  9057. .HasCharSet("utf8")
  9058. .HasCollation("utf8_general_ci");
  9059. entity.Property(e => e.SnStatus).HasColumnType("int(11)");
  9060. entity.Property(e => e.SnType).HasColumnType("int(11)");
  9061. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9062. entity.Property(e => e.SourceStoreId).HasColumnType("int(11)");
  9063. entity.Property(e => e.Status).HasColumnType("int(11)");
  9064. entity.Property(e => e.StockOpDirect).HasColumnType("int(11)");
  9065. entity.Property(e => e.ToDate).HasColumnType("datetime");
  9066. entity.Property(e => e.ToRemark)
  9067. .HasColumnType("varchar(64)")
  9068. .HasCharSet("utf8")
  9069. .HasCollation("utf8_general_ci");
  9070. entity.Property(e => e.ToStoreId).HasColumnType("int(11)");
  9071. entity.Property(e => e.ToUserId).HasColumnType("int(11)");
  9072. entity.Property(e => e.TransType).HasColumnType("int(11)");
  9073. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9074. entity.Property(e => e.UpdateMan)
  9075. .HasColumnType("varchar(50)")
  9076. .HasCharSet("utf8")
  9077. .HasCollation("utf8_general_ci");
  9078. entity.Property(e => e.UserId).HasColumnType("int(11)");
  9079. entity.Property(e => e.Version).HasColumnType("int(11)");
  9080. });
  9081. modelBuilder.Entity<UserSwapDetail>(entity =>
  9082. {
  9083. entity.Property(e => e.Id).HasColumnType("int(11)");
  9084. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  9085. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9086. entity.Property(e => e.CreateMan)
  9087. .HasColumnType("varchar(50)")
  9088. .HasCharSet("utf8")
  9089. .HasCollation("utf8_general_ci");
  9090. entity.Property(e => e.DirectSnTradeAmt).HasColumnType("decimal(18,2)");
  9091. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9092. entity.Property(e => e.RecordNo)
  9093. .HasColumnType("varchar(32)")
  9094. .HasCharSet("utf8")
  9095. .HasCollation("utf8_general_ci");
  9096. entity.Property(e => e.Remark)
  9097. .HasColumnType("varchar(64)")
  9098. .HasCharSet("utf8")
  9099. .HasCollation("utf8_general_ci");
  9100. entity.Property(e => e.RiskResult).HasColumnType("int(11)");
  9101. entity.Property(e => e.SeoDescription)
  9102. .HasColumnType("varchar(500)")
  9103. .HasCharSet("utf8")
  9104. .HasCollation("utf8_general_ci");
  9105. entity.Property(e => e.SeoKeyword)
  9106. .HasColumnType("varchar(200)")
  9107. .HasCharSet("utf8")
  9108. .HasCollation("utf8_general_ci");
  9109. entity.Property(e => e.SeoTitle)
  9110. .HasColumnType("varchar(100)")
  9111. .HasCharSet("utf8")
  9112. .HasCollation("utf8_general_ci");
  9113. entity.Property(e => e.SnNo)
  9114. .HasColumnType("varchar(32)")
  9115. .HasCharSet("utf8")
  9116. .HasCollation("utf8_general_ci");
  9117. entity.Property(e => e.SnType).HasColumnType("int(11)");
  9118. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9119. entity.Property(e => e.SourceSnNo)
  9120. .HasColumnType("varchar(32)")
  9121. .HasCharSet("utf8")
  9122. .HasCollation("utf8_general_ci");
  9123. entity.Property(e => e.SourceSnType).HasColumnType("int(11)");
  9124. entity.Property(e => e.Status).HasColumnType("int(11)");
  9125. entity.Property(e => e.SwapExtProductTypes)
  9126. .HasColumnType("varchar(16)")
  9127. .HasCharSet("utf8")
  9128. .HasCollation("utf8_general_ci");
  9129. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  9130. entity.Property(e => e.TradeDate)
  9131. .HasColumnType("varchar(8)")
  9132. .HasCharSet("utf8")
  9133. .HasCollation("utf8_general_ci");
  9134. entity.Property(e => e.TradeMonth)
  9135. .HasColumnType("varchar(6)")
  9136. .HasCharSet("utf8")
  9137. .HasCollation("utf8_general_ci");
  9138. entity.Property(e => e.UpSourceSnNo)
  9139. .HasColumnType("varchar(32)")
  9140. .HasCharSet("utf8")
  9141. .HasCollation("utf8_general_ci");
  9142. entity.Property(e => e.UpSourceSnType).HasColumnType("int(11)");
  9143. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9144. entity.Property(e => e.UpdateMan)
  9145. .HasColumnType("varchar(50)")
  9146. .HasCharSet("utf8")
  9147. .HasCollation("utf8_general_ci");
  9148. entity.Property(e => e.UserId).HasColumnType("int(11)");
  9149. entity.Property(e => e.Version).HasColumnType("int(11)");
  9150. });
  9151. modelBuilder.Entity<UserSwapSummary>(entity =>
  9152. {
  9153. entity.Property(e => e.Id).HasColumnType("int(11)");
  9154. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  9155. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9156. entity.Property(e => e.CreateMan)
  9157. .HasColumnType("varchar(50)")
  9158. .HasCharSet("utf8")
  9159. .HasCollation("utf8_general_ci");
  9160. entity.Property(e => e.DirAvgTradeAmt).HasColumnType("decimal(18,2)");
  9161. entity.Property(e => e.DirectActMerCount).HasColumnType("int(11)");
  9162. entity.Property(e => e.DirectTradeAmt).HasColumnType("decimal(18,2)");
  9163. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9164. entity.Property(e => e.RiskStatus).HasColumnType("int(11)");
  9165. entity.Property(e => e.RuleId).HasColumnType("int(11)");
  9166. entity.Property(e => e.SeoDescription)
  9167. .HasColumnType("varchar(500)")
  9168. .HasCharSet("utf8")
  9169. .HasCollation("utf8_general_ci");
  9170. entity.Property(e => e.SeoKeyword)
  9171. .HasColumnType("varchar(200)")
  9172. .HasCharSet("utf8")
  9173. .HasCollation("utf8_general_ci");
  9174. entity.Property(e => e.SeoTitle)
  9175. .HasColumnType("varchar(100)")
  9176. .HasCharSet("utf8")
  9177. .HasCollation("utf8_general_ci");
  9178. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9179. entity.Property(e => e.Status).HasColumnType("int(11)");
  9180. entity.Property(e => e.SwapExtProductTypes)
  9181. .HasColumnType("varchar(16)")
  9182. .HasCharSet("utf8")
  9183. .HasCollation("utf8_general_ci");
  9184. entity.Property(e => e.TopUserId).HasColumnType("int(11)");
  9185. entity.Property(e => e.TradeMonth)
  9186. .HasColumnType("varchar(6)")
  9187. .HasCharSet("utf8")
  9188. .HasCollation("utf8_general_ci");
  9189. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9190. entity.Property(e => e.UpdateMan)
  9191. .HasColumnType("varchar(50)")
  9192. .HasCharSet("utf8")
  9193. .HasCollation("utf8_general_ci");
  9194. entity.Property(e => e.UserId).HasColumnType("int(11)");
  9195. entity.Property(e => e.Version).HasColumnType("int(11)");
  9196. });
  9197. modelBuilder.Entity<UserSwapWhite>(entity =>
  9198. {
  9199. entity.Property(e => e.Id).HasColumnType("int(11)");
  9200. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  9201. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9202. entity.Property(e => e.CreateMan)
  9203. .HasColumnType("varchar(50)")
  9204. .HasCharSet("utf8")
  9205. .HasCollation("utf8_general_ci");
  9206. entity.Property(e => e.EndEffectTime).HasColumnType("datetime");
  9207. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9208. entity.Property(e => e.Remark)
  9209. .HasColumnType("varchar(64)")
  9210. .HasCharSet("utf8")
  9211. .HasCollation("utf8_general_ci");
  9212. entity.Property(e => e.RiskType).HasColumnType("int(11)");
  9213. entity.Property(e => e.SeoDescription)
  9214. .HasColumnType("varchar(500)")
  9215. .HasCharSet("utf8")
  9216. .HasCollation("utf8_general_ci");
  9217. entity.Property(e => e.SeoKeyword)
  9218. .HasColumnType("varchar(200)")
  9219. .HasCharSet("utf8")
  9220. .HasCollation("utf8_general_ci");
  9221. entity.Property(e => e.SeoTitle)
  9222. .HasColumnType("varchar(100)")
  9223. .HasCharSet("utf8")
  9224. .HasCollation("utf8_general_ci");
  9225. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9226. entity.Property(e => e.StartEffectTime).HasColumnType("datetime");
  9227. entity.Property(e => e.Status).HasColumnType("int(11)");
  9228. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9229. entity.Property(e => e.UpdateMan)
  9230. .HasColumnType("varchar(50)")
  9231. .HasCharSet("utf8")
  9232. .HasCollation("utf8_general_ci");
  9233. entity.Property(e => e.UserId).HasColumnType("int(11)");
  9234. entity.Property(e => e.Version).HasColumnType("int(11)");
  9235. });
  9236. modelBuilder.Entity<UserTradeDaySummary>(entity =>
  9237. {
  9238. entity.Property(e => e.Id).HasColumnType("int(11)");
  9239. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  9240. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9241. entity.Property(e => e.CreateMan)
  9242. .HasColumnType("varchar(50)")
  9243. .HasCharSet("utf8")
  9244. .HasCollation("utf8_general_ci");
  9245. entity.Property(e => e.DirectDebitCapNum).HasColumnType("int(11)");
  9246. entity.Property(e => e.DirectDebitTradeAmt).HasColumnType("decimal(18,2)");
  9247. entity.Property(e => e.DirectTradeAmt).HasColumnType("decimal(18,2)");
  9248. entity.Property(e => e.NonDirectDebitCapNum).HasColumnType("int(11)");
  9249. entity.Property(e => e.NonDirectDebitTradeAmt).HasColumnType("decimal(18,2)");
  9250. entity.Property(e => e.NonDirectTradeAmt).HasColumnType("decimal(18,2)");
  9251. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9252. entity.Property(e => e.Remark)
  9253. .HasColumnType("varchar(64)")
  9254. .HasCharSet("utf8")
  9255. .HasCollation("utf8_general_ci");
  9256. entity.Property(e => e.SeoDescription)
  9257. .HasColumnType("varchar(500)")
  9258. .HasCharSet("utf8")
  9259. .HasCollation("utf8_general_ci");
  9260. entity.Property(e => e.SeoKeyword)
  9261. .HasColumnType("varchar(200)")
  9262. .HasCharSet("utf8")
  9263. .HasCollation("utf8_general_ci");
  9264. entity.Property(e => e.SeoTitle)
  9265. .HasColumnType("varchar(100)")
  9266. .HasCharSet("utf8")
  9267. .HasCollation("utf8_general_ci");
  9268. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9269. entity.Property(e => e.Status).HasColumnType("int(11)");
  9270. entity.Property(e => e.TradeDate)
  9271. .HasColumnType("varchar(8)")
  9272. .HasCharSet("utf8")
  9273. .HasCollation("utf8_general_ci");
  9274. entity.Property(e => e.TradeMonth)
  9275. .HasColumnType("varchar(6)")
  9276. .HasCharSet("utf8")
  9277. .HasCollation("utf8_general_ci");
  9278. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9279. entity.Property(e => e.UpdateMan)
  9280. .HasColumnType("varchar(50)")
  9281. .HasCharSet("utf8")
  9282. .HasCollation("utf8_general_ci");
  9283. entity.Property(e => e.UserId).HasColumnType("int(11)");
  9284. entity.Property(e => e.Version).HasColumnType("int(11)");
  9285. });
  9286. modelBuilder.Entity<UserTradeMonthSummary>(entity =>
  9287. {
  9288. entity.Property(e => e.Id).HasColumnType("int(11)");
  9289. entity.Property(e => e.ActiveBuddyMerStatus).HasColumnType("int(11)");
  9290. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  9291. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9292. entity.Property(e => e.CreateMan)
  9293. .HasColumnType("varchar(50)")
  9294. .HasCharSet("utf8")
  9295. .HasCollation("utf8_general_ci");
  9296. entity.Property(e => e.CreditTradeAmt).HasColumnType("decimal(18,2)");
  9297. entity.Property(e => e.DebitCapTradeAmt).HasColumnType("decimal(18,2)");
  9298. entity.Property(e => e.DebitCapTradeNum).HasColumnType("int(11)");
  9299. entity.Property(e => e.DebitNotCapTradeAmt).HasColumnType("decimal(18,2)");
  9300. entity.Property(e => e.MallPosOrderStatus).HasColumnType("int(11)");
  9301. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9302. entity.Property(e => e.Remark)
  9303. .HasColumnType("varchar(64)")
  9304. .HasCharSet("utf8")
  9305. .HasCollation("utf8_general_ci");
  9306. entity.Property(e => e.SeoDescription)
  9307. .HasColumnType("varchar(500)")
  9308. .HasCharSet("utf8")
  9309. .HasCollation("utf8_general_ci");
  9310. entity.Property(e => e.SeoKeyword)
  9311. .HasColumnType("varchar(200)")
  9312. .HasCharSet("utf8")
  9313. .HasCollation("utf8_general_ci");
  9314. entity.Property(e => e.SeoTitle)
  9315. .HasColumnType("varchar(100)")
  9316. .HasCharSet("utf8")
  9317. .HasCollation("utf8_general_ci");
  9318. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9319. entity.Property(e => e.StatType).HasColumnType("int(11)");
  9320. entity.Property(e => e.Status).HasColumnType("int(11)");
  9321. entity.Property(e => e.TradeAmt).HasColumnType("decimal(18,2)");
  9322. entity.Property(e => e.TradeMonth)
  9323. .HasColumnType("varchar(6)")
  9324. .HasCharSet("utf8")
  9325. .HasCollation("utf8_general_ci");
  9326. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9327. entity.Property(e => e.UpdateMan)
  9328. .HasColumnType("varchar(50)")
  9329. .HasCharSet("utf8")
  9330. .HasCollation("utf8_general_ci");
  9331. entity.Property(e => e.UserId).HasColumnType("int(11)");
  9332. entity.Property(e => e.Version).HasColumnType("int(11)");
  9333. });
  9334. modelBuilder.Entity<Users>(entity =>
  9335. {
  9336. entity.Property(e => e.Id).HasColumnType("int(11)");
  9337. entity.Property(e => e.AccessToken)
  9338. .HasColumnType("varchar(64)")
  9339. .HasCharSet("utf8")
  9340. .HasCollation("utf8_general_ci");
  9341. entity.Property(e => e.ActiveRewardAmount).HasColumnType("decimal(18,2)");
  9342. entity.Property(e => e.Address)
  9343. .HasColumnType("varchar(50)")
  9344. .HasCharSet("utf8")
  9345. .HasCollation("utf8_general_ci");
  9346. entity.Property(e => e.AgentAreas)
  9347. .HasColumnType("varchar(50)")
  9348. .HasCharSet("utf8")
  9349. .HasCollation("utf8_general_ci");
  9350. entity.Property(e => e.AgentLevel).HasColumnType("int(11)");
  9351. entity.Property(e => e.AlipayUserId)
  9352. .HasColumnType("varchar(50)")
  9353. .HasCharSet("utf8")
  9354. .HasCollation("utf8_general_ci");
  9355. entity.Property(e => e.Areas)
  9356. .HasColumnType("varchar(30)")
  9357. .HasCharSet("utf8")
  9358. .HasCollation("utf8_general_ci");
  9359. entity.Property(e => e.AuditStatus).HasColumnType("int(11)");
  9360. entity.Property(e => e.AuthDate).HasColumnType("datetime");
  9361. entity.Property(e => e.AuthFlag)
  9362. .HasColumnType("bit(1)")
  9363. .HasDefaultValueSql("b'0'");
  9364. entity.Property(e => e.BankCardPositiveImage)
  9365. .HasColumnType("varchar(200)")
  9366. .HasCharSet("utf8")
  9367. .HasCollation("utf8_general_ci");
  9368. entity.Property(e => e.CarIds)
  9369. .HasColumnType("varchar(100)")
  9370. .HasCharSet("utf8")
  9371. .HasCollation("utf8_general_ci");
  9372. entity.Property(e => e.CardNo)
  9373. .HasColumnType("varchar(30)")
  9374. .HasCharSet("utf8")
  9375. .HasCollation("utf8_general_ci");
  9376. entity.Property(e => e.CardRecCode)
  9377. .HasColumnType("varchar(200)")
  9378. .HasCharSet("utf8")
  9379. .HasCollation("utf8_general_ci");
  9380. entity.Property(e => e.CashFreezeAmt).HasColumnType("decimal(18,2)");
  9381. entity.Property(e => e.CertFrontImage)
  9382. .HasColumnType("varchar(200)")
  9383. .HasCharSet("utf8")
  9384. .HasCollation("utf8_general_ci");
  9385. entity.Property(e => e.CertId)
  9386. .HasColumnType("varchar(18)")
  9387. .HasCharSet("utf8")
  9388. .HasCollation("utf8_general_ci");
  9389. entity.Property(e => e.CertReverseImage)
  9390. .HasColumnType("varchar(200)")
  9391. .HasCharSet("utf8")
  9392. .HasCollation("utf8_general_ci");
  9393. entity.Property(e => e.CertValidEndDate).HasColumnType("datetime");
  9394. entity.Property(e => e.CertValidStartDate).HasColumnType("datetime");
  9395. entity.Property(e => e.CitySetDate).HasColumnType("datetime");
  9396. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  9397. entity.Property(e => e.CreateMan)
  9398. .HasColumnType("varchar(50)")
  9399. .HasCharSet("utf8")
  9400. .HasCollation("utf8_general_ci");
  9401. entity.Property(e => e.DeviceId)
  9402. .HasColumnType("varchar(128)")
  9403. .HasCharSet("utf8")
  9404. .HasCollation("utf8_general_ci");
  9405. entity.Property(e => e.DeviceToken)
  9406. .HasColumnType("varchar(64)")
  9407. .HasCharSet("utf8")
  9408. .HasCollation("utf8_general_ci");
  9409. entity.Property(e => e.ExpiredDate).HasColumnType("datetime");
  9410. entity.Property(e => e.GroupId)
  9411. .HasColumnType("varchar(200)")
  9412. .HasCharSet("utf8")
  9413. .HasCollation("utf8_general_ci");
  9414. entity.Property(e => e.HandCertImage)
  9415. .HasColumnType("varchar(200)")
  9416. .HasCharSet("utf8")
  9417. .HasCollation("utf8_general_ci");
  9418. entity.Property(e => e.HandPwd)
  9419. .HasColumnType("varchar(32)")
  9420. .HasCharSet("utf8")
  9421. .HasCollation("utf8_general_ci");
  9422. entity.Property(e => e.HeadPhoto)
  9423. .HasColumnType("varchar(2000)")
  9424. .HasCharSet("utf8")
  9425. .HasCollation("utf8_general_ci");
  9426. entity.Property(e => e.IdCardEndNo)
  9427. .HasColumnType("varchar(4)")
  9428. .HasCharSet("utf8")
  9429. .HasCollation("utf8_general_ci");
  9430. entity.Property(e => e.IsNewUser)
  9431. .HasColumnType("bit(1)")
  9432. .HasDefaultValueSql("b'0'");
  9433. entity.Property(e => e.LockStatus)
  9434. .HasColumnType("bit(1)")
  9435. .HasDefaultValueSql("b'0'");
  9436. entity.Property(e => e.LoginPwd)
  9437. .HasColumnType("varchar(32)")
  9438. .HasCharSet("utf8")
  9439. .HasCollation("utf8_general_ci");
  9440. entity.Property(e => e.LoginStatus).HasColumnType("int(11)");
  9441. entity.Property(e => e.MakerCode)
  9442. .HasColumnType("varchar(32)")
  9443. .HasCharSet("utf8")
  9444. .HasCollation("utf8_general_ci");
  9445. entity.Property(e => e.MerchantDate).HasColumnType("datetime");
  9446. entity.Property(e => e.MerchantType).HasColumnType("int(11)");
  9447. entity.Property(e => e.Mobile)
  9448. .HasColumnType("varchar(11)")
  9449. .HasCharSet("utf8")
  9450. .HasCollation("utf8_general_ci");
  9451. entity.Property(e => e.NickName)
  9452. .HasColumnType("varchar(300)")
  9453. .HasCharSet("utf8")
  9454. .HasCollation("utf8_general_ci");
  9455. entity.Property(e => e.OpenId)
  9456. .HasColumnType("varchar(50)")
  9457. .HasCharSet("utf8")
  9458. .HasCollation("utf8_general_ci");
  9459. entity.Property(e => e.ParentNav)
  9460. .HasColumnType("longtext")
  9461. .HasCharSet("utf8")
  9462. .HasCollation("utf8_general_ci");
  9463. entity.Property(e => e.ParentUserId).HasColumnType("int(11)");
  9464. entity.Property(e => e.PayPwd)
  9465. .HasColumnType("varchar(32)")
  9466. .HasCharSet("utf8")
  9467. .HasCollation("utf8_general_ci");
  9468. entity.Property(e => e.ProfitRewardRate).HasColumnType("decimal(18,2)");
  9469. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  9470. entity.Property(e => e.RealName)
  9471. .HasColumnType("varchar(30)")
  9472. .HasCharSet("utf8")
  9473. .HasCollation("utf8_general_ci");
  9474. entity.Property(e => e.ReferenceCode)
  9475. .HasColumnType("varchar(200)")
  9476. .HasCharSet("utf8")
  9477. .HasCollation("utf8_general_ci");
  9478. entity.Property(e => e.ReferenceQrCode)
  9479. .HasColumnType("varchar(200)")
  9480. .HasCharSet("utf8")
  9481. .HasCollation("utf8_general_ci");
  9482. entity.Property(e => e.ReferralUserId).HasColumnType("int(11)");
  9483. entity.Property(e => e.Remark)
  9484. .HasColumnType("mediumtext")
  9485. .HasCharSet("utf8")
  9486. .HasCollation("utf8_general_ci");
  9487. entity.Property(e => e.RiskFlag)
  9488. .HasColumnType("bit(1)")
  9489. .HasDefaultValueSql("b'0'");
  9490. entity.Property(e => e.RiskRemark)
  9491. .HasColumnType("varchar(64)")
  9492. .HasCharSet("utf8")
  9493. .HasCollation("utf8_general_ci");
  9494. entity.Property(e => e.RreezeRemark)
  9495. .HasColumnType("varchar(64)")
  9496. .HasCharSet("utf8")
  9497. .HasCollation("utf8_general_ci");
  9498. entity.Property(e => e.SeoDescription)
  9499. .HasColumnType("varchar(500)")
  9500. .HasCharSet("utf8")
  9501. .HasCollation("utf8_general_ci");
  9502. entity.Property(e => e.SeoKeyword)
  9503. .HasColumnType("varchar(200)")
  9504. .HasCharSet("utf8")
  9505. .HasCollation("utf8_general_ci");
  9506. entity.Property(e => e.SeoTitle)
  9507. .HasColumnType("varchar(100)")
  9508. .HasCharSet("utf8")
  9509. .HasCollation("utf8_general_ci");
  9510. entity.Property(e => e.SettleAmount).HasColumnType("decimal(18,2)");
  9511. entity.Property(e => e.SettleBankCardName)
  9512. .HasColumnType("varchar(20)")
  9513. .HasCharSet("utf8")
  9514. .HasCollation("utf8_general_ci");
  9515. entity.Property(e => e.SettleBankCardNo)
  9516. .HasColumnType("varchar(32)")
  9517. .HasCharSet("utf8")
  9518. .HasCollation("utf8_general_ci");
  9519. entity.Property(e => e.SettleBankName)
  9520. .HasColumnType("varchar(32)")
  9521. .HasCharSet("utf8")
  9522. .HasCollation("utf8_general_ci");
  9523. entity.Property(e => e.SettleRemark)
  9524. .HasColumnType("varchar(64)")
  9525. .HasCharSet("utf8")
  9526. .HasCollation("utf8_general_ci");
  9527. entity.Property(e => e.Sex).HasColumnType("int(11)");
  9528. entity.Property(e => e.SignImgUrl)
  9529. .HasColumnType("varchar(200)")
  9530. .HasCharSet("utf8")
  9531. .HasCollation("utf8_general_ci");
  9532. entity.Property(e => e.Sort).HasColumnType("int(11)");
  9533. entity.Property(e => e.Status).HasColumnType("int(11)");
  9534. entity.Property(e => e.Tags)
  9535. .HasColumnType("varchar(200)")
  9536. .HasCharSet("utf8")
  9537. .HasCollation("utf8_general_ci");
  9538. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  9539. entity.Property(e => e.UpdateMan)
  9540. .HasColumnType("varchar(50)")
  9541. .HasCharSet("utf8")
  9542. .HasCollation("utf8_general_ci");
  9543. entity.Property(e => e.UserLevel).HasColumnType("int(11)");
  9544. entity.Property(e => e.UserProperty).HasColumnType("int(11)");
  9545. entity.Property(e => e.UserType).HasColumnType("int(11)");
  9546. entity.Property(e => e.Version).HasColumnType("int(11)");
  9547. });
  9548. OnModelCreatingPartial(modelBuilder);
  9549. }
  9550. partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
  9551. }
  9552. }