WebCMSEntities.cs 116 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060
  1. using System;
  2. using Microsoft.EntityFrameworkCore;
  3. using Microsoft.EntityFrameworkCore.Metadata;
  4. namespace MySystem.OpModels
  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<ActMerDaySummary> ActMerDaySummary { get; set; }
  16. public virtual DbSet<ActMerMonthSummary> ActMerMonthSummary { get; set; }
  17. public virtual DbSet<Advertisment> Advertisment { get; set; }
  18. public virtual DbSet<AmountChangeRecord> AmountChangeRecord { get; set; }
  19. public virtual DbSet<AmountRecord> AmountRecord { get; set; }
  20. public virtual DbSet<Col> Col { get; set; }
  21. public virtual DbSet<MachineApplyOpRecord> MachineApplyOpRecord { get; set; }
  22. public virtual DbSet<MenuRight> MenuRight { get; set; }
  23. public virtual DbSet<MsgBlackList> MsgBlackList { get; set; }
  24. public virtual DbSet<MsgPersonal> MsgPersonal { get; set; }
  25. public virtual DbSet<MsgPlacard> MsgPlacard { get; set; }
  26. public virtual DbSet<MsgPlacardRead> MsgPlacardRead { get; set; }
  27. public virtual DbSet<MsgPush> MsgPush { get; set; }
  28. public virtual DbSet<MsgSms> MsgSms { get; set; }
  29. public virtual DbSet<MsgSmsSet> MsgSmsSet { get; set; }
  30. public virtual DbSet<MsgTemplate> MsgTemplate { get; set; }
  31. public virtual DbSet<OperateForCode> OperateForCode { get; set; }
  32. public virtual DbSet<OperateLog> OperateLog { get; set; }
  33. public virtual DbSet<OperateRightList> OperateRightList { get; set; }
  34. public virtual DbSet<PageInfo> PageInfo { get; set; }
  35. public virtual DbSet<PosCouponDaySummary> PosCouponDaySummary { get; set; }
  36. public virtual DbSet<PosCouponForOp> PosCouponForOp { get; set; }
  37. public virtual DbSet<PosCouponMonthSummary> PosCouponMonthSummary { get; set; }
  38. public virtual DbSet<PosCouponOrders> PosCouponOrders { get; set; }
  39. public virtual DbSet<PosCouponRecord> PosCouponRecord { get; set; }
  40. public virtual DbSet<PosCoupons> PosCoupons { get; set; }
  41. public virtual DbSet<PosMachines> PosMachines { get; set; }
  42. public virtual DbSet<PublicAccountSet> PublicAccountSet { get; set; }
  43. public virtual DbSet<RightDic> RightDic { get; set; }
  44. public virtual DbSet<SendDaySummary> SendDaySummary { get; set; }
  45. public virtual DbSet<SendMonthSummary> SendMonthSummary { get; set; }
  46. public virtual DbSet<StoreActMerDaySummary> StoreActMerDaySummary { get; set; }
  47. public virtual DbSet<StoreActMerMonthSummary> StoreActMerMonthSummary { get; set; }
  48. public virtual DbSet<StoreForOperate> StoreForOperate { get; set; }
  49. public virtual DbSet<StoreMachineApply> StoreMachineApply { get; set; }
  50. public virtual DbSet<StoreSendDaySummary> StoreSendDaySummary { get; set; }
  51. public virtual DbSet<StoreSendMonthSummary> StoreSendMonthSummary { get; set; }
  52. public virtual DbSet<SysAdmin> SysAdmin { get; set; }
  53. public virtual DbSet<SysAdminRole> SysAdminRole { get; set; }
  54. public virtual DbSet<SysLog> SysLog { get; set; }
  55. public virtual DbSet<SystemSet> SystemSet { get; set; }
  56. public virtual DbSet<UploadParams> UploadParams { get; set; }
  57. public virtual DbSet<UserAccount> UserAccount { get; set; }
  58. public virtual DbSet<UserAccountRecord> UserAccountRecord { get; set; }
  59. public virtual DbSet<UserCashRecord> UserCashRecord { get; set; }
  60. protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
  61. {
  62. if (!optionsBuilder.IsConfigured)
  63. {
  64. optionsBuilder.UseMySql(Library.ConfigurationManager.AppSettings["OpSqlConnStr"].ToString(), x => x.ServerVersion("5.7.17-mysql"));
  65. }
  66. }
  67. protected override void OnModelCreating(ModelBuilder modelBuilder)
  68. {
  69. modelBuilder.Entity<ActMerDaySummary>(entity =>
  70. {
  71. entity.Property(e => e.Id).HasColumnType("int(11)");
  72. entity.Property(e => e.ActCount).HasColumnType("int(11)");
  73. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  74. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  75. entity.Property(e => e.CreateMan)
  76. .HasColumnType("varchar(50)")
  77. .HasCharSet("utf8")
  78. .HasCollation("utf8_general_ci");
  79. entity.Property(e => e.OpId).HasColumnType("int(11)");
  80. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  81. entity.Property(e => e.SeoDescription)
  82. .HasColumnType("varchar(500)")
  83. .HasCharSet("utf8")
  84. .HasCollation("utf8_general_ci");
  85. entity.Property(e => e.SeoKeyword)
  86. .HasColumnType("varchar(200)")
  87. .HasCharSet("utf8")
  88. .HasCollation("utf8_general_ci");
  89. entity.Property(e => e.SeoTitle)
  90. .HasColumnType("varchar(100)")
  91. .HasCharSet("utf8")
  92. .HasCollation("utf8_general_ci");
  93. entity.Property(e => e.Sort).HasColumnType("int(11)");
  94. entity.Property(e => e.Status).HasColumnType("int(11)");
  95. entity.Property(e => e.TradeDate)
  96. .HasColumnType("varchar(8)")
  97. .HasCharSet("utf8")
  98. .HasCollation("utf8_general_ci");
  99. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  100. entity.Property(e => e.UpdateMan)
  101. .HasColumnType("varchar(50)")
  102. .HasCharSet("utf8")
  103. .HasCollation("utf8_general_ci");
  104. entity.Property(e => e.Version).HasColumnType("int(11)");
  105. });
  106. modelBuilder.Entity<ActMerMonthSummary>(entity =>
  107. {
  108. entity.Property(e => e.Id).HasColumnType("int(11)");
  109. entity.Property(e => e.ActCount).HasColumnType("int(11)");
  110. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  111. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  112. entity.Property(e => e.CreateMan)
  113. .HasColumnType("varchar(50)")
  114. .HasCharSet("utf8")
  115. .HasCollation("utf8_general_ci");
  116. entity.Property(e => e.OpId).HasColumnType("int(11)");
  117. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  118. entity.Property(e => e.SeoDescription)
  119. .HasColumnType("varchar(500)")
  120. .HasCharSet("utf8")
  121. .HasCollation("utf8_general_ci");
  122. entity.Property(e => e.SeoKeyword)
  123. .HasColumnType("varchar(200)")
  124. .HasCharSet("utf8")
  125. .HasCollation("utf8_general_ci");
  126. entity.Property(e => e.SeoTitle)
  127. .HasColumnType("varchar(100)")
  128. .HasCharSet("utf8")
  129. .HasCollation("utf8_general_ci");
  130. entity.Property(e => e.Sort).HasColumnType("int(11)");
  131. entity.Property(e => e.Status).HasColumnType("int(11)");
  132. entity.Property(e => e.TradeMonth)
  133. .HasColumnType("varchar(6)")
  134. .HasCharSet("utf8")
  135. .HasCollation("utf8_general_ci");
  136. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  137. entity.Property(e => e.UpdateMan)
  138. .HasColumnType("varchar(50)")
  139. .HasCharSet("utf8")
  140. .HasCollation("utf8_general_ci");
  141. entity.Property(e => e.Version).HasColumnType("int(11)");
  142. });
  143. modelBuilder.Entity<Advertisment>(entity =>
  144. {
  145. entity.Property(e => e.Id).HasColumnType("int(11)");
  146. entity.Property(e => e.ColId)
  147. .HasColumnType("varchar(30)")
  148. .HasCharSet("utf8")
  149. .HasCollation("utf8_general_ci");
  150. entity.Property(e => e.Contents)
  151. .HasColumnType("longtext")
  152. .HasCharSet("utf8")
  153. .HasCollation("utf8_general_ci");
  154. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  155. entity.Property(e => e.CreateMan)
  156. .HasColumnType("varchar(50)")
  157. .HasCharSet("utf8")
  158. .HasCollation("utf8_general_ci");
  159. entity.Property(e => e.PicPath)
  160. .HasColumnType("varchar(200)")
  161. .HasCharSet("utf8")
  162. .HasCollation("utf8_general_ci");
  163. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  164. entity.Property(e => e.SeoDescription)
  165. .HasColumnType("varchar(500)")
  166. .HasCharSet("utf8")
  167. .HasCollation("utf8_general_ci");
  168. entity.Property(e => e.SeoKeyword)
  169. .HasColumnType("varchar(200)")
  170. .HasCharSet("utf8")
  171. .HasCollation("utf8_general_ci");
  172. entity.Property(e => e.SeoTitle)
  173. .HasColumnType("varchar(100)")
  174. .HasCharSet("utf8")
  175. .HasCollation("utf8_general_ci");
  176. entity.Property(e => e.Sort).HasColumnType("int(11)");
  177. entity.Property(e => e.Status).HasColumnType("int(11)");
  178. entity.Property(e => e.Title)
  179. .HasColumnType("varchar(50)")
  180. .HasCharSet("utf8")
  181. .HasCollation("utf8_general_ci");
  182. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  183. entity.Property(e => e.UpdateMan)
  184. .HasColumnType("varchar(50)")
  185. .HasCharSet("utf8")
  186. .HasCollation("utf8_general_ci");
  187. entity.Property(e => e.Url)
  188. .HasColumnType("longtext")
  189. .HasCharSet("utf8")
  190. .HasCollation("utf8_general_ci");
  191. entity.Property(e => e.Version).HasColumnType("int(11)");
  192. });
  193. modelBuilder.Entity<AmountChangeRecord>(entity =>
  194. {
  195. entity.HasComment("合伙人额度变动记录表");
  196. entity.Property(e => e.Id).HasColumnType("int(11)");
  197. entity.Property(e => e.AfterAmount)
  198. .HasColumnType("decimal(18,2)")
  199. .HasComment("变更后金额");
  200. entity.Property(e => e.AmountType)
  201. .HasColumnType("int(11)")
  202. .HasComment("额度类型");
  203. entity.Property(e => e.BeforeAmount)
  204. .HasColumnType("decimal(18,2)")
  205. .HasComment("变更前金额");
  206. entity.Property(e => e.ChangeAmount)
  207. .HasColumnType("decimal(18,2)")
  208. .HasComment("变更金额");
  209. entity.Property(e => e.CreateDate)
  210. .HasColumnType("datetime")
  211. .HasComment("创建时间");
  212. entity.Property(e => e.OperateType)
  213. .HasColumnType("int(11)")
  214. .HasComment("变动类型");
  215. entity.Property(e => e.Operater)
  216. .HasColumnType("varchar(50)")
  217. .HasComment("操作人")
  218. .HasCharSet("utf8")
  219. .HasCollation("utf8_general_ci");
  220. entity.Property(e => e.Remark)
  221. .HasColumnType("varchar(100)")
  222. .HasComment("备注")
  223. .HasCharSet("utf8")
  224. .HasCollation("utf8_general_ci");
  225. entity.Property(e => e.Sort)
  226. .HasColumnType("int(11)")
  227. .HasComment("排序序号");
  228. entity.Property(e => e.Status)
  229. .HasColumnType("int(11)")
  230. .HasComment("状态");
  231. entity.Property(e => e.Title)
  232. .HasColumnType("varchar(50)")
  233. .HasComment("变动分类标题")
  234. .HasCharSet("utf8")
  235. .HasCollation("utf8_general_ci");
  236. entity.Property(e => e.UpdateDate)
  237. .HasColumnType("datetime")
  238. .HasComment("修改时间");
  239. entity.Property(e => e.UserId)
  240. .HasColumnType("int(11)")
  241. .HasComment("创客Id");
  242. entity.Property(e => e.Version)
  243. .HasColumnType("int(11)")
  244. .HasComment("版本号");
  245. });
  246. modelBuilder.Entity<AmountRecord>(entity =>
  247. {
  248. entity.Property(e => e.Id).HasColumnType("int(11)");
  249. entity.Property(e => e.AfterAmount).HasColumnType("decimal(18,2)");
  250. entity.Property(e => e.AfterTotalAmt)
  251. .HasColumnType("decimal(18,2)")
  252. .HasComment("使用后未使用额度");
  253. entity.Property(e => e.AfterValidAmount)
  254. .HasColumnType("decimal(18,2)")
  255. .HasComment("使用后关联分仓额度");
  256. entity.Property(e => e.AfterValidForGetAmount)
  257. .HasColumnType("decimal(18,2)")
  258. .HasComment("使用后可提现额度");
  259. entity.Property(e => e.ApplyId).HasColumnType("int(11)");
  260. entity.Property(e => e.BeforeAmount).HasColumnType("decimal(18,2)");
  261. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  262. entity.Property(e => e.CreateMan)
  263. .HasColumnType("varchar(50)")
  264. .HasCharSet("utf8")
  265. .HasCollation("utf8_general_ci");
  266. entity.Property(e => e.OperateType).HasColumnType("int(11)");
  267. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  268. entity.Property(e => e.SeoDescription)
  269. .HasColumnType("varchar(500)")
  270. .HasCharSet("utf8")
  271. .HasCollation("utf8_general_ci");
  272. entity.Property(e => e.SeoKeyword)
  273. .HasColumnType("varchar(200)")
  274. .HasCharSet("utf8")
  275. .HasCollation("utf8_general_ci");
  276. entity.Property(e => e.SeoTitle)
  277. .HasColumnType("varchar(100)")
  278. .HasCharSet("utf8")
  279. .HasCollation("utf8_general_ci");
  280. entity.Property(e => e.Sort).HasColumnType("int(11)");
  281. entity.Property(e => e.Status).HasColumnType("int(11)");
  282. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  283. entity.Property(e => e.UpdateMan)
  284. .HasColumnType("varchar(50)")
  285. .HasCharSet("utf8")
  286. .HasCollation("utf8_general_ci");
  287. entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)");
  288. entity.Property(e => e.UserId).HasColumnType("int(11)");
  289. entity.Property(e => e.Version).HasColumnType("int(11)");
  290. });
  291. modelBuilder.Entity<Col>(entity =>
  292. {
  293. entity.Property(e => e.Id).HasColumnType("int(11)");
  294. entity.Property(e => e.ColDetail)
  295. .HasColumnType("varchar(50)")
  296. .HasCharSet("utf8")
  297. .HasCollation("utf8_general_ci");
  298. entity.Property(e => e.ColEnName)
  299. .HasColumnType("varchar(50)")
  300. .HasCharSet("utf8")
  301. .HasCollation("utf8_general_ci");
  302. entity.Property(e => e.ColId)
  303. .HasColumnType("varchar(30)")
  304. .HasCharSet("utf8")
  305. .HasCollation("utf8_general_ci");
  306. entity.Property(e => e.ColName)
  307. .HasColumnType("varchar(50)")
  308. .HasCharSet("utf8")
  309. .HasCollation("utf8_general_ci");
  310. entity.Property(e => e.ColPicPath)
  311. .HasColumnType("varchar(200)")
  312. .HasCharSet("utf8")
  313. .HasCollation("utf8_general_ci");
  314. entity.Property(e => e.Contents)
  315. .HasColumnType("longtext")
  316. .HasCharSet("utf8")
  317. .HasCollation("utf8_general_ci");
  318. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  319. entity.Property(e => e.CreateMan)
  320. .HasColumnType("varchar(50)")
  321. .HasCharSet("utf8")
  322. .HasCollation("utf8_general_ci");
  323. entity.Property(e => e.ParentId).HasColumnType("int(11)");
  324. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  325. entity.Property(e => e.Recommend)
  326. .HasColumnType("bit(1)")
  327. .HasDefaultValueSql("b'0'");
  328. entity.Property(e => e.SeoDescription)
  329. .HasColumnType("varchar(500)")
  330. .HasCharSet("utf8")
  331. .HasCollation("utf8_general_ci");
  332. entity.Property(e => e.SeoKeyword)
  333. .HasColumnType("varchar(200)")
  334. .HasCharSet("utf8")
  335. .HasCollation("utf8_general_ci");
  336. entity.Property(e => e.SeoTitle)
  337. .HasColumnType("varchar(100)")
  338. .HasCharSet("utf8")
  339. .HasCollation("utf8_general_ci");
  340. entity.Property(e => e.Sort).HasColumnType("int(11)");
  341. entity.Property(e => e.Status).HasColumnType("int(11)");
  342. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  343. entity.Property(e => e.UpdateMan)
  344. .HasColumnType("varchar(50)")
  345. .HasCharSet("utf8")
  346. .HasCollation("utf8_general_ci");
  347. entity.Property(e => e.Url)
  348. .HasColumnType("longtext")
  349. .HasCharSet("utf8")
  350. .HasCollation("utf8_general_ci");
  351. entity.Property(e => e.Version).HasColumnType("int(11)");
  352. });
  353. modelBuilder.Entity<MachineApplyOpRecord>(entity =>
  354. {
  355. entity.Property(e => e.Id).HasColumnType("int(11)");
  356. entity.Property(e => e.ApplyId).HasColumnType("int(11)");
  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.OpId).HasColumnType("int(11)");
  363. entity.Property(e => e.OpType).HasColumnType("int(11)");
  364. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  365. entity.Property(e => e.SeoDescription)
  366. .HasColumnType("varchar(500)")
  367. .HasCharSet("utf8")
  368. .HasCollation("utf8_general_ci");
  369. entity.Property(e => e.SeoKeyword)
  370. .HasColumnType("varchar(200)")
  371. .HasCharSet("utf8")
  372. .HasCollation("utf8_general_ci");
  373. entity.Property(e => e.SeoTitle)
  374. .HasColumnType("varchar(100)")
  375. .HasCharSet("utf8")
  376. .HasCollation("utf8_general_ci");
  377. entity.Property(e => e.Sort).HasColumnType("int(11)");
  378. entity.Property(e => e.SourceSn)
  379. .HasColumnType("varchar(500)")
  380. .HasCharSet("utf8")
  381. .HasCollation("utf8_general_ci");
  382. entity.Property(e => e.Status).HasColumnType("int(11)");
  383. entity.Property(e => e.TargetSn)
  384. .HasColumnType("varchar(500)")
  385. .HasCharSet("utf8")
  386. .HasCollation("utf8_general_ci");
  387. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  388. entity.Property(e => e.UpdateMan)
  389. .HasColumnType("varchar(50)")
  390. .HasCharSet("utf8")
  391. .HasCollation("utf8_general_ci");
  392. entity.Property(e => e.Version).HasColumnType("int(11)");
  393. });
  394. modelBuilder.Entity<MenuRight>(entity =>
  395. {
  396. entity.HasKey(e => e.MenuId)
  397. .HasName("PRIMARY");
  398. entity.Property(e => e.MenuId)
  399. .HasColumnType("varchar(50)")
  400. .HasCharSet("utf8")
  401. .HasCollation("utf8_general_ci");
  402. entity.Property(e => e.Name)
  403. .HasColumnType("varchar(50)")
  404. .HasCharSet("utf8")
  405. .HasCollation("utf8_general_ci");
  406. });
  407. modelBuilder.Entity<MsgBlackList>(entity =>
  408. {
  409. entity.Property(e => e.Id).HasColumnType("int(11)");
  410. entity.Property(e => e.ColId)
  411. .HasColumnType("varchar(30)")
  412. .HasCharSet("utf8")
  413. .HasCollation("utf8_general_ci");
  414. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  415. entity.Property(e => e.CreateMan)
  416. .HasColumnType("varchar(50)")
  417. .HasCharSet("utf8")
  418. .HasCollation("utf8_general_ci");
  419. entity.Property(e => e.Extend)
  420. .HasColumnType("varchar(2000)")
  421. .HasCharSet("utf8")
  422. .HasCollation("utf8_general_ci");
  423. entity.Property(e => e.Ip)
  424. .HasColumnType("varchar(64)")
  425. .HasCharSet("utf8")
  426. .HasCollation("utf8_general_ci");
  427. entity.Property(e => e.Mobile)
  428. .HasColumnType("varchar(11)")
  429. .HasCharSet("utf8")
  430. .HasCollation("utf8_general_ci");
  431. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  432. entity.Property(e => e.Reason)
  433. .HasColumnType("varchar(512)")
  434. .HasCharSet("utf8")
  435. .HasCollation("utf8_general_ci");
  436. entity.Property(e => e.Remark)
  437. .HasColumnType("varchar(64)")
  438. .HasCharSet("utf8")
  439. .HasCollation("utf8_general_ci");
  440. entity.Property(e => e.SeoDescription)
  441. .HasColumnType("varchar(500)")
  442. .HasCharSet("utf8")
  443. .HasCollation("utf8_general_ci");
  444. entity.Property(e => e.SeoKeyword)
  445. .HasColumnType("varchar(200)")
  446. .HasCharSet("utf8")
  447. .HasCollation("utf8_general_ci");
  448. entity.Property(e => e.SeoTitle)
  449. .HasColumnType("varchar(100)")
  450. .HasCharSet("utf8")
  451. .HasCollation("utf8_general_ci");
  452. entity.Property(e => e.Sort).HasColumnType("int(11)");
  453. entity.Property(e => e.Status).HasColumnType("int(11)");
  454. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  455. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  456. entity.Property(e => e.UpdateMan)
  457. .HasColumnType("varchar(50)")
  458. .HasCharSet("utf8")
  459. .HasCollation("utf8_general_ci");
  460. entity.Property(e => e.Version).HasColumnType("int(11)");
  461. });
  462. modelBuilder.Entity<MsgPersonal>(entity =>
  463. {
  464. entity.Property(e => e.Id).HasColumnType("int(11)");
  465. entity.Property(e => e.BgPic)
  466. .HasColumnType("varchar(200)")
  467. .HasCharSet("utf8")
  468. .HasCollation("utf8_general_ci");
  469. entity.Property(e => e.Content)
  470. .HasColumnType("longtext")
  471. .HasCharSet("utf8")
  472. .HasCollation("utf8_general_ci");
  473. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  474. entity.Property(e => e.CreateMan)
  475. .HasColumnType("varchar(50)")
  476. .HasCharSet("utf8")
  477. .HasCollation("utf8_general_ci");
  478. entity.Property(e => e.ExtendColumn)
  479. .HasColumnType("mediumtext")
  480. .HasCharSet("utf8")
  481. .HasCollation("utf8_general_ci");
  482. entity.Property(e => e.MsgType).HasColumnType("int(11)");
  483. entity.Property(e => e.PushFlag).HasColumnType("int(11)");
  484. entity.Property(e => e.PushParam)
  485. .HasColumnType("varchar(255)")
  486. .HasCharSet("utf8")
  487. .HasCollation("utf8_general_ci");
  488. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  489. entity.Property(e => e.ReadFlag)
  490. .HasColumnType("bit(1)")
  491. .HasDefaultValueSql("b'0'");
  492. entity.Property(e => e.Remark)
  493. .HasColumnType("varchar(255)")
  494. .HasCharSet("utf8")
  495. .HasCollation("utf8_general_ci");
  496. entity.Property(e => e.SeoDescription)
  497. .HasColumnType("varchar(500)")
  498. .HasCharSet("utf8")
  499. .HasCollation("utf8_general_ci");
  500. entity.Property(e => e.SeoKeyword)
  501. .HasColumnType("varchar(200)")
  502. .HasCharSet("utf8")
  503. .HasCollation("utf8_general_ci");
  504. entity.Property(e => e.SeoTitle)
  505. .HasColumnType("varchar(100)")
  506. .HasCharSet("utf8")
  507. .HasCollation("utf8_general_ci");
  508. entity.Property(e => e.Sort).HasColumnType("int(11)");
  509. entity.Property(e => e.Status).HasColumnType("int(11)");
  510. entity.Property(e => e.Summary)
  511. .HasColumnType("varchar(500)")
  512. .HasCharSet("utf8")
  513. .HasCollation("utf8_general_ci");
  514. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  515. entity.Property(e => e.Title)
  516. .HasColumnType("varchar(50)")
  517. .HasCharSet("utf8")
  518. .HasCollation("utf8_general_ci");
  519. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  520. entity.Property(e => e.UpdateMan)
  521. .HasColumnType("varchar(50)")
  522. .HasCharSet("utf8")
  523. .HasCollation("utf8_general_ci");
  524. entity.Property(e => e.Url)
  525. .HasColumnType("varchar(500)")
  526. .HasCharSet("utf8")
  527. .HasCollation("utf8_general_ci");
  528. entity.Property(e => e.UserId).HasColumnType("int(11)");
  529. entity.Property(e => e.Version).HasColumnType("int(11)");
  530. });
  531. modelBuilder.Entity<MsgPlacard>(entity =>
  532. {
  533. entity.Property(e => e.Id).HasColumnType("int(11)");
  534. entity.Property(e => e.BgPic)
  535. .HasColumnType("varchar(200)")
  536. .HasCharSet("utf8")
  537. .HasCollation("utf8_general_ci");
  538. entity.Property(e => e.Content)
  539. .HasColumnType("longtext")
  540. .HasCharSet("utf8")
  541. .HasCollation("utf8_general_ci");
  542. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  543. entity.Property(e => e.CreateMan)
  544. .HasColumnType("varchar(50)")
  545. .HasCharSet("utf8")
  546. .HasCollation("utf8_general_ci");
  547. entity.Property(e => e.EffectEndDate).HasColumnType("datetime");
  548. entity.Property(e => e.EffectStartDate).HasColumnType("datetime");
  549. entity.Property(e => e.ExtendColumn)
  550. .HasColumnType("mediumtext")
  551. .HasCharSet("utf8")
  552. .HasCollation("utf8_general_ci");
  553. entity.Property(e => e.IsTop)
  554. .HasColumnType("bit(1)")
  555. .HasDefaultValueSql("b'0'");
  556. entity.Property(e => e.MsgType).HasColumnType("int(11)");
  557. entity.Property(e => e.PushFlag).HasColumnType("int(11)");
  558. entity.Property(e => e.PushParam)
  559. .HasColumnType("varchar(255)")
  560. .HasCharSet("utf8")
  561. .HasCollation("utf8_general_ci");
  562. entity.Property(e => e.PushTime).HasColumnType("datetime");
  563. entity.Property(e => e.PushType).HasColumnType("int(11)");
  564. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  565. entity.Property(e => e.Remark)
  566. .HasColumnType("varchar(255)")
  567. .HasCharSet("utf8")
  568. .HasCollation("utf8_general_ci");
  569. entity.Property(e => e.SeoDescription)
  570. .HasColumnType("varchar(500)")
  571. .HasCharSet("utf8")
  572. .HasCollation("utf8_general_ci");
  573. entity.Property(e => e.SeoKeyword)
  574. .HasColumnType("varchar(200)")
  575. .HasCharSet("utf8")
  576. .HasCollation("utf8_general_ci");
  577. entity.Property(e => e.SeoTitle)
  578. .HasColumnType("varchar(100)")
  579. .HasCharSet("utf8")
  580. .HasCollation("utf8_general_ci");
  581. entity.Property(e => e.ShowType).HasColumnType("int(11)");
  582. entity.Property(e => e.Sort).HasColumnType("int(11)");
  583. entity.Property(e => e.Status).HasColumnType("int(11)");
  584. entity.Property(e => e.Summary)
  585. .HasColumnType("varchar(500)")
  586. .HasCharSet("utf8")
  587. .HasCollation("utf8_general_ci");
  588. entity.Property(e => e.Title)
  589. .HasColumnType("varchar(50)")
  590. .HasCharSet("utf8")
  591. .HasCollation("utf8_general_ci");
  592. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  593. entity.Property(e => e.UpdateMan)
  594. .HasColumnType("varchar(50)")
  595. .HasCharSet("utf8")
  596. .HasCollation("utf8_general_ci");
  597. entity.Property(e => e.Url)
  598. .HasColumnType("varchar(500)")
  599. .HasCharSet("utf8")
  600. .HasCollation("utf8_general_ci");
  601. entity.Property(e => e.Version).HasColumnType("int(11)");
  602. });
  603. modelBuilder.Entity<MsgPlacardRead>(entity =>
  604. {
  605. entity.Property(e => e.Id).HasColumnType("int(11)");
  606. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  607. entity.Property(e => e.CreateMan)
  608. .HasColumnType("varchar(50)")
  609. .HasCharSet("utf8")
  610. .HasCollation("utf8_general_ci");
  611. entity.Property(e => e.PlacardId).HasColumnType("int(11)");
  612. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  613. entity.Property(e => e.ReadFlag)
  614. .HasColumnType("bit(1)")
  615. .HasDefaultValueSql("b'0'");
  616. entity.Property(e => e.Remark)
  617. .HasColumnType("varchar(255)")
  618. .HasCharSet("utf8")
  619. .HasCollation("utf8_general_ci");
  620. entity.Property(e => e.SeoDescription)
  621. .HasColumnType("varchar(500)")
  622. .HasCharSet("utf8")
  623. .HasCollation("utf8_general_ci");
  624. entity.Property(e => e.SeoKeyword)
  625. .HasColumnType("varchar(200)")
  626. .HasCharSet("utf8")
  627. .HasCollation("utf8_general_ci");
  628. entity.Property(e => e.SeoTitle)
  629. .HasColumnType("varchar(100)")
  630. .HasCharSet("utf8")
  631. .HasCollation("utf8_general_ci");
  632. entity.Property(e => e.Sort).HasColumnType("int(11)");
  633. entity.Property(e => e.Status).HasColumnType("int(11)");
  634. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  635. entity.Property(e => e.UpdateMan)
  636. .HasColumnType("varchar(50)")
  637. .HasCharSet("utf8")
  638. .HasCollation("utf8_general_ci");
  639. entity.Property(e => e.UserId)
  640. .HasColumnType("varchar(64)")
  641. .HasCharSet("utf8")
  642. .HasCollation("utf8_general_ci");
  643. entity.Property(e => e.Version).HasColumnType("int(11)");
  644. });
  645. modelBuilder.Entity<MsgPush>(entity =>
  646. {
  647. entity.Property(e => e.Id).HasColumnType("int(11)");
  648. entity.Property(e => e.AutoPushDate).HasColumnType("datetime");
  649. entity.Property(e => e.ClientType)
  650. .HasColumnType("varchar(20)")
  651. .HasCharSet("utf8")
  652. .HasCollation("utf8_general_ci");
  653. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  654. entity.Property(e => e.CreateMan)
  655. .HasColumnType("varchar(50)")
  656. .HasCharSet("utf8")
  657. .HasCollation("utf8_general_ci");
  658. entity.Property(e => e.Details)
  659. .HasColumnType("varchar(200)")
  660. .HasCharSet("utf8")
  661. .HasCollation("utf8_general_ci");
  662. entity.Property(e => e.Devices)
  663. .HasColumnType("mediumtext")
  664. .HasCharSet("utf8")
  665. .HasCollation("utf8_general_ci");
  666. entity.Property(e => e.IsSilent)
  667. .HasColumnType("bit(1)")
  668. .HasDefaultValueSql("b'0'");
  669. entity.Property(e => e.MessageId)
  670. .HasColumnType("varchar(50)")
  671. .HasCharSet("utf8")
  672. .HasCollation("utf8_general_ci");
  673. entity.Property(e => e.Mobiles)
  674. .HasColumnType("mediumtext")
  675. .HasCharSet("utf8")
  676. .HasCollation("utf8_general_ci");
  677. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  678. entity.Property(e => e.SeoDescription)
  679. .HasColumnType("varchar(500)")
  680. .HasCharSet("utf8")
  681. .HasCollation("utf8_general_ci");
  682. entity.Property(e => e.SeoKeyword)
  683. .HasColumnType("varchar(200)")
  684. .HasCharSet("utf8")
  685. .HasCollation("utf8_general_ci");
  686. entity.Property(e => e.SeoTitle)
  687. .HasColumnType("varchar(100)")
  688. .HasCharSet("utf8")
  689. .HasCollation("utf8_general_ci");
  690. entity.Property(e => e.Sort).HasColumnType("int(11)");
  691. entity.Property(e => e.Status).HasColumnType("int(11)");
  692. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  693. entity.Property(e => e.Title)
  694. .HasColumnType("varchar(50)")
  695. .HasCharSet("utf8")
  696. .HasCollation("utf8_general_ci");
  697. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  698. entity.Property(e => e.UpdateMan)
  699. .HasColumnType("varchar(50)")
  700. .HasCharSet("utf8")
  701. .HasCollation("utf8_general_ci");
  702. entity.Property(e => e.Url)
  703. .HasColumnType("varchar(500)")
  704. .HasCharSet("utf8")
  705. .HasCollation("utf8_general_ci");
  706. entity.Property(e => e.Version).HasColumnType("int(11)");
  707. });
  708. modelBuilder.Entity<MsgSms>(entity =>
  709. {
  710. entity.Property(e => e.Id).HasColumnType("int(11)");
  711. entity.Property(e => e.Code).HasColumnType("int(11)");
  712. entity.Property(e => e.ColId)
  713. .HasColumnType("varchar(30)")
  714. .HasCharSet("utf8")
  715. .HasCollation("utf8_general_ci");
  716. entity.Property(e => e.Content)
  717. .HasColumnType("varchar(200)")
  718. .HasCharSet("utf8")
  719. .HasCollation("utf8_general_ci");
  720. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  721. entity.Property(e => e.CreateMan)
  722. .HasColumnType("varchar(50)")
  723. .HasCharSet("utf8")
  724. .HasCollation("utf8_general_ci");
  725. entity.Property(e => e.ErrorNum).HasColumnType("int(11)");
  726. entity.Property(e => e.Ip)
  727. .HasColumnType("varchar(15)")
  728. .HasCharSet("utf8")
  729. .HasCollation("utf8_general_ci");
  730. entity.Property(e => e.Kind)
  731. .HasColumnType("varchar(64)")
  732. .HasCharSet("utf8")
  733. .HasCollation("utf8_general_ci");
  734. entity.Property(e => e.Mobile)
  735. .HasColumnType("varchar(11)")
  736. .HasCharSet("utf8")
  737. .HasCollation("utf8_general_ci");
  738. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  739. entity.Property(e => e.RespCode)
  740. .HasColumnType("varchar(16)")
  741. .HasCharSet("utf8")
  742. .HasCollation("utf8_general_ci");
  743. entity.Property(e => e.RespContent)
  744. .HasColumnType("varchar(500)")
  745. .HasCharSet("utf8")
  746. .HasCollation("utf8_general_ci");
  747. entity.Property(e => e.SendStatus).HasColumnType("int(11)");
  748. entity.Property(e => e.SendTime).HasColumnType("datetime");
  749. entity.Property(e => e.SendType).HasColumnType("int(11)");
  750. entity.Property(e => e.SeoDescription)
  751. .HasColumnType("varchar(500)")
  752. .HasCharSet("utf8")
  753. .HasCollation("utf8_general_ci");
  754. entity.Property(e => e.SeoKeyword)
  755. .HasColumnType("varchar(200)")
  756. .HasCharSet("utf8")
  757. .HasCollation("utf8_general_ci");
  758. entity.Property(e => e.SeoTitle)
  759. .HasColumnType("varchar(100)")
  760. .HasCharSet("utf8")
  761. .HasCollation("utf8_general_ci");
  762. entity.Property(e => e.SignName)
  763. .HasColumnType("varchar(10)")
  764. .HasCharSet("utf8")
  765. .HasCollation("utf8_general_ci");
  766. entity.Property(e => e.SmsType).HasColumnType("int(11)");
  767. entity.Property(e => e.Sort).HasColumnType("int(11)");
  768. entity.Property(e => e.Status).HasColumnType("int(11)");
  769. entity.Property(e => e.TemplateId).HasColumnType("int(11)");
  770. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  771. entity.Property(e => e.UpdateMan)
  772. .HasColumnType("varchar(50)")
  773. .HasCharSet("utf8")
  774. .HasCollation("utf8_general_ci");
  775. entity.Property(e => e.VerifyCode)
  776. .HasColumnType("varchar(6)")
  777. .HasCharSet("utf8")
  778. .HasCollation("utf8_general_ci");
  779. entity.Property(e => e.VerifyStatus).HasColumnType("int(11)");
  780. entity.Property(e => e.Version).HasColumnType("int(11)");
  781. });
  782. modelBuilder.Entity<MsgSmsSet>(entity =>
  783. {
  784. entity.Property(e => e.Id).HasColumnType("int(11)");
  785. entity.Property(e => e.AuthPwd)
  786. .HasColumnType("varchar(50)")
  787. .HasCharSet("utf8")
  788. .HasCollation("utf8_general_ci");
  789. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  790. entity.Property(e => e.CreateMan)
  791. .HasColumnType("varchar(50)")
  792. .HasCharSet("utf8")
  793. .HasCollation("utf8_general_ci");
  794. entity.Property(e => e.Name)
  795. .HasColumnType("varchar(50)")
  796. .HasCharSet("utf8")
  797. .HasCollation("utf8_general_ci");
  798. entity.Property(e => e.Params)
  799. .HasColumnType("varchar(200)")
  800. .HasCharSet("utf8")
  801. .HasCollation("utf8_general_ci");
  802. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  803. entity.Property(e => e.ReqUrl)
  804. .HasColumnType("varchar(200)")
  805. .HasCharSet("utf8")
  806. .HasCollation("utf8_general_ci");
  807. entity.Property(e => e.SeoDescription)
  808. .HasColumnType("varchar(500)")
  809. .HasCharSet("utf8")
  810. .HasCollation("utf8_general_ci");
  811. entity.Property(e => e.SeoKeyword)
  812. .HasColumnType("varchar(200)")
  813. .HasCharSet("utf8")
  814. .HasCollation("utf8_general_ci");
  815. entity.Property(e => e.SeoTitle)
  816. .HasColumnType("varchar(100)")
  817. .HasCharSet("utf8")
  818. .HasCollation("utf8_general_ci");
  819. entity.Property(e => e.SmsType).HasColumnType("int(11)");
  820. entity.Property(e => e.Sort).HasColumnType("int(11)");
  821. entity.Property(e => e.Status).HasColumnType("int(11)");
  822. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  823. entity.Property(e => e.UpdateMan)
  824. .HasColumnType("varchar(50)")
  825. .HasCharSet("utf8")
  826. .HasCollation("utf8_general_ci");
  827. entity.Property(e => e.UserName)
  828. .HasColumnType("varchar(50)")
  829. .HasCharSet("utf8")
  830. .HasCollation("utf8_general_ci");
  831. entity.Property(e => e.Version).HasColumnType("int(11)");
  832. });
  833. modelBuilder.Entity<MsgTemplate>(entity =>
  834. {
  835. entity.Property(e => e.Id).HasColumnType("int(11)");
  836. entity.Property(e => e.ColId)
  837. .HasColumnType("varchar(30)")
  838. .HasCharSet("utf8")
  839. .HasCollation("utf8_general_ci");
  840. entity.Property(e => e.Content)
  841. .HasColumnType("varchar(200)")
  842. .HasCharSet("utf8")
  843. .HasCollation("utf8_general_ci");
  844. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  845. entity.Property(e => e.CreateMan)
  846. .HasColumnType("varchar(50)")
  847. .HasCharSet("utf8")
  848. .HasCollation("utf8_general_ci");
  849. entity.Property(e => e.Extend)
  850. .HasColumnType("varchar(2000)")
  851. .HasCharSet("utf8")
  852. .HasCollation("utf8_general_ci");
  853. entity.Property(e => e.MsgType).HasColumnType("int(11)");
  854. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  855. entity.Property(e => e.Remark)
  856. .HasColumnType("varchar(64)")
  857. .HasCharSet("utf8")
  858. .HasCollation("utf8_general_ci");
  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.SignName)
  872. .HasColumnType("varchar(10)")
  873. .HasCharSet("utf8")
  874. .HasCollation("utf8_general_ci");
  875. entity.Property(e => e.Sort).HasColumnType("int(11)");
  876. entity.Property(e => e.Status).HasColumnType("int(11)");
  877. entity.Property(e => e.TemplateType).HasColumnType("int(11)");
  878. entity.Property(e => e.Title)
  879. .HasColumnType("varchar(50)")
  880. .HasCharSet("utf8")
  881. .HasCollation("utf8_general_ci");
  882. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  883. entity.Property(e => e.UpdateMan)
  884. .HasColumnType("varchar(50)")
  885. .HasCharSet("utf8")
  886. .HasCollation("utf8_general_ci");
  887. entity.Property(e => e.Version).HasColumnType("int(11)");
  888. });
  889. modelBuilder.Entity<OperateForCode>(entity =>
  890. {
  891. entity.HasKey(e => e.OpCode)
  892. .HasName("PRIMARY");
  893. entity.Property(e => e.OpCode)
  894. .HasColumnType("varchar(20)")
  895. .HasCharSet("utf8")
  896. .HasCollation("utf8_general_ci");
  897. entity.Property(e => e.OpId).HasColumnType("int(11)");
  898. });
  899. modelBuilder.Entity<OperateLog>(entity =>
  900. {
  901. entity.Property(e => e.Id).HasColumnType("int(11)");
  902. entity.Property(e => e.AfterOperate)
  903. .HasColumnType("mediumtext")
  904. .HasCharSet("utf8")
  905. .HasCollation("utf8_general_ci");
  906. entity.Property(e => e.BeforeOperate)
  907. .HasColumnType("mediumtext")
  908. .HasCharSet("utf8")
  909. .HasCollation("utf8_general_ci");
  910. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  911. entity.Property(e => e.CreateMan)
  912. .HasColumnType("varchar(50)")
  913. .HasCharSet("utf8")
  914. .HasCollation("utf8_general_ci");
  915. entity.Property(e => e.OpMode)
  916. .HasColumnType("varchar(30)")
  917. .HasCharSet("utf8")
  918. .HasCollation("utf8_general_ci");
  919. entity.Property(e => e.OperateMan)
  920. .HasColumnType("varchar(50)")
  921. .HasCharSet("utf8")
  922. .HasCollation("utf8_general_ci");
  923. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  924. entity.Property(e => e.SeoDescription)
  925. .HasColumnType("varchar(500)")
  926. .HasCharSet("utf8")
  927. .HasCollation("utf8_general_ci");
  928. entity.Property(e => e.SeoKeyword)
  929. .HasColumnType("varchar(200)")
  930. .HasCharSet("utf8")
  931. .HasCollation("utf8_general_ci");
  932. entity.Property(e => e.SeoTitle)
  933. .HasColumnType("varchar(100)")
  934. .HasCharSet("utf8")
  935. .HasCollation("utf8_general_ci");
  936. entity.Property(e => e.Sort).HasColumnType("int(11)");
  937. entity.Property(e => e.Status).HasColumnType("int(11)");
  938. entity.Property(e => e.TableEnName)
  939. .HasColumnType("varchar(50)")
  940. .HasCharSet("utf8")
  941. .HasCollation("utf8_general_ci");
  942. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  943. entity.Property(e => e.UpdateMan)
  944. .HasColumnType("varchar(50)")
  945. .HasCharSet("utf8")
  946. .HasCollation("utf8_general_ci");
  947. entity.Property(e => e.Version).HasColumnType("int(11)");
  948. });
  949. modelBuilder.Entity<OperateRightList>(entity =>
  950. {
  951. entity.Property(e => e.Id).HasColumnType("int(11)");
  952. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  953. entity.Property(e => e.CreateMan)
  954. .HasColumnType("varchar(50)")
  955. .HasCharSet("utf8")
  956. .HasCollation("utf8_general_ci");
  957. entity.Property(e => e.EnName)
  958. .HasColumnType("varchar(50)")
  959. .HasCharSet("utf8")
  960. .HasCollation("utf8_general_ci");
  961. entity.Property(e => e.Name)
  962. .HasColumnType("varchar(50)")
  963. .HasCharSet("utf8")
  964. .HasCollation("utf8_general_ci");
  965. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  966. entity.Property(e => e.SeoDescription)
  967. .HasColumnType("varchar(500)")
  968. .HasCharSet("utf8")
  969. .HasCollation("utf8_general_ci");
  970. entity.Property(e => e.SeoKeyword)
  971. .HasColumnType("varchar(200)")
  972. .HasCharSet("utf8")
  973. .HasCollation("utf8_general_ci");
  974. entity.Property(e => e.SeoTitle)
  975. .HasColumnType("varchar(100)")
  976. .HasCharSet("utf8")
  977. .HasCollation("utf8_general_ci");
  978. entity.Property(e => e.Sort).HasColumnType("int(11)");
  979. entity.Property(e => e.Status).HasColumnType("int(11)");
  980. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  981. entity.Property(e => e.UpdateMan)
  982. .HasColumnType("varchar(50)")
  983. .HasCharSet("utf8")
  984. .HasCollation("utf8_general_ci");
  985. entity.Property(e => e.Version).HasColumnType("int(11)");
  986. });
  987. modelBuilder.Entity<PageInfo>(entity =>
  988. {
  989. entity.Property(e => e.Id).HasColumnType("int(11)");
  990. entity.Property(e => e.ColId)
  991. .HasColumnType("varchar(30)")
  992. .HasCharSet("utf8")
  993. .HasCollation("utf8_general_ci");
  994. entity.Property(e => e.Contents)
  995. .HasColumnType("longtext")
  996. .HasCharSet("utf8")
  997. .HasCollation("utf8_general_ci");
  998. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  999. entity.Property(e => e.CreateMan)
  1000. .HasColumnType("varchar(50)")
  1001. .HasCharSet("utf8")
  1002. .HasCollation("utf8_general_ci");
  1003. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1004. entity.Property(e => e.SeoDescription)
  1005. .HasColumnType("varchar(500)")
  1006. .HasCharSet("utf8")
  1007. .HasCollation("utf8_general_ci");
  1008. entity.Property(e => e.SeoKeyword)
  1009. .HasColumnType("varchar(200)")
  1010. .HasCharSet("utf8")
  1011. .HasCollation("utf8_general_ci");
  1012. entity.Property(e => e.SeoTitle)
  1013. .HasColumnType("varchar(100)")
  1014. .HasCharSet("utf8")
  1015. .HasCollation("utf8_general_ci");
  1016. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1017. entity.Property(e => e.Status).HasColumnType("int(11)");
  1018. entity.Property(e => e.Title)
  1019. .HasColumnType("varchar(200)")
  1020. .HasCharSet("utf8")
  1021. .HasCollation("utf8_general_ci");
  1022. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1023. entity.Property(e => e.UpdateMan)
  1024. .HasColumnType("varchar(50)")
  1025. .HasCharSet("utf8")
  1026. .HasCollation("utf8_general_ci");
  1027. entity.Property(e => e.Version).HasColumnType("int(11)");
  1028. });
  1029. modelBuilder.Entity<PosCouponDaySummary>(entity =>
  1030. {
  1031. entity.Property(e => e.Id).HasColumnType("int(11)");
  1032. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1033. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1034. entity.Property(e => e.CreateMan)
  1035. .HasColumnType("varchar(50)")
  1036. .HasCharSet("utf8")
  1037. .HasCollation("utf8_general_ci");
  1038. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1039. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1040. entity.Property(e => e.SaleCount).HasColumnType("int(11)");
  1041. entity.Property(e => e.SeoDescription)
  1042. .HasColumnType("varchar(500)")
  1043. .HasCharSet("utf8")
  1044. .HasCollation("utf8_general_ci");
  1045. entity.Property(e => e.SeoKeyword)
  1046. .HasColumnType("varchar(200)")
  1047. .HasCharSet("utf8")
  1048. .HasCollation("utf8_general_ci");
  1049. entity.Property(e => e.SeoTitle)
  1050. .HasColumnType("varchar(100)")
  1051. .HasCharSet("utf8")
  1052. .HasCollation("utf8_general_ci");
  1053. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1054. entity.Property(e => e.Status).HasColumnType("int(11)");
  1055. entity.Property(e => e.TradeDate)
  1056. .HasColumnType("varchar(8)")
  1057. .HasCharSet("utf8")
  1058. .HasCollation("utf8_general_ci");
  1059. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1060. entity.Property(e => e.UpdateMan)
  1061. .HasColumnType("varchar(50)")
  1062. .HasCharSet("utf8")
  1063. .HasCollation("utf8_general_ci");
  1064. entity.Property(e => e.Version).HasColumnType("int(11)");
  1065. });
  1066. modelBuilder.Entity<PosCouponForOp>(entity =>
  1067. {
  1068. entity.Property(e => e.Id).HasColumnType("int(11)");
  1069. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1070. entity.Property(e => e.CreateMan)
  1071. .HasColumnType("varchar(50)")
  1072. .HasCharSet("utf8")
  1073. .HasCollation("utf8_general_ci");
  1074. entity.Property(e => e.OutNum).HasColumnType("int(11)");
  1075. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1076. entity.Property(e => e.SeoDescription)
  1077. .HasColumnType("varchar(500)")
  1078. .HasCharSet("utf8")
  1079. .HasCollation("utf8_general_ci");
  1080. entity.Property(e => e.SeoKeyword)
  1081. .HasColumnType("varchar(200)")
  1082. .HasCharSet("utf8")
  1083. .HasCollation("utf8_general_ci");
  1084. entity.Property(e => e.SeoTitle)
  1085. .HasColumnType("varchar(100)")
  1086. .HasCharSet("utf8")
  1087. .HasCollation("utf8_general_ci");
  1088. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1089. entity.Property(e => e.Status).HasColumnType("int(11)");
  1090. entity.Property(e => e.StockNum).HasColumnType("int(11)");
  1091. entity.Property(e => e.TotalNum).HasColumnType("int(11)");
  1092. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1093. entity.Property(e => e.UpdateMan)
  1094. .HasColumnType("varchar(50)")
  1095. .HasCharSet("utf8")
  1096. .HasCollation("utf8_general_ci");
  1097. entity.Property(e => e.Version).HasColumnType("int(11)");
  1098. });
  1099. modelBuilder.Entity<PosCouponMonthSummary>(entity =>
  1100. {
  1101. entity.Property(e => e.Id).HasColumnType("int(11)");
  1102. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1103. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1104. entity.Property(e => e.CreateMan)
  1105. .HasColumnType("varchar(50)")
  1106. .HasCharSet("utf8")
  1107. .HasCollation("utf8_general_ci");
  1108. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1109. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1110. entity.Property(e => e.SaleCount).HasColumnType("int(11)");
  1111. entity.Property(e => e.SeoDescription)
  1112. .HasColumnType("varchar(500)")
  1113. .HasCharSet("utf8")
  1114. .HasCollation("utf8_general_ci");
  1115. entity.Property(e => e.SeoKeyword)
  1116. .HasColumnType("varchar(200)")
  1117. .HasCharSet("utf8")
  1118. .HasCollation("utf8_general_ci");
  1119. entity.Property(e => e.SeoTitle)
  1120. .HasColumnType("varchar(100)")
  1121. .HasCharSet("utf8")
  1122. .HasCollation("utf8_general_ci");
  1123. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1124. entity.Property(e => e.Status).HasColumnType("int(11)");
  1125. entity.Property(e => e.TradeMonth)
  1126. .HasColumnType("varchar(6)")
  1127. .HasCharSet("utf8")
  1128. .HasCollation("utf8_general_ci");
  1129. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1130. entity.Property(e => e.UpdateMan)
  1131. .HasColumnType("varchar(50)")
  1132. .HasCharSet("utf8")
  1133. .HasCollation("utf8_general_ci");
  1134. entity.Property(e => e.Version).HasColumnType("int(11)");
  1135. });
  1136. modelBuilder.Entity<PosCouponOrders>(entity =>
  1137. {
  1138. entity.Property(e => e.Id).HasColumnType("int(11)");
  1139. entity.Property(e => e.AfterOut).HasColumnType("int(11)");
  1140. entity.Property(e => e.AfterStock).HasColumnType("int(11)");
  1141. entity.Property(e => e.AfterTotal).HasColumnType("int(11)");
  1142. entity.Property(e => e.BeforeOut).HasColumnType("int(11)");
  1143. entity.Property(e => e.BeforeStock).HasColumnType("int(11)");
  1144. entity.Property(e => e.BeforeTotal).HasColumnType("int(11)");
  1145. entity.Property(e => e.ChangeCount).HasColumnType("int(11)");
  1146. entity.Property(e => e.ChangeKind).HasColumnType("int(11)");
  1147. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1148. entity.Property(e => e.CreateMan)
  1149. .HasColumnType("varchar(50)")
  1150. .HasCharSet("utf8")
  1151. .HasCollation("utf8_general_ci");
  1152. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1153. entity.Property(e => e.OrderNo)
  1154. .HasColumnType("varchar(50)")
  1155. .HasCharSet("utf8")
  1156. .HasCollation("utf8_general_ci");
  1157. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1158. entity.Property(e => e.SeoDescription)
  1159. .HasColumnType("varchar(500)")
  1160. .HasCharSet("utf8")
  1161. .HasCollation("utf8_general_ci");
  1162. entity.Property(e => e.SeoKeyword)
  1163. .HasColumnType("varchar(200)")
  1164. .HasCharSet("utf8")
  1165. .HasCollation("utf8_general_ci");
  1166. entity.Property(e => e.SeoTitle)
  1167. .HasColumnType("varchar(100)")
  1168. .HasCharSet("utf8")
  1169. .HasCollation("utf8_general_ci");
  1170. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1171. entity.Property(e => e.Status).HasColumnType("int(11)");
  1172. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1173. entity.Property(e => e.UpdateMan)
  1174. .HasColumnType("varchar(50)")
  1175. .HasCharSet("utf8")
  1176. .HasCollation("utf8_general_ci");
  1177. entity.Property(e => e.Version).HasColumnType("int(11)");
  1178. });
  1179. modelBuilder.Entity<PosCouponRecord>(entity =>
  1180. {
  1181. entity.Property(e => e.Id).HasColumnType("int(11)");
  1182. entity.Property(e => e.ChangeKind).HasColumnType("int(11)");
  1183. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1184. entity.Property(e => e.CreateMan)
  1185. .HasColumnType("varchar(50)")
  1186. .HasCharSet("utf8")
  1187. .HasCollation("utf8_general_ci");
  1188. entity.Property(e => e.FromUserId).HasColumnType("int(11)");
  1189. entity.Property(e => e.OrderNo)
  1190. .HasColumnType("varchar(50)")
  1191. .HasCharSet("utf8")
  1192. .HasCollation("utf8_general_ci");
  1193. entity.Property(e => e.PosCouponId).HasColumnType("int(11)");
  1194. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1195. entity.Property(e => e.SeoDescription)
  1196. .HasColumnType("varchar(500)")
  1197. .HasCharSet("utf8")
  1198. .HasCollation("utf8_general_ci");
  1199. entity.Property(e => e.SeoKeyword)
  1200. .HasColumnType("varchar(200)")
  1201. .HasCharSet("utf8")
  1202. .HasCollation("utf8_general_ci");
  1203. entity.Property(e => e.SeoTitle)
  1204. .HasColumnType("varchar(100)")
  1205. .HasCharSet("utf8")
  1206. .HasCollation("utf8_general_ci");
  1207. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1208. entity.Property(e => e.Status).HasColumnType("int(11)");
  1209. entity.Property(e => e.ToUserId).HasColumnType("int(11)");
  1210. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1211. entity.Property(e => e.UpdateMan)
  1212. .HasColumnType("varchar(50)")
  1213. .HasCharSet("utf8")
  1214. .HasCollation("utf8_general_ci");
  1215. entity.Property(e => e.Version).HasColumnType("int(11)");
  1216. });
  1217. modelBuilder.Entity<PosCoupons>(entity =>
  1218. {
  1219. entity.Property(e => e.Id).HasColumnType("int(11)");
  1220. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1221. entity.Property(e => e.CreateMan)
  1222. .HasColumnType("varchar(50)")
  1223. .HasCharSet("utf8")
  1224. .HasCollation("utf8_general_ci");
  1225. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1226. entity.Property(e => e.PosCouponId).HasColumnType("int(11)");
  1227. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1228. entity.Property(e => e.SeoDescription)
  1229. .HasColumnType("varchar(500)")
  1230. .HasCharSet("utf8")
  1231. .HasCollation("utf8_general_ci");
  1232. entity.Property(e => e.SeoKeyword)
  1233. .HasColumnType("varchar(200)")
  1234. .HasCharSet("utf8")
  1235. .HasCollation("utf8_general_ci");
  1236. entity.Property(e => e.SeoTitle)
  1237. .HasColumnType("varchar(100)")
  1238. .HasCharSet("utf8")
  1239. .HasCollation("utf8_general_ci");
  1240. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1241. entity.Property(e => e.Status).HasColumnType("int(11)");
  1242. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1243. entity.Property(e => e.UpdateMan)
  1244. .HasColumnType("varchar(50)")
  1245. .HasCharSet("utf8")
  1246. .HasCollation("utf8_general_ci");
  1247. entity.Property(e => e.Version).HasColumnType("int(11)");
  1248. });
  1249. modelBuilder.Entity<PosMachines>(entity =>
  1250. {
  1251. entity.Property(e => e.Id).HasColumnType("int(11)");
  1252. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1253. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1254. entity.Property(e => e.CreateMan)
  1255. .HasColumnType("varchar(50)")
  1256. .HasCharSet("utf8")
  1257. .HasCollation("utf8_general_ci");
  1258. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1259. entity.Property(e => e.PosId).HasColumnType("int(11)");
  1260. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1261. entity.Property(e => e.SeoDescription)
  1262. .HasColumnType("varchar(500)")
  1263. .HasCharSet("utf8")
  1264. .HasCollation("utf8_general_ci");
  1265. entity.Property(e => e.SeoKeyword)
  1266. .HasColumnType("varchar(200)")
  1267. .HasCharSet("utf8")
  1268. .HasCollation("utf8_general_ci");
  1269. entity.Property(e => e.SeoTitle)
  1270. .HasColumnType("varchar(100)")
  1271. .HasCharSet("utf8")
  1272. .HasCollation("utf8_general_ci");
  1273. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1274. entity.Property(e => e.Status).HasColumnType("int(11)");
  1275. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1276. entity.Property(e => e.UpdateMan)
  1277. .HasColumnType("varchar(50)")
  1278. .HasCharSet("utf8")
  1279. .HasCollation("utf8_general_ci");
  1280. entity.Property(e => e.Version).HasColumnType("int(11)");
  1281. });
  1282. modelBuilder.Entity<PublicAccountSet>(entity =>
  1283. {
  1284. entity.Property(e => e.Id).HasColumnType("int(11)");
  1285. entity.Property(e => e.AlipayAppId)
  1286. .HasColumnType("varchar(50)")
  1287. .HasCharSet("utf8")
  1288. .HasCollation("utf8_general_ci");
  1289. entity.Property(e => e.AlipayPartnerId)
  1290. .HasColumnType("varchar(50)")
  1291. .HasCharSet("utf8")
  1292. .HasCollation("utf8_general_ci");
  1293. entity.Property(e => e.AlipayPrivateKey)
  1294. .HasColumnType("mediumtext")
  1295. .HasCharSet("utf8")
  1296. .HasCollation("utf8_general_ci");
  1297. entity.Property(e => e.AlipayPublicKey)
  1298. .HasColumnType("mediumtext")
  1299. .HasCharSet("utf8")
  1300. .HasCollation("utf8_general_ci");
  1301. entity.Property(e => e.AliyunAccessKeyId)
  1302. .HasColumnType("varchar(50)")
  1303. .HasCharSet("utf8")
  1304. .HasCollation("utf8_general_ci");
  1305. entity.Property(e => e.AliyunAccessKeySecret)
  1306. .HasColumnType("varchar(50)")
  1307. .HasCharSet("utf8")
  1308. .HasCollation("utf8_general_ci");
  1309. entity.Property(e => e.AliyunAndroidActivity)
  1310. .HasColumnType("varchar(100)")
  1311. .HasCharSet("utf8")
  1312. .HasCollation("utf8_general_ci");
  1313. entity.Property(e => e.AliyunAndroidNotifyTitle)
  1314. .HasColumnType("varchar(20)")
  1315. .HasCharSet("utf8")
  1316. .HasCollation("utf8_general_ci");
  1317. entity.Property(e => e.AliyunPushAndroidAppId)
  1318. .HasColumnType("varchar(50)")
  1319. .HasCharSet("utf8")
  1320. .HasCollation("utf8_general_ci");
  1321. entity.Property(e => e.AliyunPushAndroidAppSecret)
  1322. .HasColumnType("varchar(50)")
  1323. .HasCharSet("utf8")
  1324. .HasCollation("utf8_general_ci");
  1325. entity.Property(e => e.AliyunPushIosAppId)
  1326. .HasColumnType("varchar(500)")
  1327. .HasCharSet("utf8")
  1328. .HasCollation("utf8_general_ci");
  1329. entity.Property(e => e.AliyunPushIosAppSecret)
  1330. .HasColumnType("varchar(50)")
  1331. .HasCharSet("utf8")
  1332. .HasCollation("utf8_general_ci");
  1333. entity.Property(e => e.AliyunRegionId)
  1334. .HasColumnType("varchar(30)")
  1335. .HasCharSet("utf8")
  1336. .HasCollation("utf8_general_ci");
  1337. entity.Property(e => e.ErpApiUrl)
  1338. .HasColumnType("varchar(200)")
  1339. .HasCharSet("utf8")
  1340. .HasCollation("utf8_general_ci");
  1341. entity.Property(e => e.ErpAppCode)
  1342. .HasColumnType("varchar(100)")
  1343. .HasCharSet("utf8")
  1344. .HasCollation("utf8_general_ci");
  1345. entity.Property(e => e.MeiQiaAppKey)
  1346. .HasColumnType("varchar(50)")
  1347. .HasCharSet("utf8")
  1348. .HasCollation("utf8_general_ci");
  1349. entity.Property(e => e.MobAppKey)
  1350. .HasColumnType("varchar(50)")
  1351. .HasCharSet("utf8")
  1352. .HasCollation("utf8_general_ci");
  1353. entity.Property(e => e.MobAppSecret)
  1354. .HasColumnType("varchar(50)")
  1355. .HasCharSet("utf8")
  1356. .HasCollation("utf8_general_ci");
  1357. entity.Property(e => e.QqAndroidAppId)
  1358. .HasColumnType("varchar(50)")
  1359. .HasCharSet("utf8")
  1360. .HasCollation("utf8_general_ci");
  1361. entity.Property(e => e.QqAndroidAppKey)
  1362. .HasColumnType("varchar(50)")
  1363. .HasCharSet("utf8")
  1364. .HasCollation("utf8_general_ci");
  1365. entity.Property(e => e.QqIosAppId)
  1366. .HasColumnType("varchar(50)")
  1367. .HasCharSet("utf8")
  1368. .HasCollation("utf8_general_ci");
  1369. entity.Property(e => e.QqIosAppKey)
  1370. .HasColumnType("varchar(50)")
  1371. .HasCharSet("utf8")
  1372. .HasCollation("utf8_general_ci");
  1373. entity.Property(e => e.ServerIp)
  1374. .HasColumnType("varchar(15)")
  1375. .HasCharSet("utf8")
  1376. .HasCollation("utf8_general_ci");
  1377. entity.Property(e => e.SmsApiDefaultTemplate)
  1378. .HasColumnType("varchar(200)")
  1379. .HasCharSet("utf8")
  1380. .HasCollation("utf8_general_ci");
  1381. entity.Property(e => e.SmsApiPwd)
  1382. .HasColumnType("varchar(50)")
  1383. .HasCharSet("utf8")
  1384. .HasCollation("utf8_general_ci");
  1385. entity.Property(e => e.SmsApiSign)
  1386. .HasColumnType("varchar(10)")
  1387. .HasCharSet("utf8")
  1388. .HasCollation("utf8_general_ci");
  1389. entity.Property(e => e.SmsApiUserId)
  1390. .HasColumnType("varchar(50)")
  1391. .HasCharSet("utf8")
  1392. .HasCollation("utf8_general_ci");
  1393. entity.Property(e => e.WeChatAppId)
  1394. .HasColumnType("varchar(50)")
  1395. .HasCharSet("utf8")
  1396. .HasCollation("utf8_general_ci");
  1397. entity.Property(e => e.WeChatAppSecret)
  1398. .HasColumnType("varchar(50)")
  1399. .HasCharSet("utf8")
  1400. .HasCollation("utf8_general_ci");
  1401. entity.Property(e => e.WeChatMchId)
  1402. .HasColumnType("varchar(20)")
  1403. .HasCharSet("utf8")
  1404. .HasCollation("utf8_general_ci");
  1405. entity.Property(e => e.WeChatMiniAppId)
  1406. .HasColumnType("varchar(50)")
  1407. .HasCharSet("utf8")
  1408. .HasCollation("utf8_general_ci");
  1409. entity.Property(e => e.WeChatMiniAppSecret)
  1410. .HasColumnType("varchar(50)")
  1411. .HasCharSet("utf8")
  1412. .HasCollation("utf8_general_ci");
  1413. entity.Property(e => e.WeChatOpenAppId)
  1414. .HasColumnType("varchar(50)")
  1415. .HasCharSet("utf8")
  1416. .HasCollation("utf8_general_ci");
  1417. entity.Property(e => e.WeChatOpenAppSecret)
  1418. .HasColumnType("varchar(50)")
  1419. .HasCharSet("utf8")
  1420. .HasCollation("utf8_general_ci");
  1421. entity.Property(e => e.WeChatPayKey)
  1422. .HasColumnType("varchar(50)")
  1423. .HasCharSet("utf8")
  1424. .HasCollation("utf8_general_ci");
  1425. });
  1426. modelBuilder.Entity<RightDic>(entity =>
  1427. {
  1428. entity.Property(e => e.Id)
  1429. .HasColumnName("ID")
  1430. .HasColumnType("varchar(50)")
  1431. .HasCharSet("utf8")
  1432. .HasCollation("utf8_general_ci");
  1433. entity.Property(e => e.Icon)
  1434. .HasColumnType("varchar(50)")
  1435. .HasCharSet("utf8")
  1436. .HasCollation("utf8_general_ci");
  1437. entity.Property(e => e.MainDataList)
  1438. .HasColumnType("bit(1)")
  1439. .HasDefaultValueSql("b'0'");
  1440. entity.Property(e => e.MainMenu)
  1441. .HasColumnType("bit(1)")
  1442. .HasDefaultValueSql("b'0'");
  1443. entity.Property(e => e.MainStat)
  1444. .HasColumnType("bit(1)")
  1445. .HasDefaultValueSql("b'0'");
  1446. entity.Property(e => e.Name)
  1447. .HasColumnType("varchar(50)")
  1448. .HasCharSet("utf8")
  1449. .HasCollation("utf8_general_ci");
  1450. entity.Property(e => e.OtherRight)
  1451. .HasColumnType("varchar(500)")
  1452. .HasCharSet("utf8")
  1453. .HasCollation("utf8_general_ci");
  1454. entity.Property(e => e.RightLevel).HasColumnType("int(11)");
  1455. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1456. entity.Property(e => e.Url)
  1457. .HasColumnType("varchar(200)")
  1458. .HasCharSet("utf8")
  1459. .HasCollation("utf8_general_ci");
  1460. });
  1461. modelBuilder.Entity<SendDaySummary>(entity =>
  1462. {
  1463. entity.Property(e => e.Id).HasColumnType("int(11)");
  1464. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1465. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1466. entity.Property(e => e.CreateMan)
  1467. .HasColumnType("varchar(50)")
  1468. .HasCharSet("utf8")
  1469. .HasCollation("utf8_general_ci");
  1470. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1471. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1472. entity.Property(e => e.SendCount).HasColumnType("int(11)");
  1473. entity.Property(e => e.SeoDescription)
  1474. .HasColumnType("varchar(500)")
  1475. .HasCharSet("utf8")
  1476. .HasCollation("utf8_general_ci");
  1477. entity.Property(e => e.SeoKeyword)
  1478. .HasColumnType("varchar(200)")
  1479. .HasCharSet("utf8")
  1480. .HasCollation("utf8_general_ci");
  1481. entity.Property(e => e.SeoTitle)
  1482. .HasColumnType("varchar(100)")
  1483. .HasCharSet("utf8")
  1484. .HasCollation("utf8_general_ci");
  1485. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1486. entity.Property(e => e.Status).HasColumnType("int(11)");
  1487. entity.Property(e => e.TradeDate)
  1488. .HasColumnType("varchar(8)")
  1489. .HasCharSet("utf8")
  1490. .HasCollation("utf8_general_ci");
  1491. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1492. entity.Property(e => e.UpdateMan)
  1493. .HasColumnType("varchar(50)")
  1494. .HasCharSet("utf8")
  1495. .HasCollation("utf8_general_ci");
  1496. entity.Property(e => e.Version).HasColumnType("int(11)");
  1497. });
  1498. modelBuilder.Entity<SendMonthSummary>(entity =>
  1499. {
  1500. entity.Property(e => e.Id).HasColumnType("int(11)");
  1501. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1502. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1503. entity.Property(e => e.CreateMan)
  1504. .HasColumnType("varchar(50)")
  1505. .HasCharSet("utf8")
  1506. .HasCollation("utf8_general_ci");
  1507. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1508. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1509. entity.Property(e => e.SendCount).HasColumnType("int(11)");
  1510. entity.Property(e => e.SeoDescription)
  1511. .HasColumnType("varchar(500)")
  1512. .HasCharSet("utf8")
  1513. .HasCollation("utf8_general_ci");
  1514. entity.Property(e => e.SeoKeyword)
  1515. .HasColumnType("varchar(200)")
  1516. .HasCharSet("utf8")
  1517. .HasCollation("utf8_general_ci");
  1518. entity.Property(e => e.SeoTitle)
  1519. .HasColumnType("varchar(100)")
  1520. .HasCharSet("utf8")
  1521. .HasCollation("utf8_general_ci");
  1522. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1523. entity.Property(e => e.Status).HasColumnType("int(11)");
  1524. entity.Property(e => e.TradeMonth)
  1525. .HasColumnType("varchar(6)")
  1526. .HasCharSet("utf8")
  1527. .HasCollation("utf8_general_ci");
  1528. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1529. entity.Property(e => e.UpdateMan)
  1530. .HasColumnType("varchar(50)")
  1531. .HasCharSet("utf8")
  1532. .HasCollation("utf8_general_ci");
  1533. entity.Property(e => e.Version).HasColumnType("int(11)");
  1534. });
  1535. modelBuilder.Entity<StoreActMerDaySummary>(entity =>
  1536. {
  1537. entity.Property(e => e.Id).HasColumnType("int(11)");
  1538. entity.Property(e => e.ActCount).HasColumnType("int(11)");
  1539. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1540. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1541. entity.Property(e => e.CreateMan)
  1542. .HasColumnType("varchar(50)")
  1543. .HasCharSet("utf8")
  1544. .HasCollation("utf8_general_ci");
  1545. entity.Property(e => e.OpId).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.TradeDate)
  1562. .HasColumnType("varchar(8)")
  1563. .HasCharSet("utf8")
  1564. .HasCollation("utf8_general_ci");
  1565. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1566. entity.Property(e => e.UpdateMan)
  1567. .HasColumnType("varchar(50)")
  1568. .HasCharSet("utf8")
  1569. .HasCollation("utf8_general_ci");
  1570. entity.Property(e => e.Version).HasColumnType("int(11)");
  1571. });
  1572. modelBuilder.Entity<StoreActMerMonthSummary>(entity =>
  1573. {
  1574. entity.Property(e => e.Id).HasColumnType("int(11)");
  1575. entity.Property(e => e.ActCount).HasColumnType("int(11)");
  1576. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1577. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1578. entity.Property(e => e.CreateMan)
  1579. .HasColumnType("varchar(50)")
  1580. .HasCharSet("utf8")
  1581. .HasCollation("utf8_general_ci");
  1582. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1583. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1584. entity.Property(e => e.SeoDescription)
  1585. .HasColumnType("varchar(500)")
  1586. .HasCharSet("utf8")
  1587. .HasCollation("utf8_general_ci");
  1588. entity.Property(e => e.SeoKeyword)
  1589. .HasColumnType("varchar(200)")
  1590. .HasCharSet("utf8")
  1591. .HasCollation("utf8_general_ci");
  1592. entity.Property(e => e.SeoTitle)
  1593. .HasColumnType("varchar(100)")
  1594. .HasCharSet("utf8")
  1595. .HasCollation("utf8_general_ci");
  1596. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1597. entity.Property(e => e.Status).HasColumnType("int(11)");
  1598. entity.Property(e => e.TradeMonth)
  1599. .HasColumnType("varchar(6)")
  1600. .HasCharSet("utf8")
  1601. .HasCollation("utf8_general_ci");
  1602. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1603. entity.Property(e => e.UpdateMan)
  1604. .HasColumnType("varchar(50)")
  1605. .HasCharSet("utf8")
  1606. .HasCollation("utf8_general_ci");
  1607. entity.Property(e => e.Version).HasColumnType("int(11)");
  1608. });
  1609. modelBuilder.Entity<StoreForOperate>(entity =>
  1610. {
  1611. entity.Property(e => e.Id).HasColumnType("int(11)");
  1612. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1613. entity.Property(e => e.CreateMan)
  1614. .HasColumnType("varchar(50)")
  1615. .HasCharSet("utf8")
  1616. .HasCollation("utf8_general_ci");
  1617. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1618. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1619. entity.Property(e => e.SeoDescription)
  1620. .HasColumnType("varchar(500)")
  1621. .HasCharSet("utf8")
  1622. .HasCollation("utf8_general_ci");
  1623. entity.Property(e => e.SeoKeyword)
  1624. .HasColumnType("varchar(200)")
  1625. .HasCharSet("utf8")
  1626. .HasCollation("utf8_general_ci");
  1627. entity.Property(e => e.SeoTitle)
  1628. .HasColumnType("varchar(100)")
  1629. .HasCharSet("utf8")
  1630. .HasCollation("utf8_general_ci");
  1631. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1632. entity.Property(e => e.Status).HasColumnType("int(11)");
  1633. entity.Property(e => e.StoreId).HasColumnType("int(11)");
  1634. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1635. entity.Property(e => e.UpdateMan)
  1636. .HasColumnType("varchar(50)")
  1637. .HasCharSet("utf8")
  1638. .HasCollation("utf8_general_ci");
  1639. entity.Property(e => e.Version).HasColumnType("int(11)");
  1640. });
  1641. modelBuilder.Entity<StoreMachineApply>(entity =>
  1642. {
  1643. entity.Property(e => e.Id).HasColumnType("int(11)");
  1644. entity.Property(e => e.ApplyNo)
  1645. .HasColumnType("varchar(50)")
  1646. .HasCharSet("utf8")
  1647. .HasCollation("utf8_general_ci");
  1648. entity.Property(e => e.ApplyNum).HasColumnType("int(11)");
  1649. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1650. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1651. entity.Property(e => e.CreateMan)
  1652. .HasColumnType("varchar(50)")
  1653. .HasCharSet("utf8")
  1654. .HasCollation("utf8_general_ci");
  1655. entity.Property(e => e.ErpCode)
  1656. .HasColumnType("varchar(50)")
  1657. .HasCharSet("utf8")
  1658. .HasCollation("utf8_general_ci");
  1659. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1660. entity.Property(e => e.SendMode)
  1661. .HasColumnType("varchar(50)")
  1662. .HasCharSet("utf8")
  1663. .HasCollation("utf8_general_ci");
  1664. entity.Property(e => e.SendNum).HasColumnType("int(11)");
  1665. entity.Property(e => e.SendSn)
  1666. .HasColumnType("mediumtext")
  1667. .HasCharSet("utf8")
  1668. .HasCollation("utf8_general_ci");
  1669. entity.Property(e => e.SeoDescription)
  1670. .HasColumnType("varchar(500)")
  1671. .HasCharSet("utf8")
  1672. .HasCollation("utf8_general_ci");
  1673. entity.Property(e => e.SeoKeyword)
  1674. .HasColumnType("varchar(200)")
  1675. .HasCharSet("utf8")
  1676. .HasCollation("utf8_general_ci");
  1677. entity.Property(e => e.SeoTitle)
  1678. .HasColumnType("varchar(100)")
  1679. .HasCharSet("utf8")
  1680. .HasCollation("utf8_general_ci");
  1681. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1682. entity.Property(e => e.Status).HasColumnType("int(11)");
  1683. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1684. entity.Property(e => e.UpdateMan)
  1685. .HasColumnType("varchar(50)")
  1686. .HasCharSet("utf8")
  1687. .HasCollation("utf8_general_ci");
  1688. entity.Property(e => e.UseAmount).HasColumnType("decimal(18,2)");
  1689. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1690. entity.Property(e => e.Version).HasColumnType("int(11)");
  1691. });
  1692. modelBuilder.Entity<StoreSendDaySummary>(entity =>
  1693. {
  1694. entity.Property(e => e.Id).HasColumnType("int(11)");
  1695. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1696. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1697. entity.Property(e => e.CreateMan)
  1698. .HasColumnType("varchar(50)")
  1699. .HasCharSet("utf8")
  1700. .HasCollation("utf8_general_ci");
  1701. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1702. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1703. entity.Property(e => e.SendCount).HasColumnType("int(11)");
  1704. entity.Property(e => e.SeoDescription)
  1705. .HasColumnType("varchar(500)")
  1706. .HasCharSet("utf8")
  1707. .HasCollation("utf8_general_ci");
  1708. entity.Property(e => e.SeoKeyword)
  1709. .HasColumnType("varchar(200)")
  1710. .HasCharSet("utf8")
  1711. .HasCollation("utf8_general_ci");
  1712. entity.Property(e => e.SeoTitle)
  1713. .HasColumnType("varchar(100)")
  1714. .HasCharSet("utf8")
  1715. .HasCollation("utf8_general_ci");
  1716. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1717. entity.Property(e => e.Status).HasColumnType("int(11)");
  1718. entity.Property(e => e.TradeDate)
  1719. .HasColumnType("varchar(8)")
  1720. .HasCharSet("utf8")
  1721. .HasCollation("utf8_general_ci");
  1722. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1723. entity.Property(e => e.UpdateMan)
  1724. .HasColumnType("varchar(50)")
  1725. .HasCharSet("utf8")
  1726. .HasCollation("utf8_general_ci");
  1727. entity.Property(e => e.Version).HasColumnType("int(11)");
  1728. });
  1729. modelBuilder.Entity<StoreSendMonthSummary>(entity =>
  1730. {
  1731. entity.Property(e => e.Id).HasColumnType("int(11)");
  1732. entity.Property(e => e.BrandId).HasColumnType("int(11)");
  1733. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1734. entity.Property(e => e.CreateMan)
  1735. .HasColumnType("varchar(50)")
  1736. .HasCharSet("utf8")
  1737. .HasCollation("utf8_general_ci");
  1738. entity.Property(e => e.OpId).HasColumnType("int(11)");
  1739. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1740. entity.Property(e => e.SendCount).HasColumnType("int(11)");
  1741. entity.Property(e => e.SeoDescription)
  1742. .HasColumnType("varchar(500)")
  1743. .HasCharSet("utf8")
  1744. .HasCollation("utf8_general_ci");
  1745. entity.Property(e => e.SeoKeyword)
  1746. .HasColumnType("varchar(200)")
  1747. .HasCharSet("utf8")
  1748. .HasCollation("utf8_general_ci");
  1749. entity.Property(e => e.SeoTitle)
  1750. .HasColumnType("varchar(100)")
  1751. .HasCharSet("utf8")
  1752. .HasCollation("utf8_general_ci");
  1753. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1754. entity.Property(e => e.Status).HasColumnType("int(11)");
  1755. entity.Property(e => e.TradeMonth)
  1756. .HasColumnType("varchar(6)")
  1757. .HasCharSet("utf8")
  1758. .HasCollation("utf8_general_ci");
  1759. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1760. entity.Property(e => e.UpdateMan)
  1761. .HasColumnType("varchar(50)")
  1762. .HasCharSet("utf8")
  1763. .HasCollation("utf8_general_ci");
  1764. entity.Property(e => e.Version).HasColumnType("int(11)");
  1765. });
  1766. modelBuilder.Entity<SysAdmin>(entity =>
  1767. {
  1768. entity.Property(e => e.Id).HasColumnType("int(11)");
  1769. entity.Property(e => e.AdminName)
  1770. .HasColumnType("varchar(50)")
  1771. .HasCharSet("utf8")
  1772. .HasCollation("utf8_general_ci");
  1773. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1774. entity.Property(e => e.CreateMan)
  1775. .HasColumnType("varchar(50)")
  1776. .HasCharSet("utf8")
  1777. .HasCollation("utf8_general_ci");
  1778. entity.Property(e => e.FilePath)
  1779. .HasColumnType("varchar(200)")
  1780. .HasCharSet("utf8")
  1781. .HasCollation("utf8_general_ci");
  1782. entity.Property(e => e.HeadPhoto)
  1783. .HasColumnType("varchar(200)")
  1784. .HasCharSet("utf8")
  1785. .HasCollation("utf8_general_ci");
  1786. entity.Property(e => e.LastLoginDate).HasColumnType("datetime");
  1787. entity.Property(e => e.MakerCode)
  1788. .HasColumnType("varchar(20)")
  1789. .HasCharSet("utf8")
  1790. .HasCollation("utf8_general_ci");
  1791. entity.Property(e => e.MakerMobile)
  1792. .HasColumnType("varchar(11)")
  1793. .HasCharSet("utf8")
  1794. .HasCollation("utf8_general_ci");
  1795. entity.Property(e => e.MakerName)
  1796. .HasColumnType("varchar(30)")
  1797. .HasCharSet("utf8")
  1798. .HasCollation("utf8_general_ci");
  1799. entity.Property(e => e.OpCode)
  1800. .HasColumnType("varchar(20)")
  1801. .HasCharSet("utf8")
  1802. .HasCollation("utf8_general_ci");
  1803. entity.Property(e => e.Password)
  1804. .HasColumnType("varchar(32)")
  1805. .HasCharSet("utf8")
  1806. .HasCollation("utf8_general_ci");
  1807. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1808. entity.Property(e => e.RealName)
  1809. .HasColumnType("varchar(50)")
  1810. .HasCharSet("utf8")
  1811. .HasCollation("utf8_general_ci");
  1812. entity.Property(e => e.ReturnAmount)
  1813. .HasColumnType("decimal(18,2)")
  1814. .HasComment("返还额度");
  1815. entity.Property(e => e.ReturnFlag)
  1816. .HasColumnType("bit(1)")
  1817. .HasDefaultValueSql("b'0'")
  1818. .HasComment("是否返额度");
  1819. entity.Property(e => e.Role)
  1820. .HasColumnType("varchar(30)")
  1821. .HasCharSet("utf8")
  1822. .HasCollation("utf8_general_ci");
  1823. entity.Property(e => e.SeoDescription)
  1824. .HasColumnType("varchar(500)")
  1825. .HasCharSet("utf8")
  1826. .HasCollation("utf8_general_ci");
  1827. entity.Property(e => e.SeoKeyword)
  1828. .HasColumnType("varchar(200)")
  1829. .HasCharSet("utf8")
  1830. .HasCollation("utf8_general_ci");
  1831. entity.Property(e => e.SeoTitle)
  1832. .HasColumnType("varchar(100)")
  1833. .HasCharSet("utf8")
  1834. .HasCollation("utf8_general_ci");
  1835. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1836. entity.Property(e => e.Status).HasColumnType("int(11)");
  1837. entity.Property(e => e.StoreCount).HasColumnType("int(11)");
  1838. entity.Property(e => e.TotalMachineCount).HasColumnType("int(11)");
  1839. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1840. entity.Property(e => e.UpdateMan)
  1841. .HasColumnType("varchar(50)")
  1842. .HasCharSet("utf8")
  1843. .HasCollation("utf8_general_ci");
  1844. entity.Property(e => e.UserId).HasColumnType("int(11)");
  1845. entity.Property(e => e.Version).HasColumnType("int(11)");
  1846. });
  1847. modelBuilder.Entity<SysAdminRole>(entity =>
  1848. {
  1849. entity.Property(e => e.Id).HasColumnType("int(11)");
  1850. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1851. entity.Property(e => e.CreateMan)
  1852. .HasColumnType("varchar(50)")
  1853. .HasCharSet("utf8")
  1854. .HasCollation("utf8_general_ci");
  1855. entity.Property(e => e.Details)
  1856. .HasColumnType("longtext")
  1857. .HasCharSet("utf8")
  1858. .HasCollation("utf8_general_ci");
  1859. entity.Property(e => e.Name)
  1860. .HasColumnType("varchar(50)")
  1861. .HasCharSet("utf8")
  1862. .HasCollation("utf8_general_ci");
  1863. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1864. entity.Property(e => e.RightInfo)
  1865. .HasColumnType("longtext")
  1866. .HasCharSet("utf8")
  1867. .HasCollation("utf8_general_ci");
  1868. entity.Property(e => e.SeoDescription)
  1869. .HasColumnType("varchar(500)")
  1870. .HasCharSet("utf8")
  1871. .HasCollation("utf8_general_ci");
  1872. entity.Property(e => e.SeoKeyword)
  1873. .HasColumnType("varchar(200)")
  1874. .HasCharSet("utf8")
  1875. .HasCollation("utf8_general_ci");
  1876. entity.Property(e => e.SeoTitle)
  1877. .HasColumnType("varchar(100)")
  1878. .HasCharSet("utf8")
  1879. .HasCollation("utf8_general_ci");
  1880. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1881. entity.Property(e => e.Status).HasColumnType("int(11)");
  1882. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1883. entity.Property(e => e.UpdateMan)
  1884. .HasColumnType("varchar(50)")
  1885. .HasCharSet("utf8")
  1886. .HasCollation("utf8_general_ci");
  1887. entity.Property(e => e.Version).HasColumnType("int(11)");
  1888. });
  1889. modelBuilder.Entity<SysLog>(entity =>
  1890. {
  1891. entity.Property(e => e.Id).HasColumnType("int(11)");
  1892. entity.Property(e => e.Contents)
  1893. .HasColumnType("varchar(200)")
  1894. .HasCharSet("utf8")
  1895. .HasCollation("utf8_general_ci");
  1896. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1897. entity.Property(e => e.CreateMan)
  1898. .HasColumnType("varchar(50)")
  1899. .HasCharSet("utf8")
  1900. .HasCollation("utf8_general_ci");
  1901. });
  1902. modelBuilder.Entity<SystemSet>(entity =>
  1903. {
  1904. entity.Property(e => e.Id).HasColumnType("int(11)");
  1905. entity.Property(e => e.Address)
  1906. .HasColumnType("varchar(100)")
  1907. .HasCharSet("utf8")
  1908. .HasCollation("utf8_general_ci");
  1909. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  1910. entity.Property(e => e.CreateMan)
  1911. .HasColumnType("varchar(50)")
  1912. .HasCharSet("utf8")
  1913. .HasCollation("utf8_general_ci");
  1914. entity.Property(e => e.IndexDescription)
  1915. .HasColumnType("longtext")
  1916. .HasCharSet("utf8")
  1917. .HasCollation("utf8_general_ci");
  1918. entity.Property(e => e.IndexKeyword)
  1919. .HasColumnType("varchar(200)")
  1920. .HasCharSet("utf8")
  1921. .HasCollation("utf8_general_ci");
  1922. entity.Property(e => e.Logo)
  1923. .HasColumnType("varchar(200)")
  1924. .HasCharSet("utf8")
  1925. .HasCollation("utf8_general_ci");
  1926. entity.Property(e => e.Phone)
  1927. .HasColumnType("varchar(100)")
  1928. .HasCharSet("utf8")
  1929. .HasCollation("utf8_general_ci");
  1930. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  1931. entity.Property(e => e.RightInfo)
  1932. .HasColumnType("longtext")
  1933. .HasCharSet("utf8")
  1934. .HasCollation("utf8_general_ci");
  1935. entity.Property(e => e.SeoDescription)
  1936. .HasColumnType("varchar(500)")
  1937. .HasCharSet("utf8")
  1938. .HasCollation("utf8_general_ci");
  1939. entity.Property(e => e.SeoKeyword)
  1940. .HasColumnType("varchar(200)")
  1941. .HasCharSet("utf8")
  1942. .HasCollation("utf8_general_ci");
  1943. entity.Property(e => e.SeoTitle)
  1944. .HasColumnType("varchar(100)")
  1945. .HasCharSet("utf8")
  1946. .HasCollation("utf8_general_ci");
  1947. entity.Property(e => e.Sort).HasColumnType("int(11)");
  1948. entity.Property(e => e.StartAdPhoto)
  1949. .HasColumnType("varchar(200)")
  1950. .HasCharSet("utf8")
  1951. .HasCollation("utf8_general_ci");
  1952. entity.Property(e => e.Status).HasColumnType("int(11)");
  1953. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  1954. entity.Property(e => e.UpdateMan)
  1955. .HasColumnType("varchar(50)")
  1956. .HasCharSet("utf8")
  1957. .HasCollation("utf8_general_ci");
  1958. entity.Property(e => e.UploadAutoWater)
  1959. .HasColumnType("bit(1)")
  1960. .HasDefaultValueSql("b'0'");
  1961. entity.Property(e => e.UploadAutoZoom)
  1962. .HasColumnType("bit(1)")
  1963. .HasDefaultValueSql("b'0'");
  1964. entity.Property(e => e.UploadAutoZoomHeight).HasColumnType("int(11)");
  1965. entity.Property(e => e.UploadAutoZoomQuality).HasColumnType("int(11)");
  1966. entity.Property(e => e.UploadAutoZoomWidth).HasColumnType("int(11)");
  1967. entity.Property(e => e.UploadExt)
  1968. .HasColumnType("varchar(100)")
  1969. .HasCharSet("utf8")
  1970. .HasCollation("utf8_general_ci");
  1971. entity.Property(e => e.UploadMaxSize).HasColumnType("int(11)");
  1972. entity.Property(e => e.UploadOss)
  1973. .HasColumnType("bit(1)")
  1974. .HasDefaultValueSql("b'0'");
  1975. entity.Property(e => e.UploadWaterPath)
  1976. .HasColumnType("varchar(200)")
  1977. .HasCharSet("utf8")
  1978. .HasCollation("utf8_general_ci");
  1979. entity.Property(e => e.UploadWaterPosition)
  1980. .HasColumnType("varchar(15)")
  1981. .HasCharSet("utf8")
  1982. .HasCollation("utf8_general_ci");
  1983. entity.Property(e => e.Version).HasColumnType("int(11)");
  1984. entity.Property(e => e.WebName)
  1985. .HasColumnType("varchar(50)")
  1986. .HasCharSet("utf8")
  1987. .HasCollation("utf8_general_ci");
  1988. entity.Property(e => e.WebStatCode)
  1989. .HasColumnType("longtext")
  1990. .HasCharSet("utf8")
  1991. .HasCollation("utf8_general_ci");
  1992. entity.Property(e => e.WebUrl)
  1993. .HasColumnType("varchar(200)")
  1994. .HasCharSet("utf8")
  1995. .HasCollation("utf8_general_ci");
  1996. });
  1997. modelBuilder.Entity<UploadParams>(entity =>
  1998. {
  1999. entity.Property(e => e.Id).HasColumnType("int(11)");
  2000. entity.Property(e => e.ColumnEnName)
  2001. .HasColumnType("varchar(50)")
  2002. .HasCharSet("utf8")
  2003. .HasCollation("utf8_general_ci");
  2004. entity.Property(e => e.ColumnName)
  2005. .HasColumnType("varchar(50)")
  2006. .HasCharSet("utf8")
  2007. .HasCollation("utf8_general_ci");
  2008. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2009. entity.Property(e => e.CreateMan)
  2010. .HasColumnType("varchar(50)")
  2011. .HasCharSet("utf8")
  2012. .HasCollation("utf8_general_ci");
  2013. entity.Property(e => e.ParamString)
  2014. .HasColumnType("varchar(200)")
  2015. .HasCharSet("utf8")
  2016. .HasCollation("utf8_general_ci");
  2017. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2018. entity.Property(e => e.SeoDescription)
  2019. .HasColumnType("varchar(500)")
  2020. .HasCharSet("utf8")
  2021. .HasCollation("utf8_general_ci");
  2022. entity.Property(e => e.SeoKeyword)
  2023. .HasColumnType("varchar(200)")
  2024. .HasCharSet("utf8")
  2025. .HasCollation("utf8_general_ci");
  2026. entity.Property(e => e.SeoTitle)
  2027. .HasColumnType("varchar(100)")
  2028. .HasCharSet("utf8")
  2029. .HasCollation("utf8_general_ci");
  2030. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2031. entity.Property(e => e.Status).HasColumnType("int(11)");
  2032. entity.Property(e => e.TableEnName)
  2033. .HasColumnType("varchar(50)")
  2034. .HasCharSet("utf8")
  2035. .HasCollation("utf8_general_ci");
  2036. entity.Property(e => e.TableName)
  2037. .HasColumnType("varchar(50)")
  2038. .HasCharSet("utf8")
  2039. .HasCollation("utf8_general_ci");
  2040. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2041. entity.Property(e => e.UpdateMan)
  2042. .HasColumnType("varchar(50)")
  2043. .HasCharSet("utf8")
  2044. .HasCollation("utf8_general_ci");
  2045. entity.Property(e => e.Version).HasColumnType("int(11)");
  2046. });
  2047. modelBuilder.Entity<UserAccount>(entity =>
  2048. {
  2049. entity.Property(e => e.Id).HasColumnType("int(11)");
  2050. entity.Property(e => e.AccountStatus).HasColumnType("int(11)");
  2051. entity.Property(e => e.BalanceAmount).HasColumnType("decimal(18,2)");
  2052. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2053. entity.Property(e => e.CreateMan)
  2054. .HasColumnType("varchar(50)")
  2055. .HasCharSet("utf8")
  2056. .HasCollation("utf8_general_ci");
  2057. entity.Property(e => e.FreezeAmount).HasColumnType("decimal(18,2)");
  2058. entity.Property(e => e.PosCouponApplyAmount).HasColumnType("decimal(18,2)");
  2059. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2060. entity.Property(e => e.SeoDescription)
  2061. .HasColumnType("varchar(500)")
  2062. .HasCharSet("utf8")
  2063. .HasCollation("utf8_general_ci");
  2064. entity.Property(e => e.SeoKeyword)
  2065. .HasColumnType("varchar(200)")
  2066. .HasCharSet("utf8")
  2067. .HasCollation("utf8_general_ci");
  2068. entity.Property(e => e.SeoTitle)
  2069. .HasColumnType("varchar(100)")
  2070. .HasCharSet("utf8")
  2071. .HasCollation("utf8_general_ci");
  2072. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2073. entity.Property(e => e.Status).HasColumnType("int(11)");
  2074. entity.Property(e => e.TotalAmount).HasColumnType("decimal(18,2)");
  2075. entity.Property(e => e.TotalAmt).HasColumnType("decimal(18,2)");
  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.ValidAmount).HasColumnType("decimal(18,2)");
  2083. entity.Property(e => e.ValidForGetAmount).HasColumnType("decimal(18,2)");
  2084. entity.Property(e => e.Version).HasColumnType("int(11)");
  2085. entity.Property(e => e.WithdrawAmount).HasColumnType("decimal(18,2)");
  2086. entity.Property(e => e.WithdrawingAmount).HasColumnType("decimal(18,2)");
  2087. });
  2088. modelBuilder.Entity<UserAccountRecord>(entity =>
  2089. {
  2090. entity.Property(e => e.Id).HasColumnType("int(11)");
  2091. entity.Property(e => e.AfterBalanceAmount).HasColumnType("decimal(18,2)");
  2092. entity.Property(e => e.AfterFreezeAmount).HasColumnType("decimal(18,2)");
  2093. entity.Property(e => e.AfterTotalAmount).HasColumnType("decimal(18,2)");
  2094. entity.Property(e => e.BeforeBalanceAmount).HasColumnType("decimal(18,2)");
  2095. entity.Property(e => e.BeforeFreezeAmount).HasColumnType("decimal(18,2)");
  2096. entity.Property(e => e.BeforeTotalAmount).HasColumnType("decimal(18,2)");
  2097. entity.Property(e => e.ChangeAmount).HasColumnType("decimal(18,2)");
  2098. entity.Property(e => e.ChangeType).HasColumnType("int(11)");
  2099. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2100. entity.Property(e => e.CreateMan)
  2101. .HasColumnType("varchar(50)")
  2102. .HasCharSet("utf8")
  2103. .HasCollation("utf8_general_ci");
  2104. entity.Property(e => e.ProductType).HasColumnType("int(11)");
  2105. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2106. entity.Property(e => e.Remark)
  2107. .HasColumnType("varchar(64)")
  2108. .HasCharSet("utf8")
  2109. .HasCollation("utf8_general_ci");
  2110. entity.Property(e => e.SeoDescription)
  2111. .HasColumnType("varchar(500)")
  2112. .HasCharSet("utf8")
  2113. .HasCollation("utf8_general_ci");
  2114. entity.Property(e => e.SeoKeyword)
  2115. .HasColumnType("varchar(200)")
  2116. .HasCharSet("utf8")
  2117. .HasCollation("utf8_general_ci");
  2118. entity.Property(e => e.SeoTitle)
  2119. .HasColumnType("varchar(100)")
  2120. .HasCharSet("utf8")
  2121. .HasCollation("utf8_general_ci");
  2122. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2123. entity.Property(e => e.Status).HasColumnType("int(11)");
  2124. entity.Property(e => e.TransRecordNo)
  2125. .HasColumnType("varchar(32)")
  2126. .HasCharSet("utf8")
  2127. .HasCollation("utf8_general_ci");
  2128. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2129. entity.Property(e => e.UpdateMan)
  2130. .HasColumnType("varchar(50)")
  2131. .HasCharSet("utf8")
  2132. .HasCollation("utf8_general_ci");
  2133. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2134. entity.Property(e => e.Version).HasColumnType("int(11)");
  2135. });
  2136. modelBuilder.Entity<UserCashRecord>(entity =>
  2137. {
  2138. entity.Property(e => e.Id).HasColumnType("int(11)");
  2139. entity.Property(e => e.ActualTradeAmount).HasColumnType("decimal(18,2)");
  2140. entity.Property(e => e.CashOrderNo)
  2141. .HasColumnType("varchar(32)")
  2142. .HasCharSet("utf8")
  2143. .HasCollation("utf8_general_ci");
  2144. entity.Property(e => e.ChanelName)
  2145. .HasColumnType("varchar(32)")
  2146. .HasCharSet("utf8")
  2147. .HasCollation("utf8_general_ci");
  2148. entity.Property(e => e.ChannelCode)
  2149. .HasColumnType("varchar(16)")
  2150. .HasCharSet("utf8")
  2151. .HasCollation("utf8_general_ci");
  2152. entity.Property(e => e.CreateDate).HasColumnType("datetime");
  2153. entity.Property(e => e.CreateMan)
  2154. .HasColumnType("varchar(50)")
  2155. .HasCharSet("utf8")
  2156. .HasCollation("utf8_general_ci");
  2157. entity.Property(e => e.IdCardNo)
  2158. .HasColumnType("varchar(18)")
  2159. .HasCharSet("utf8")
  2160. .HasCollation("utf8_general_ci");
  2161. entity.Property(e => e.Ip)
  2162. .HasColumnType("varchar(15)")
  2163. .HasCharSet("utf8")
  2164. .HasCollation("utf8_general_ci");
  2165. entity.Property(e => e.ManageFee).HasColumnType("decimal(18,2)");
  2166. entity.Property(e => e.MediaSource)
  2167. .HasColumnType("varchar(16)")
  2168. .HasCharSet("utf8")
  2169. .HasCollation("utf8_general_ci");
  2170. entity.Property(e => e.PayTradeNo)
  2171. .HasColumnType("varchar(32)")
  2172. .HasCharSet("utf8")
  2173. .HasCollation("utf8_general_ci");
  2174. entity.Property(e => e.PaymentDate).HasColumnType("datetime");
  2175. entity.Property(e => e.QueryCount).HasColumnType("int(11)");
  2176. entity.Property(e => e.Remark)
  2177. .HasColumnType("varchar(128)")
  2178. .HasCharSet("utf8")
  2179. .HasCollation("utf8_general_ci");
  2180. entity.Property(e => e.ReqData)
  2181. .HasColumnType("varchar(2048)")
  2182. .HasCharSet("utf8")
  2183. .HasCollation("utf8_general_ci");
  2184. entity.Property(e => e.ResData)
  2185. .HasColumnType("varchar(2048)")
  2186. .HasCharSet("utf8")
  2187. .HasCollation("utf8_general_ci");
  2188. entity.Property(e => e.ReturnCode)
  2189. .HasColumnType("varchar(32)")
  2190. .HasCharSet("utf8")
  2191. .HasCollation("utf8_general_ci");
  2192. entity.Property(e => e.ReturnMsg)
  2193. .HasColumnType("varchar(128)")
  2194. .HasCharSet("utf8")
  2195. .HasCollation("utf8_general_ci");
  2196. entity.Property(e => e.SeoDescription)
  2197. .HasColumnType("varchar(500)")
  2198. .HasCharSet("utf8")
  2199. .HasCollation("utf8_general_ci");
  2200. entity.Property(e => e.SeoKeyword)
  2201. .HasColumnType("varchar(200)")
  2202. .HasCharSet("utf8")
  2203. .HasCollation("utf8_general_ci");
  2204. entity.Property(e => e.SeoTitle)
  2205. .HasColumnType("varchar(100)")
  2206. .HasCharSet("utf8")
  2207. .HasCollation("utf8_general_ci");
  2208. entity.Property(e => e.SettleBankCardNo)
  2209. .HasColumnType("varchar(32)")
  2210. .HasCharSet("utf8")
  2211. .HasCollation("utf8_general_ci");
  2212. entity.Property(e => e.SettleBankName)
  2213. .HasColumnType("varchar(64)")
  2214. .HasCharSet("utf8")
  2215. .HasCollation("utf8_general_ci");
  2216. entity.Property(e => e.Sort).HasColumnType("int(11)");
  2217. entity.Property(e => e.Status).HasColumnType("int(11)");
  2218. entity.Property(e => e.TradeAmount).HasColumnType("decimal(18,2)");
  2219. entity.Property(e => e.TradeFee).HasColumnType("decimal(18,2)");
  2220. entity.Property(e => e.TradeType).HasColumnType("int(11)");
  2221. entity.Property(e => e.UpdateDate).HasColumnType("datetime");
  2222. entity.Property(e => e.UpdateMan)
  2223. .HasColumnType("varchar(50)")
  2224. .HasCharSet("utf8")
  2225. .HasCollation("utf8_general_ci");
  2226. entity.Property(e => e.UserId).HasColumnType("int(11)");
  2227. entity.Property(e => e.Version).HasColumnType("int(11)");
  2228. });
  2229. OnModelCreatingPartial(modelBuilder);
  2230. }
  2231. partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
  2232. }
  2233. }