20211202034338_workflow-modify.Designer.cs 134 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380
  1. // <auto-generated />
  2. using System;
  3. using Microsoft.EntityFrameworkCore;
  4. using Microsoft.EntityFrameworkCore.Infrastructure;
  5. using Microsoft.EntityFrameworkCore.Metadata;
  6. using Microsoft.EntityFrameworkCore.Migrations;
  7. using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
  8. using wispro.sp.api;
  9. namespace wispro.sp.api.Migrations
  10. {
  11. [DbContext(typeof(spDbContext))]
  12. [Migration("20211202034338_workflow-modify")]
  13. partial class workflowmodify
  14. {
  15. protected override void BuildTargetModel(ModelBuilder modelBuilder)
  16. {
  17. #pragma warning disable 612, 618
  18. modelBuilder
  19. .HasAnnotation("Relational:MaxIdentifierLength", 128)
  20. .HasAnnotation("ProductVersion", "5.0.9")
  21. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  22. modelBuilder.Entity("wispro.sp.entity.AppealRecord", b =>
  23. {
  24. b.Property<int>("Id")
  25. .ValueGeneratedOnAdd()
  26. .HasColumnType("int")
  27. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  28. b.Property<DateTime>("CreateTime")
  29. .HasColumnType("datetime2");
  30. b.Property<int>("CreaterId")
  31. .HasColumnType("int");
  32. b.Property<int>("ItemId")
  33. .HasColumnType("int");
  34. b.Property<string>("Reason")
  35. .HasMaxLength(500)
  36. .HasColumnType("nvarchar(500)");
  37. b.Property<DateTime?>("ReviewTime")
  38. .HasColumnType("datetime2");
  39. b.Property<int?>("ReviewerId")
  40. .HasColumnType("int");
  41. b.Property<string>("ReviewerMemo")
  42. .HasColumnType("nvarchar(max)");
  43. b.Property<int>("State")
  44. .HasColumnType("int");
  45. b.Property<int>("TypeId")
  46. .HasColumnType("int");
  47. b.HasKey("Id");
  48. b.HasIndex("CreaterId");
  49. b.HasIndex("ItemId");
  50. b.HasIndex("ReviewerId");
  51. b.HasIndex("TypeId");
  52. b.ToTable("AppealRecord");
  53. });
  54. modelBuilder.Entity("wispro.sp.entity.AppealType", b =>
  55. {
  56. b.Property<int>("Id")
  57. .ValueGeneratedOnAdd()
  58. .HasColumnType("int")
  59. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  60. b.Property<string>("CanDoExpress")
  61. .HasMaxLength(500)
  62. .HasColumnType("nvarchar(500)");
  63. b.Property<string>("Name")
  64. .HasMaxLength(50)
  65. .HasColumnType("nvarchar(50)");
  66. b.Property<string>("ReviewerExpress")
  67. .HasMaxLength(500)
  68. .HasColumnType("nvarchar(500)");
  69. b.Property<int>("Type")
  70. .HasColumnType("int");
  71. b.HasKey("Id");
  72. b.ToTable("AppealType");
  73. b.HasData(
  74. new
  75. {
  76. Id = 1,
  77. CanDoExpress = "p.ItemStaffs.Count()>1",
  78. Name = "绩效点数分配比率",
  79. Type = 0
  80. },
  81. new
  82. {
  83. Id = 2,
  84. CanDoExpress = "p.DoItem==\"新申请\"",
  85. Name = "案件系数复核",
  86. ReviewerExpress = "p.Reviewer",
  87. Type = 0
  88. },
  89. new
  90. {
  91. Id = 3,
  92. CanDoExpress = "p.DoItem==\"新申请\"",
  93. Name = "处理事项系数复核",
  94. ReviewerExpress = "p.Reviewer",
  95. Type = 0
  96. },
  97. new
  98. {
  99. Id = 4,
  100. CanDoExpress = "",
  101. Name = "案件缺漏申诉",
  102. ReviewerExpress = "p.Reviewer",
  103. Type = 1
  104. },
  105. new
  106. {
  107. Id = 5,
  108. CanDoExpress = "p.isDanger()",
  109. Name = "案件严重超期说明",
  110. Type = 0
  111. },
  112. new
  113. {
  114. Id = 6,
  115. CanDoExpress = "p.DoItem==\"新申请\" || p.DoItem==\"翻译\"",
  116. Name = "按照翻译字数算绩效备注",
  117. Type = 0
  118. });
  119. });
  120. modelBuilder.Entity("wispro.sp.entity.AttachFile", b =>
  121. {
  122. b.Property<Guid>("Id")
  123. .ValueGeneratedOnAdd()
  124. .HasColumnType("uniqueidentifier");
  125. b.Property<int?>("AppealRecordId")
  126. .HasColumnType("int");
  127. b.Property<string>("Name")
  128. .HasMaxLength(200)
  129. .HasColumnType("nvarchar(200)");
  130. b.Property<string>("SavePath")
  131. .HasMaxLength(200)
  132. .HasColumnType("nvarchar(200)");
  133. b.Property<int?>("UploadUserId")
  134. .HasColumnType("int");
  135. b.HasKey("Id");
  136. b.HasIndex("AppealRecordId");
  137. b.HasIndex("UploadUserId");
  138. b.ToTable("AttachFile");
  139. });
  140. modelBuilder.Entity("wispro.sp.entity.BasePointRule", b =>
  141. {
  142. b.Property<int>("Id")
  143. .ValueGeneratedOnAdd()
  144. .HasColumnType("int")
  145. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  146. b.Property<string>("PointExpress")
  147. .HasMaxLength(100)
  148. .HasColumnType("nvarchar(100)");
  149. b.Property<int>("Priority")
  150. .HasColumnType("int");
  151. b.Property<string>("Rule")
  152. .HasMaxLength(1000)
  153. .HasColumnType("nvarchar(1000)");
  154. b.Property<string>("Type")
  155. .HasMaxLength(20)
  156. .HasColumnType("nvarchar(20)");
  157. b.HasKey("Id");
  158. b.ToTable("BasePointRule");
  159. b.HasData(
  160. new
  161. {
  162. Id = 1,
  163. PointExpress = "0",
  164. Priority = 136,
  165. Rule = "p.CaseNo.StartsWith(\"J\")",
  166. Type = "其它"
  167. },
  168. new
  169. {
  170. Id = 2,
  171. PointExpress = "0",
  172. Priority = 135,
  173. Rule = "p.AgentFeedbackMemo==\"已算绩效\"",
  174. Type = "其它"
  175. },
  176. new
  177. {
  178. Id = 3,
  179. PointExpress = "p.WordCount/1000*0.18",
  180. Priority = 134,
  181. Rule = "p.DoItem==\"翻译\" && p.AgentFeedbackMemo==\"中-德\"",
  182. Type = "其它"
  183. },
  184. new
  185. {
  186. Id = 4,
  187. PointExpress = "p.WordCount/1000*0.16",
  188. Priority = 133,
  189. Rule = "p.DoItem==\"翻译\" && p.AgentFeedbackMemo==\"中-英\"",
  190. Type = "其它"
  191. },
  192. new
  193. {
  194. Id = 5,
  195. PointExpress = "p.WordCount/1000*0.1",
  196. Priority = 132,
  197. Rule = "p.DoItem==\"翻译\" && p.AgentFeedbackMemo==\"英-中\"",
  198. Type = "其它"
  199. },
  200. new
  201. {
  202. Id = 6,
  203. PointExpress = "0.2",
  204. Priority = 131,
  205. Rule = "(p.DoItem==\"提交检索主题申明\" || p.DoItem==\"提交检索主题声明\") && p.CaseNo.StartsWith(\"PAEPO\")",
  206. Type = "其它"
  207. },
  208. new
  209. {
  210. Id = 7,
  211. PointExpress = "0",
  212. Priority = 130,
  213. Rule = "p.DoItem==\"请求优先审查\"",
  214. Type = "其它"
  215. },
  216. new
  217. {
  218. Id = 8,
  219. PointExpress = "0.2",
  220. Priority = 129,
  221. Rule = "p.ApplicationType==\"外观设计\" && p.DoItem==\"新申请\"",
  222. Type = "其它"
  223. },
  224. new
  225. {
  226. Id = 9,
  227. PointExpress = "0",
  228. Priority = 128,
  229. Rule = "p.DoItem==\"专利挖掘与布局\"",
  230. Type = "其它"
  231. },
  232. new
  233. {
  234. Id = 10,
  235. PointExpress = "0",
  236. Priority = 127,
  237. Rule = "p.DoItem==\"知识点总结\"",
  238. Type = "其它"
  239. },
  240. new
  241. {
  242. Id = 11,
  243. PointExpress = "0",
  244. Priority = 126,
  245. Rule = "p.DoItem==\"询问放弃或复审\"",
  246. Type = "其它"
  247. },
  248. new
  249. {
  250. Id = 12,
  251. PointExpress = "0",
  252. Priority = 125,
  253. Rule = "p.DoItem==\"申请时提交IDS\"",
  254. Type = "其它"
  255. },
  256. new
  257. {
  258. Id = 13,
  259. PointExpress = "0.1",
  260. Priority = 124,
  261. Rule = "p.DoItem==\"提交ids\" || p.DoItem==\"提交IDS\" ",
  262. Type = "其它"
  263. },
  264. new
  265. {
  266. Id = 14,
  267. PointExpress = "0",
  268. Priority = 123,
  269. Rule = "p.DoItem==\"技术确认\"",
  270. Type = "其它"
  271. },
  272. new
  273. {
  274. Id = 15,
  275. PointExpress = "0",
  276. Priority = 122,
  277. Rule = "p.DoItem==\"绘图\"",
  278. Type = "其它"
  279. },
  280. new
  281. {
  282. Id = 16,
  283. PointExpress = "0.2",
  284. Priority = 121,
  285. Rule = "p.DoItem==\"分案评估+分案\"",
  286. Type = "其它"
  287. },
  288. new
  289. {
  290. Id = 17,
  291. PointExpress = "0.1",
  292. Priority = 120,
  293. Rule = "p.DoItem==\"分案评估\"",
  294. Type = "其它"
  295. },
  296. new
  297. {
  298. Id = 18,
  299. PointExpress = "0.2",
  300. Priority = 119,
  301. Rule = "p.DoItem==\"电询\" && p.CaseNo.StartsWith(\"PAUS\")",
  302. Type = "其它"
  303. },
  304. new
  305. {
  306. Id = 19,
  307. PointExpress = "0.2",
  308. Priority = 118,
  309. Rule = "p.DoItem==\"电询\" && p.CaseNo.StartsWith(\"PAEPO\") ",
  310. Type = "其它"
  311. },
  312. new
  313. {
  314. Id = 20,
  315. PointExpress = "0",
  316. Priority = 117,
  317. Rule = "p.DoItem==\"电询\" && p.CaseNo.StartsWith(\"PACN\")",
  318. Type = "其它"
  319. },
  320. new
  321. {
  322. Id = 21,
  323. PointExpress = "0.1",
  324. Priority = 116,
  325. Rule = "p.DoItem==\"PPH\"",
  326. Type = "其它"
  327. },
  328. new
  329. {
  330. Id = 22,
  331. PointExpress = "0.2",
  332. Priority = 115,
  333. Rule = "p.DoItem==\"OA答辩校核\"",
  334. Type = "其它"
  335. },
  336. new
  337. {
  338. Id = 23,
  339. PointExpress = "0.2",
  340. Priority = 114,
  341. Rule = "p.DoItem==\"Election Action\"",
  342. Type = "其它"
  343. },
  344. new
  345. {
  346. Id = 24,
  347. PointExpress = "0.2",
  348. Priority = 113,
  349. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAUS\")",
  350. Type = "其它"
  351. },
  352. new
  353. {
  354. Id = 25,
  355. PointExpress = "0.2",
  356. Priority = 112,
  357. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAIN\")",
  358. Type = "其它"
  359. },
  360. new
  361. {
  362. Id = 26,
  363. PointExpress = "0.2",
  364. Priority = 111,
  365. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAGB\")",
  366. Type = "其它"
  367. },
  368. new
  369. {
  370. Id = 27,
  371. PointExpress = "0.2",
  372. Priority = 110,
  373. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAEPO\")",
  374. Type = "其它"
  375. },
  376. new
  377. {
  378. Id = 28,
  379. PointExpress = "0.2",
  380. Priority = 109,
  381. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PADE\")",
  382. Type = "其它"
  383. },
  384. new
  385. {
  386. Id = 29,
  387. PointExpress = "0",
  388. Priority = 108,
  389. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"WOCN\")",
  390. Type = "其它"
  391. },
  392. new
  393. {
  394. Id = 30,
  395. PointExpress = "0",
  396. Priority = 107,
  397. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PCTCN\")",
  398. Type = "其它"
  399. },
  400. new
  401. {
  402. Id = 31,
  403. PointExpress = "0",
  404. Priority = 106,
  405. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PACN\")",
  406. Type = "其它"
  407. },
  408. new
  409. {
  410. Id = 32,
  411. PointExpress = "0.2",
  412. Priority = 105,
  413. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAAU\")",
  414. Type = "其它"
  415. },
  416. new
  417. {
  418. Id = 33,
  419. PointExpress = "0.2",
  420. Priority = 104,
  421. Rule = "p.AgentFeedbackMemo==\"检索结案\"",
  422. Type = "其它"
  423. },
  424. new
  425. {
  426. Id = 34,
  427. PointExpress = "0",
  428. Priority = 103,
  429. Rule = "p.DoItem==\"内部检索\"",
  430. Type = "其它"
  431. },
  432. new
  433. {
  434. Id = 35,
  435. PointExpress = "0.2",
  436. Priority = 102,
  437. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"形式\" && p.AgentFeedbackMemo==\"外-内\"",
  438. Type = "其它"
  439. },
  440. new
  441. {
  442. Id = 36,
  443. PointExpress = "0.3",
  444. Priority = 101,
  445. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"形式\" && p.AgentFeedbackMemo==\"内-外\"",
  446. Type = "其它"
  447. },
  448. new
  449. {
  450. Id = 37,
  451. PointExpress = "0.5",
  452. Priority = 100,
  453. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"外-内\"",
  454. Type = "其它"
  455. },
  456. new
  457. {
  458. Id = 38,
  459. PointExpress = "0.7",
  460. Priority = 99,
  461. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"内-外\"",
  462. Type = "其它"
  463. },
  464. new
  465. {
  466. Id = 39,
  467. PointExpress = "0.2",
  468. Priority = 98,
  469. Rule = "p.DoItem==\"发明一次OA授权\" && p.ApplicationType==\"发明\"",
  470. Type = "其它"
  471. },
  472. new
  473. {
  474. Id = 40,
  475. PointExpress = "0",
  476. Priority = 97,
  477. Rule = "p.DoItem==\"处理审查意见\" && p.AgentFeedbackMemo==\"客户不进行答辩\"",
  478. Type = "OA"
  479. },
  480. new
  481. {
  482. Id = 41,
  483. PointExpress = "0",
  484. Priority = 96,
  485. Rule = "p.DoItem==\"处理审查意见\" && p.AgentFeedbackMemo==\"电询/补正\"",
  486. Type = "OA"
  487. },
  488. new
  489. {
  490. Id = 42,
  491. PointExpress = "0",
  492. Priority = 95,
  493. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"不请款\"",
  494. Type = "OA"
  495. },
  496. new
  497. {
  498. Id = 43,
  499. PointExpress = "0",
  500. Priority = 94,
  501. Rule = "p.DoItem==\"意见陈述\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"不请款\"",
  502. Type = "OA"
  503. },
  504. new
  505. {
  506. Id = 44,
  507. PointExpress = "0",
  508. Priority = 93,
  509. Rule = "p.DoItem==\"请求复审\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"不请款\"",
  510. Type = "OA"
  511. },
  512. new
  513. {
  514. Id = 45,
  515. PointExpress = "0.14",
  516. Priority = 92,
  517. Rule = "p.DoItem==\"意见陈述\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"请款\"",
  518. Type = "OA"
  519. },
  520. new
  521. {
  522. Id = 46,
  523. PointExpress = "0.35",
  524. Priority = 91,
  525. Rule = "p.DoItem==\"请求复审\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"请款\"",
  526. Type = "OA"
  527. },
  528. new
  529. {
  530. Id = 47,
  531. PointExpress = "0.21",
  532. Priority = 90,
  533. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"非实质\" && p.CaseStage==\"一通\" && p.AgentFeedbackMemo==\"请款\"",
  534. Type = "OA"
  535. },
  536. new
  537. {
  538. Id = 48,
  539. PointExpress = "0.35",
  540. Priority = 89,
  541. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"实质\" && p.CaseStage==\"一通\" && p.AgentFeedbackMemo==\"请款\"",
  542. Type = "OA"
  543. },
  544. new
  545. {
  546. Id = 49,
  547. PointExpress = "0.14",
  548. Priority = 88,
  549. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"形式\" && p.CaseStage==\"一通\" && p.AgentFeedbackMemo==\"请款\"",
  550. Type = "OA"
  551. },
  552. new
  553. {
  554. Id = 50,
  555. PointExpress = "0.14",
  556. Priority = 87,
  557. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"实质\" && p.CaseStage==\"二通\" && p.AgentFeedbackMemo==\"请款\"",
  558. Type = "OA"
  559. },
  560. new
  561. {
  562. Id = 51,
  563. PointExpress = "0",
  564. Priority = 86,
  565. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"实质\" && (p.CaseStage==\"三通\" || p.CaseStage==\"四通\" || p.CaseStage==\"五通\" || p.CaseStage==\"六通\" || p.CaseStage==\"七通\" || p.CaseStage==\"八通\") ",
  566. Type = "OA"
  567. },
  568. new
  569. {
  570. Id = 52,
  571. PointExpress = "0.2",
  572. Priority = 85,
  573. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && p.AgentFeedbackMemo==\"外所/他人首次转入OA\"",
  574. Type = "OA"
  575. },
  576. new
  577. {
  578. Id = 53,
  579. PointExpress = "0.5",
  580. Priority = 84,
  581. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"外所/他人首次转入OA\"",
  582. Type = "OA"
  583. },
  584. new
  585. {
  586. Id = 54,
  587. PointExpress = "0.3",
  588. Priority = 83,
  589. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\" && p.AgentFeedbackMemo==\"外所/他人首次转入OA\"",
  590. Type = "OA"
  591. },
  592. new
  593. {
  594. Id = 55,
  595. PointExpress = "0",
  596. Priority = 82,
  597. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PCTCN\") && (p.CaseStage==\"三通\" || p.CaseStage==\"四通\" || p.CaseStage==\"五通\")",
  598. Type = "OA"
  599. },
  600. new
  601. {
  602. Id = 56,
  603. PointExpress = "0",
  604. Priority = 81,
  605. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && (p.CaseStage==\"三通\" || p.CaseStage==\"四通\" || p.CaseStage==\"五通\")",
  606. Type = "OA"
  607. },
  608. new
  609. {
  610. Id = 57,
  611. PointExpress = "0.2",
  612. Priority = 80,
  613. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"二通\"",
  614. Type = "OA"
  615. },
  616. new
  617. {
  618. Id = 58,
  619. PointExpress = "0.2",
  620. Priority = 79,
  621. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"二通\"",
  622. Type = "OA"
  623. },
  624. new
  625. {
  626. Id = 59,
  627. PointExpress = "0.2",
  628. Priority = 78,
  629. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"一通\"",
  630. Type = "OA"
  631. },
  632. new
  633. {
  634. Id = 60,
  635. PointExpress = "0.5",
  636. Priority = 77,
  637. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"一通\"",
  638. Type = "OA"
  639. },
  640. new
  641. {
  642. Id = 61,
  643. PointExpress = "0.3",
  644. Priority = 76,
  645. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"一通\"",
  646. Type = "OA"
  647. },
  648. new
  649. {
  650. Id = 62,
  651. PointExpress = "0.2",
  652. Priority = 75,
  653. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"一通\"",
  654. Type = "OA"
  655. },
  656. new
  657. {
  658. Id = 63,
  659. PointExpress = "0.5",
  660. Priority = 74,
  661. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"一通\"",
  662. Type = "OA"
  663. },
  664. new
  665. {
  666. Id = 64,
  667. PointExpress = "0.3",
  668. Priority = 73,
  669. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"一通\"",
  670. Type = "OA"
  671. },
  672. new
  673. {
  674. Id = 65,
  675. PointExpress = "0.2",
  676. Priority = 72,
  677. Rule = "p.DoItem==\"意见陈述\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"复审\"",
  678. Type = "OA"
  679. },
  680. new
  681. {
  682. Id = 66,
  683. PointExpress = "0.5",
  684. Priority = 71,
  685. Rule = "p.DoItem==\"请求复审\" && p.ApplicationType==\"发明\"",
  686. Type = "OA"
  687. },
  688. new
  689. {
  690. Id = 67,
  691. PointExpress = "0.1",
  692. Priority = 70,
  693. Rule = "p.AgentFeedbackMemo==\"涉外OA不答辩,发报导函结案\"",
  694. Type = "其它"
  695. },
  696. new
  697. {
  698. Id = 68,
  699. PointExpress = "0.8",
  700. Priority = 69,
  701. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"客户未提供答辩点,撰写英文报导函\"",
  702. Type = "OA"
  703. },
  704. new
  705. {
  706. Id = 69,
  707. PointExpress = "0.5",
  708. Priority = 68,
  709. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"客户提供答辩点,撰写英文报导函\"",
  710. Type = "OA"
  711. },
  712. new
  713. {
  714. Id = 70,
  715. PointExpress = "0.2",
  716. Priority = 67,
  717. Rule = "p.DoItem==\"申復\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PATW\")",
  718. Type = "OA"
  719. },
  720. new
  721. {
  722. Id = 71,
  723. PointExpress = "0.5",
  724. Priority = 66,
  725. Rule = "p.DoItem==\"申復\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PATW\")",
  726. Type = "OA"
  727. },
  728. new
  729. {
  730. Id = 72,
  731. PointExpress = "0.2",
  732. Priority = 65,
  733. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAIN\")",
  734. Type = "OA"
  735. },
  736. new
  737. {
  738. Id = 73,
  739. PointExpress = "0.2",
  740. Priority = 64,
  741. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAGB\")",
  742. Type = "OA"
  743. },
  744. new
  745. {
  746. Id = 74,
  747. PointExpress = "0.2",
  748. Priority = 63,
  749. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAEPO\")",
  750. Type = "OA"
  751. },
  752. new
  753. {
  754. Id = 75,
  755. PointExpress = "0.3",
  756. Priority = 62,
  757. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PADE\")",
  758. Type = "OA"
  759. },
  760. new
  761. {
  762. Id = 76,
  763. PointExpress = "0.2",
  764. Priority = 61,
  765. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAAU\")",
  766. Type = "OA"
  767. },
  768. new
  769. {
  770. Id = 77,
  771. PointExpress = "1.5",
  772. Priority = 60,
  773. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAIN\")",
  774. Type = "OA"
  775. },
  776. new
  777. {
  778. Id = 78,
  779. PointExpress = "1.5",
  780. Priority = 59,
  781. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAGB\")",
  782. Type = "OA"
  783. },
  784. new
  785. {
  786. Id = 79,
  787. PointExpress = "1.5",
  788. Priority = 58,
  789. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAEPO\")",
  790. Type = "OA"
  791. },
  792. new
  793. {
  794. Id = 80,
  795. PointExpress = "1.6",
  796. Priority = 57,
  797. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PADE\")",
  798. Type = "OA"
  799. },
  800. new
  801. {
  802. Id = 81,
  803. PointExpress = "1.5",
  804. Priority = 56,
  805. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAAU\")",
  806. Type = "OA"
  807. },
  808. new
  809. {
  810. Id = 82,
  811. PointExpress = "0.2",
  812. Priority = 55,
  813. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAUS\")",
  814. Type = "OA"
  815. },
  816. new
  817. {
  818. Id = 83,
  819. PointExpress = "1.5",
  820. Priority = 54,
  821. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAUS\")",
  822. Type = "OA"
  823. },
  824. new
  825. {
  826. Id = 84,
  827. PointExpress = "1.5",
  828. Priority = 53,
  829. Rule = "p.DoItem==\"口审评估\" && p.DoItemCoefficient==\"实质\"",
  830. Type = "OA"
  831. },
  832. new
  833. {
  834. Id = 85,
  835. PointExpress = "0.2",
  836. Priority = 52,
  837. Rule = "p.DoItem==\"口审评估\" && p.DoItemCoefficient==\"形式\"",
  838. Type = "OA"
  839. },
  840. new
  841. {
  842. Id = 86,
  843. PointExpress = "0.2",
  844. Priority = 51,
  845. Rule = "p.DoItem==\"欧洲案答辩\" && p.DoItemCoefficient==\"形式\"",
  846. Type = "OA"
  847. },
  848. new
  849. {
  850. Id = 87,
  851. PointExpress = "1.5",
  852. Priority = 50,
  853. Rule = "p.DoItem==\"欧洲案答辩\" && p.DoItemCoefficient==\"实质\"",
  854. Type = "OA"
  855. },
  856. new
  857. {
  858. Id = 88,
  859. PointExpress = "0.2",
  860. Priority = 49,
  861. Rule = "p.DoItem==\"RCE\" && p.DoItemCoefficient==\"形式\"",
  862. Type = "OA"
  863. },
  864. new
  865. {
  866. Id = 89,
  867. PointExpress = "1.5",
  868. Priority = 48,
  869. Rule = "p.DoItem==\"RCE\" && p.DoItemCoefficient==\"实质\"",
  870. Type = "OA"
  871. },
  872. new
  873. {
  874. Id = 90,
  875. PointExpress = "0.2",
  876. Priority = 47,
  877. Rule = "p.DoItem==\"Non Final Action\" && p.DoItemCoefficient==\"形式\"",
  878. Type = "OA"
  879. },
  880. new
  881. {
  882. Id = 91,
  883. PointExpress = "1.5",
  884. Priority = 46,
  885. Rule = "p.DoItem==\"Non Final Action\" && p.DoItemCoefficient==\"实质\"",
  886. Type = "OA"
  887. },
  888. new
  889. {
  890. Id = 92,
  891. PointExpress = "0.1",
  892. Priority = 45,
  893. Rule = "p.DoItem==\"form 3-8(2)\" || p.DoItem==\"Form 3-8(2)\" || p.DoItem==\"Form 3-8(2)\"",
  894. Type = "OA"
  895. },
  896. new
  897. {
  898. Id = 93,
  899. PointExpress = "0.1",
  900. Priority = 44,
  901. Rule = "p.DoItem==\"form 3\"",
  902. Type = "OA"
  903. },
  904. new
  905. {
  906. Id = 94,
  907. PointExpress = "0.2",
  908. Priority = 43,
  909. Rule = "p.DoItem==\"Final Action\" && p.DoItemCoefficient==\"形式\"",
  910. Type = "OA"
  911. },
  912. new
  913. {
  914. Id = 95,
  915. PointExpress = "1.5",
  916. Priority = 42,
  917. Rule = "p.DoItem==\"Final Action\" && p.DoItemCoefficient==\"实质\"",
  918. Type = "OA"
  919. },
  920. new
  921. {
  922. Id = 96,
  923. PointExpress = "0.2",
  924. Priority = 41,
  925. Rule = "p.DoItem==\"Advisory Action\" && p.DoItemCoefficient==\"形式\"",
  926. Type = "OA"
  927. },
  928. new
  929. {
  930. Id = 97,
  931. PointExpress = "1.5",
  932. Priority = 40,
  933. Rule = "p.DoItem==\"Advisory Action\" && p.DoItemCoefficient==\"实质\"",
  934. Type = "OA"
  935. },
  936. new
  937. {
  938. Id = 98,
  939. PointExpress = "p.WordCount/1000*0.18",
  940. Priority = 39,
  941. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"中-德\" && p.WordCount !=null",
  942. Type = "其它"
  943. },
  944. new
  945. {
  946. Id = 99,
  947. PointExpress = "p.WordCount/1000*0.16",
  948. Priority = 38,
  949. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"中-英\" && p.WordCount !=null",
  950. Type = "其它"
  951. },
  952. new
  953. {
  954. Id = 100,
  955. PointExpress = "p.WordCount/1000*0.1",
  956. Priority = 37,
  957. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"英-中\" && p.WordCount !=null",
  958. Type = "其它"
  959. },
  960. new
  961. {
  962. Id = 101,
  963. PointExpress = "0",
  964. Priority = 36,
  965. Rule = "(p.ApplicationType==\"实用新型\" || p.ApplicationType==\"发明\") && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"客户不进行答辩\"",
  966. Type = "其它"
  967. },
  968. new
  969. {
  970. Id = 102,
  971. PointExpress = "1.26",
  972. Priority = 35,
  973. Rule = "p.CaseNo.StartsWith(\"PAUS\") && p.AgentFeedbackMemo==\"发文后客户原因取消申请,系统结案\"",
  974. Type = "新申请"
  975. },
  976. new
  977. {
  978. Id = 103,
  979. PointExpress = "1.33",
  980. Priority = 34,
  981. Rule = "p.CaseNo.StartsWith(\"PADE\") && p.AgentFeedbackMemo==\"发文后客户原因取消申请,系统结案\"",
  982. Type = "新申请"
  983. },
  984. new
  985. {
  986. Id = 104,
  987. PointExpress = "0.7",
  988. Priority = 33,
  989. Rule = "p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"发文后客户取消申请\"",
  990. Type = "新申请"
  991. },
  992. new
  993. {
  994. Id = 105,
  995. PointExpress = "0.49",
  996. Priority = 32,
  997. Rule = "p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"发文后客户取消申请\"",
  998. Type = "新申请"
  999. },
  1000. new
  1001. {
  1002. Id = 106,
  1003. PointExpress = "0",
  1004. Priority = 31,
  1005. Rule = "p.AgentFeedbackMemo==\"撰写中客户取消申请\"",
  1006. Type = "其它"
  1007. },
  1008. new
  1009. {
  1010. Id = 107,
  1011. PointExpress = "1.5",
  1012. Priority = 30,
  1013. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PCTCN\") && p.AgentFeedbackMemo==\"外到内首次申请\"",
  1014. Type = "新申请"
  1015. },
  1016. new
  1017. {
  1018. Id = 108,
  1019. PointExpress = "0.1",
  1020. Priority = 29,
  1021. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"转格式\"",
  1022. Type = "其它"
  1023. },
  1024. new
  1025. {
  1026. Id = 109,
  1027. PointExpress = "1.5",
  1028. Priority = 28,
  1029. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"外-内首次申请\"",
  1030. Type = "新申请"
  1031. },
  1032. new
  1033. {
  1034. Id = 110,
  1035. PointExpress = "1",
  1036. Priority = 27,
  1037. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"首次中文案\"",
  1038. Type = "新申请"
  1039. },
  1040. new
  1041. {
  1042. Id = 111,
  1043. PointExpress = "0.7",
  1044. Priority = 26,
  1045. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"涉外实质改权\"",
  1046. Type = "新申请"
  1047. },
  1048. new
  1049. {
  1050. Id = 112,
  1051. PointExpress = "0.5",
  1052. Priority = 25,
  1053. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"改权+改说明书\"",
  1054. Type = "其它"
  1055. },
  1056. new
  1057. {
  1058. Id = 113,
  1059. PointExpress = "0.3",
  1060. Priority = 24,
  1061. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"改权\"",
  1062. Type = "其它"
  1063. },
  1064. new
  1065. {
  1066. Id = 114,
  1067. PointExpress = "1.8",
  1068. Priority = 23,
  1069. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"PCT首次英文案\"",
  1070. Type = "新申请"
  1071. },
  1072. new
  1073. {
  1074. Id = 115,
  1075. PointExpress = "0.2",
  1076. Priority = 22,
  1077. Rule = "p.AgentFeedbackMemo==\"我方转格式、复核\"",
  1078. Type = "其它"
  1079. },
  1080. new
  1081. {
  1082. Id = 116,
  1083. PointExpress = "0",
  1084. Priority = 21,
  1085. Rule = "p.AgentFeedbackMemo==\"我方代交\"",
  1086. Type = "其它"
  1087. },
  1088. new
  1089. {
  1090. Id = 117,
  1091. PointExpress = "0.5",
  1092. Priority = 20,
  1093. Rule = "p.CaseNo.StartsWith(\"PAUS\") && (p.CaseNo.EndsWith(\"-同套\") || p.CaseNo.EndsWith(\"CA\") || p.CaseNo.EndsWith(\"CIP\") || p.CaseNo.EndsWith(\"分案\")) ",
  1094. Type = "其它"
  1095. },
  1096. new
  1097. {
  1098. Id = 118,
  1099. PointExpress = "0.2",
  1100. Priority = 19,
  1101. Rule = "(p.CaseNo.StartsWith(\"PAMY \") || p.CaseNo.StartsWith(\"PADE\") || p.CaseNo.StartsWith(\"PAGB\") || p.CaseNo.StartsWith(\"PAIN\") || p.CaseNo.StartsWith(\"PAUS\") || p.CaseNo.StartsWith(\"PAEPO\") ) && p.AgentFeedbackMemo==\"同套\"",
  1102. Type = "其它"
  1103. },
  1104. new
  1105. {
  1106. Id = 119,
  1107. PointExpress = "0.3",
  1108. Priority = 18,
  1109. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseNo.EndsWith(\"-分案\")",
  1110. Type = "其它"
  1111. },
  1112. new
  1113. {
  1114. Id = 120,
  1115. PointExpress = "1.8",
  1116. Priority = 17,
  1117. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"欧洲案首次\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAEPO\")",
  1118. Type = "新申请"
  1119. },
  1120. new
  1121. {
  1122. Id = 121,
  1123. PointExpress = "0.2",
  1124. Priority = 16,
  1125. Rule = "p.DoItem==\"新申请\" && p.CaseNo.StartsWith(\"PATW\") && p.AgentFeedbackMemo==\"大陆案转台湾案\"",
  1126. Type = "其它"
  1127. },
  1128. new
  1129. {
  1130. Id = 122,
  1131. PointExpress = "1",
  1132. Priority = 15,
  1133. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  1134. Type = "新申请"
  1135. },
  1136. new
  1137. {
  1138. Id = 123,
  1139. PointExpress = "0.2",
  1140. Priority = 14,
  1141. Rule = "p.DoItem==\"新申请\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"台湾案转大陆案\"",
  1142. Type = "其它"
  1143. },
  1144. new
  1145. {
  1146. Id = 124,
  1147. PointExpress = "0.1",
  1148. Priority = 13,
  1149. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PATW\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  1150. Type = "其它"
  1151. },
  1152. new
  1153. {
  1154. Id = 125,
  1155. PointExpress = "0.7",
  1156. Priority = 12,
  1157. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  1158. Type = "新申请"
  1159. },
  1160. new
  1161. {
  1162. Id = 126,
  1163. PointExpress = "0.1",
  1164. Priority = 11,
  1165. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PATW\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  1166. Type = "其它"
  1167. },
  1168. new
  1169. {
  1170. Id = 127,
  1171. PointExpress = "1.7",
  1172. Priority = 10,
  1173. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAUS\") && (p.Customer!=null && p.Customer.Name.Contains(\"OPPO\"))",
  1174. Type = "新申请"
  1175. },
  1176. new
  1177. {
  1178. Id = 128,
  1179. PointExpress = "1.8",
  1180. Priority = 9,
  1181. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAUS\")",
  1182. Type = "新申请"
  1183. },
  1184. new
  1185. {
  1186. Id = 129,
  1187. PointExpress = "1.8",
  1188. Priority = 8,
  1189. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAGB\")",
  1190. Type = "新申请"
  1191. },
  1192. new
  1193. {
  1194. Id = 130,
  1195. PointExpress = "0.2",
  1196. Priority = 7,
  1197. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAEPO\")",
  1198. Type = "其它"
  1199. },
  1200. new
  1201. {
  1202. Id = 131,
  1203. PointExpress = "1.9",
  1204. Priority = 6,
  1205. Rule = "p.DoItem==\"新申请\" && p.CaseNo.StartsWith(\"PADE\")",
  1206. Type = "新申请"
  1207. },
  1208. new
  1209. {
  1210. Id = 132,
  1211. PointExpress = "0.1",
  1212. Priority = 5,
  1213. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseNo.EndsWith(\"-TS\")",
  1214. Type = "其它"
  1215. },
  1216. new
  1217. {
  1218. Id = 133,
  1219. PointExpress = "1",
  1220. Priority = 4,
  1221. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && (p.Customer!=null && p.Customer.Name.Contains(\"OPPO\"))",
  1222. Type = "新申请"
  1223. },
  1224. new
  1225. {
  1226. Id = 134,
  1227. PointExpress = "0.7",
  1228. Priority = 3,
  1229. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\")",
  1230. Type = "新申请"
  1231. },
  1232. new
  1233. {
  1234. Id = 135,
  1235. PointExpress = "1",
  1236. Priority = 2,
  1237. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseNo.EndsWith(\"-TS\")",
  1238. Type = "新申请"
  1239. },
  1240. new
  1241. {
  1242. Id = 136,
  1243. PointExpress = "1",
  1244. Priority = 1,
  1245. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\")",
  1246. Type = "新申请"
  1247. },
  1248. new
  1249. {
  1250. Id = 137,
  1251. PointExpress = "0",
  1252. Priority = 250,
  1253. Rule = "p.CaseNo.StartsWith(\"S\")",
  1254. Type = "专案"
  1255. },
  1256. new
  1257. {
  1258. Id = 138,
  1259. PointExpress = "0.2",
  1260. Priority = 85,
  1261. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && (p.PreOastaffId != null && p.ItemStaffs.Where<ItemStaff>(s => s.DoPersonId == p.PreOastaffId).Count() == 0)",
  1262. Type = "OA"
  1263. },
  1264. new
  1265. {
  1266. Id = 139,
  1267. PointExpress = "0.5",
  1268. Priority = 84,
  1269. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && (p.PreOastaffId != null && p.ItemStaffs.Where<ItemStaff>(s => s.DoPersonId == p.PreOastaffId).Count() == 0)",
  1270. Type = "OA"
  1271. },
  1272. new
  1273. {
  1274. Id = 140,
  1275. PointExpress = "0.3",
  1276. Priority = 83,
  1277. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\"  && (p.PreOastaffId != null && p.ItemStaffs.Where<ItemStaff>(s => s.DoPersonId == p.PreOastaffId).Count() == 0)",
  1278. Type = "OA"
  1279. });
  1280. });
  1281. modelBuilder.Entity("wispro.sp.entity.CalMonth", b =>
  1282. {
  1283. b.Property<int>("Id")
  1284. .ValueGeneratedOnAdd()
  1285. .HasColumnType("int")
  1286. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1287. b.Property<int>("Month")
  1288. .HasColumnType("int")
  1289. .HasColumnName("month");
  1290. b.Property<int>("Status")
  1291. .HasColumnType("int")
  1292. .HasColumnName("status");
  1293. b.Property<int>("Year")
  1294. .HasColumnType("int")
  1295. .HasColumnName("year");
  1296. b.HasKey("Id");
  1297. b.ToTable("CalMonth");
  1298. });
  1299. modelBuilder.Entity("wispro.sp.entity.CaseCeoffcient", b =>
  1300. {
  1301. b.Property<string>("Ceoffcient")
  1302. .HasColumnType("nvarchar(450)");
  1303. b.Property<double>("Value")
  1304. .HasColumnType("float");
  1305. b.HasKey("Ceoffcient");
  1306. b.ToTable("CaseCeofficient");
  1307. b.HasData(
  1308. new
  1309. {
  1310. Ceoffcient = "S",
  1311. Value = 2.5
  1312. },
  1313. new
  1314. {
  1315. Ceoffcient = "A",
  1316. Value = 1.5
  1317. },
  1318. new
  1319. {
  1320. Ceoffcient = "B",
  1321. Value = 1.0
  1322. },
  1323. new
  1324. {
  1325. Ceoffcient = "C",
  1326. Value = 0.69999999999999996
  1327. },
  1328. new
  1329. {
  1330. Ceoffcient = "D",
  1331. Value = 0.40000000000000002
  1332. });
  1333. });
  1334. modelBuilder.Entity("wispro.sp.entity.Customer", b =>
  1335. {
  1336. b.Property<int>("Id")
  1337. .ValueGeneratedOnAdd()
  1338. .HasColumnType("int")
  1339. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1340. b.Property<string>("Address")
  1341. .HasMaxLength(500)
  1342. .HasColumnType("nvarchar(500)");
  1343. b.Property<string>("ContactMan")
  1344. .HasMaxLength(50)
  1345. .HasColumnType("nvarchar(50)");
  1346. b.Property<string>("Name")
  1347. .IsRequired()
  1348. .HasMaxLength(200)
  1349. .HasColumnType("nvarchar(200)");
  1350. b.Property<string>("Phone")
  1351. .HasMaxLength(50)
  1352. .HasColumnType("nvarchar(50)");
  1353. b.Property<int?>("ResponseManId")
  1354. .HasColumnType("int");
  1355. b.HasKey("Id");
  1356. b.HasIndex("ResponseManId");
  1357. b.ToTable("Customer");
  1358. });
  1359. modelBuilder.Entity("wispro.sp.entity.Department", b =>
  1360. {
  1361. b.Property<int>("Id")
  1362. .ValueGeneratedOnAdd()
  1363. .HasColumnType("int")
  1364. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1365. b.Property<string>("Memo")
  1366. .HasColumnType("nvarchar(max)");
  1367. b.Property<string>("Name")
  1368. .HasColumnType("nvarchar(max)");
  1369. b.Property<string>("ancestors")
  1370. .HasColumnType("nvarchar(max)");
  1371. b.Property<int?>("order_num")
  1372. .HasColumnType("int");
  1373. b.Property<int?>("parentId")
  1374. .HasColumnType("int");
  1375. b.HasKey("Id");
  1376. b.ToTable("Department");
  1377. });
  1378. modelBuilder.Entity("wispro.sp.entity.DepartmentPosition", b =>
  1379. {
  1380. b.Property<int>("Id")
  1381. .ValueGeneratedOnAdd()
  1382. .HasColumnType("int")
  1383. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1384. b.Property<int>("PositionId")
  1385. .HasColumnType("int");
  1386. b.Property<int>("StaffId")
  1387. .HasColumnType("int");
  1388. b.Property<int>("departmentId")
  1389. .HasColumnType("int");
  1390. b.HasKey("Id");
  1391. b.HasIndex("PositionId");
  1392. b.HasIndex("StaffId");
  1393. b.HasIndex("departmentId");
  1394. b.ToTable("DepartmentPosition");
  1395. });
  1396. modelBuilder.Entity("wispro.sp.entity.InputField", b =>
  1397. {
  1398. b.Property<int>("Id")
  1399. .ValueGeneratedOnAdd()
  1400. .HasColumnType("int")
  1401. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1402. b.Property<int>("AppealState")
  1403. .HasColumnType("int");
  1404. b.Property<int>("AppealTypeId")
  1405. .HasColumnType("int");
  1406. b.Property<bool>("CanMuliSelect")
  1407. .HasColumnType("bit");
  1408. b.Property<string>("FieldName")
  1409. .HasMaxLength(50)
  1410. .HasColumnType("nvarchar(50)");
  1411. b.Property<string>("FieldType")
  1412. .HasMaxLength(50)
  1413. .HasColumnType("nvarchar(50)");
  1414. b.Property<string>("MapObjectField")
  1415. .HasMaxLength(50)
  1416. .HasColumnType("nvarchar(50)");
  1417. b.Property<string>("MapObjectFieldLabel")
  1418. .HasColumnType("nvarchar(max)");
  1419. b.Property<string>("MapSaveCondition")
  1420. .HasColumnType("nvarchar(max)");
  1421. b.Property<int?>("MaxSize")
  1422. .HasColumnType("int");
  1423. b.HasKey("Id");
  1424. b.HasIndex("AppealTypeId");
  1425. b.ToTable("InputField");
  1426. b.HasData(
  1427. new
  1428. {
  1429. Id = 1,
  1430. AppealState = 0,
  1431. AppealTypeId = 1,
  1432. CanMuliSelect = false,
  1433. FieldName = "分配比率",
  1434. FieldType = "System.Double",
  1435. MapObjectField = "ItemStaffs.PerformancePoint",
  1436. MapObjectFieldLabel = "ItemStaffs.DoPerson.Name"
  1437. },
  1438. new
  1439. {
  1440. Id = 3,
  1441. AppealState = 0,
  1442. AppealTypeId = 1,
  1443. CanMuliSelect = false,
  1444. FieldName = "原因",
  1445. FieldType = "System.String"
  1446. },
  1447. new
  1448. {
  1449. Id = 4,
  1450. AppealState = 1,
  1451. AppealTypeId = 1,
  1452. CanMuliSelect = false,
  1453. FieldName = "备注",
  1454. FieldType = "System.String"
  1455. },
  1456. new
  1457. {
  1458. Id = 5,
  1459. AppealState = 1,
  1460. AppealTypeId = 1,
  1461. CanMuliSelect = false,
  1462. FieldName = "审核意见",
  1463. FieldType = "System.String"
  1464. },
  1465. new
  1466. {
  1467. Id = 6,
  1468. AppealState = 0,
  1469. AppealTypeId = 2,
  1470. CanMuliSelect = false,
  1471. FieldName = "案件系数",
  1472. FieldType = "System.String",
  1473. MapObjectField = "CaseCoefficient"
  1474. },
  1475. new
  1476. {
  1477. Id = 9,
  1478. AppealState = 1,
  1479. AppealTypeId = 2,
  1480. CanMuliSelect = false,
  1481. FieldName = "备注",
  1482. FieldType = "System.String"
  1483. },
  1484. new
  1485. {
  1486. Id = 10,
  1487. AppealState = 1,
  1488. AppealTypeId = 2,
  1489. CanMuliSelect = false,
  1490. FieldName = "审核意见",
  1491. FieldType = "System.String"
  1492. },
  1493. new
  1494. {
  1495. Id = 11,
  1496. AppealState = 0,
  1497. AppealTypeId = 3,
  1498. CanMuliSelect = false,
  1499. FieldName = "处理事项系数",
  1500. FieldType = "System.String",
  1501. MapObjectField = "DoItemCoefficient"
  1502. },
  1503. new
  1504. {
  1505. Id = 12,
  1506. AppealState = 1,
  1507. AppealTypeId = 3,
  1508. CanMuliSelect = false,
  1509. FieldName = "备注",
  1510. FieldType = "System.String"
  1511. },
  1512. new
  1513. {
  1514. Id = 13,
  1515. AppealState = 1,
  1516. AppealTypeId = 3,
  1517. CanMuliSelect = false,
  1518. FieldName = "审核意见",
  1519. FieldType = "System.String"
  1520. },
  1521. new
  1522. {
  1523. Id = 14,
  1524. AppealState = 0,
  1525. AppealTypeId = 4,
  1526. CanMuliSelect = false,
  1527. FieldName = "我方文号",
  1528. FieldType = "System.String"
  1529. },
  1530. new
  1531. {
  1532. Id = 15,
  1533. AppealState = 0,
  1534. AppealTypeId = 4,
  1535. CanMuliSelect = false,
  1536. FieldName = "处理事项",
  1537. FieldType = "System.String"
  1538. },
  1539. new
  1540. {
  1541. Id = 16,
  1542. AppealState = 1,
  1543. AppealTypeId = 4,
  1544. CanMuliSelect = false,
  1545. FieldName = "备注",
  1546. FieldType = "System.String"
  1547. },
  1548. new
  1549. {
  1550. Id = 17,
  1551. AppealState = 1,
  1552. AppealTypeId = 4,
  1553. CanMuliSelect = false,
  1554. FieldName = "审核意见",
  1555. FieldType = "System.String"
  1556. },
  1557. new
  1558. {
  1559. Id = 18,
  1560. AppealState = 0,
  1561. AppealTypeId = 5,
  1562. CanMuliSelect = false,
  1563. FieldName = "超期说明",
  1564. FieldType = "System.String",
  1565. MapObjectField = "OverDueMemo"
  1566. },
  1567. new
  1568. {
  1569. Id = 21,
  1570. AppealState = 1,
  1571. AppealTypeId = 5,
  1572. CanMuliSelect = false,
  1573. FieldName = "审核意见",
  1574. FieldType = "System.String"
  1575. },
  1576. new
  1577. {
  1578. Id = 22,
  1579. AppealState = 1,
  1580. AppealTypeId = 5,
  1581. CanMuliSelect = false,
  1582. FieldName = "备注",
  1583. FieldType = "System.String"
  1584. },
  1585. new
  1586. {
  1587. Id = 19,
  1588. AppealState = 0,
  1589. AppealTypeId = 6,
  1590. CanMuliSelect = false,
  1591. FieldName = "翻译类型",
  1592. FieldType = "System.String",
  1593. MapObjectField = "AgentFeedbackMemo"
  1594. },
  1595. new
  1596. {
  1597. Id = 20,
  1598. AppealState = 0,
  1599. AppealTypeId = 6,
  1600. CanMuliSelect = false,
  1601. FieldName = "翻译字数",
  1602. FieldType = "System.Int32",
  1603. MapObjectField = "WordCount"
  1604. },
  1605. new
  1606. {
  1607. Id = 23,
  1608. AppealState = 1,
  1609. AppealTypeId = 6,
  1610. CanMuliSelect = false,
  1611. FieldName = "审核意见",
  1612. FieldType = "System.Int32"
  1613. },
  1614. new
  1615. {
  1616. Id = 24,
  1617. AppealState = 1,
  1618. AppealTypeId = 6,
  1619. CanMuliSelect = false,
  1620. FieldName = "翻译字数",
  1621. FieldType = "System.Int32",
  1622. MapObjectField = "WordCount"
  1623. });
  1624. });
  1625. modelBuilder.Entity("wispro.sp.entity.InputFieldValue", b =>
  1626. {
  1627. b.Property<int>("Id")
  1628. .ValueGeneratedOnAdd()
  1629. .HasColumnType("int")
  1630. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1631. b.Property<int>("AppealRecordId")
  1632. .HasColumnType("int");
  1633. b.Property<int>("InputFieldId")
  1634. .HasColumnType("int");
  1635. b.Property<string>("Label")
  1636. .HasColumnType("nvarchar(max)");
  1637. b.Property<string>("Value")
  1638. .HasMaxLength(500)
  1639. .HasColumnType("nvarchar(500)");
  1640. b.Property<string>("mapExpress")
  1641. .HasColumnType("nvarchar(max)");
  1642. b.HasKey("Id");
  1643. b.HasIndex("AppealRecordId");
  1644. b.HasIndex("InputFieldId");
  1645. b.ToTable("InputFieldValue");
  1646. });
  1647. modelBuilder.Entity("wispro.sp.entity.ItemStaff", b =>
  1648. {
  1649. b.Property<int>("ItemId")
  1650. .HasColumnType("int");
  1651. b.Property<int>("DoPersonId")
  1652. .HasColumnType("int");
  1653. b.Property<double?>("PerformancePoint")
  1654. .HasColumnType("float");
  1655. b.HasKey("ItemId", "DoPersonId");
  1656. b.HasIndex("DoPersonId");
  1657. b.ToTable("ItemStaff");
  1658. });
  1659. modelBuilder.Entity("wispro.sp.entity.Message", b =>
  1660. {
  1661. b.Property<Guid>("Id")
  1662. .ValueGeneratedOnAdd()
  1663. .HasColumnType("uniqueidentifier");
  1664. b.Property<int>("FromId")
  1665. .HasColumnType("int");
  1666. b.Property<string>("MessageInfo")
  1667. .HasMaxLength(500)
  1668. .HasColumnType("nvarchar(500)");
  1669. b.Property<int>("Type")
  1670. .HasColumnType("int");
  1671. b.HasKey("Id");
  1672. b.HasIndex("FromId");
  1673. b.ToTable("Message");
  1674. });
  1675. modelBuilder.Entity("wispro.sp.entity.MessagePerformanceItem", b =>
  1676. {
  1677. b.Property<int>("ItemId")
  1678. .HasColumnType("int");
  1679. b.Property<Guid>("MessageId")
  1680. .HasColumnType("uniqueidentifier");
  1681. b.HasKey("ItemId", "MessageId");
  1682. b.HasIndex("MessageId");
  1683. b.ToTable("MessagePerformanceItems");
  1684. });
  1685. modelBuilder.Entity("wispro.sp.entity.MessageReadRecord", b =>
  1686. {
  1687. b.Property<Guid>("MessageId")
  1688. .HasColumnType("uniqueidentifier");
  1689. b.Property<int>("StaffId")
  1690. .HasColumnType("int");
  1691. b.Property<Guid?>("MessageId1")
  1692. .HasColumnType("uniqueidentifier");
  1693. b.Property<bool>("isReaded")
  1694. .HasColumnType("bit");
  1695. b.HasKey("MessageId", "StaffId");
  1696. b.HasIndex("MessageId1");
  1697. b.HasIndex("StaffId");
  1698. b.ToTable("MessageReadRecord");
  1699. });
  1700. modelBuilder.Entity("wispro.sp.entity.PerformanceItem", b =>
  1701. {
  1702. b.Property<int>("Id")
  1703. .ValueGeneratedOnAdd()
  1704. .HasColumnType("int")
  1705. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1706. b.Property<string>("AgentFeedbackMemo")
  1707. .HasColumnType("nvarchar(max)");
  1708. b.Property<string>("ApplicationName")
  1709. .HasMaxLength(200)
  1710. .HasColumnType("nvarchar(200)");
  1711. b.Property<string>("ApplicationType")
  1712. .HasMaxLength(50)
  1713. .HasColumnType("nvarchar(50)");
  1714. b.Property<decimal?>("BasePoint")
  1715. .HasColumnType("numeric(18,2)");
  1716. b.Property<string>("BusinessType")
  1717. .HasMaxLength(50)
  1718. .HasColumnType("nvarchar(50)");
  1719. b.Property<int>("CalMonthId")
  1720. .HasColumnType("int");
  1721. b.Property<string>("CaseCoefficient")
  1722. .HasMaxLength(10)
  1723. .HasColumnType("nvarchar(10)");
  1724. b.Property<string>("CaseMemo")
  1725. .HasColumnType("nvarchar(max)");
  1726. b.Property<string>("CaseName")
  1727. .HasMaxLength(500)
  1728. .HasColumnType("nvarchar(500)");
  1729. b.Property<string>("CaseNo")
  1730. .HasMaxLength(50)
  1731. .HasColumnType("nvarchar(50)");
  1732. b.Property<string>("CaseStage")
  1733. .HasMaxLength(50)
  1734. .HasColumnType("nvarchar(50)");
  1735. b.Property<string>("CaseState")
  1736. .HasMaxLength(50)
  1737. .HasColumnType("nvarchar(50)");
  1738. b.Property<string>("CaseType")
  1739. .HasMaxLength(50)
  1740. .HasColumnType("nvarchar(50)");
  1741. b.Property<int?>("CustomerId")
  1742. .HasColumnType("int");
  1743. b.Property<DateTime?>("CustomerLimitDate")
  1744. .HasColumnType("date");
  1745. b.Property<string>("DoItem")
  1746. .HasMaxLength(50)
  1747. .HasColumnType("nvarchar(50)");
  1748. b.Property<string>("DoItemCoefficient")
  1749. .HasMaxLength(50)
  1750. .HasColumnType("nvarchar(50)");
  1751. b.Property<string>("DoItemMemo")
  1752. .HasColumnType("nvarchar(max)");
  1753. b.Property<string>("DoItemState")
  1754. .HasMaxLength(50)
  1755. .HasColumnType("nvarchar(50)");
  1756. b.Property<DateTime?>("EntrustingDate")
  1757. .HasColumnType("date");
  1758. b.Property<DateTime?>("FinalizationDate")
  1759. .HasColumnType("date");
  1760. b.Property<DateTime?>("FinishedDate")
  1761. .HasColumnType("date");
  1762. b.Property<DateTime?>("FirstDraftDate")
  1763. .HasColumnType("date");
  1764. b.Property<DateTime?>("InternalDate")
  1765. .HasColumnType("date");
  1766. b.Property<string>("OverDueMemo")
  1767. .HasMaxLength(100)
  1768. .HasColumnType("nvarchar(100)");
  1769. b.Property<int?>("PreOastaffId")
  1770. .HasColumnType("int")
  1771. .HasColumnName("PreOAStaffId");
  1772. b.Property<string>("ReturnCasseNo")
  1773. .HasColumnType("nvarchar(max)");
  1774. b.Property<DateTime?>("ReturnDate")
  1775. .HasColumnType("date");
  1776. b.Property<int?>("ReviewerId")
  1777. .HasColumnType("int");
  1778. b.Property<int?>("Status")
  1779. .HasColumnType("int");
  1780. b.Property<string>("Type")
  1781. .HasColumnType("nvarchar(max)");
  1782. b.Property<int?>("WordCount")
  1783. .HasColumnType("int");
  1784. b.HasKey("Id");
  1785. b.HasIndex("CalMonthId");
  1786. b.HasIndex("CustomerId");
  1787. b.HasIndex("PreOastaffId");
  1788. b.HasIndex("ReviewerId");
  1789. b.ToTable("PerformanceItem");
  1790. });
  1791. modelBuilder.Entity("wispro.sp.entity.Position", b =>
  1792. {
  1793. b.Property<int>("Id")
  1794. .ValueGeneratedOnAdd()
  1795. .HasColumnType("int")
  1796. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1797. b.Property<string>("Memo")
  1798. .HasColumnType("nvarchar(max)");
  1799. b.Property<string>("Name")
  1800. .HasColumnType("nvarchar(max)");
  1801. b.HasKey("Id");
  1802. b.ToTable("Position");
  1803. });
  1804. modelBuilder.Entity("wispro.sp.entity.SelectValue", b =>
  1805. {
  1806. b.Property<int>("Id")
  1807. .ValueGeneratedOnAdd()
  1808. .HasColumnType("int")
  1809. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1810. b.Property<int>("InputFieldId")
  1811. .HasColumnType("int");
  1812. b.Property<string>("Value")
  1813. .HasColumnType("nvarchar(max)");
  1814. b.HasKey("Id");
  1815. b.HasIndex("InputFieldId");
  1816. b.ToTable("SelectValue");
  1817. b.HasData(
  1818. new
  1819. {
  1820. Id = 1,
  1821. InputFieldId = 5,
  1822. Value = "同意"
  1823. },
  1824. new
  1825. {
  1826. Id = 2,
  1827. InputFieldId = 5,
  1828. Value = "拒绝"
  1829. },
  1830. new
  1831. {
  1832. Id = 3,
  1833. InputFieldId = 10,
  1834. Value = "同意"
  1835. },
  1836. new
  1837. {
  1838. Id = 4,
  1839. InputFieldId = 10,
  1840. Value = "拒绝"
  1841. },
  1842. new
  1843. {
  1844. Id = 5,
  1845. InputFieldId = 13,
  1846. Value = "同意"
  1847. },
  1848. new
  1849. {
  1850. Id = 6,
  1851. InputFieldId = 13,
  1852. Value = "拒绝"
  1853. },
  1854. new
  1855. {
  1856. Id = 7,
  1857. InputFieldId = 17,
  1858. Value = "同意"
  1859. },
  1860. new
  1861. {
  1862. Id = 8,
  1863. InputFieldId = 17,
  1864. Value = "拒绝"
  1865. },
  1866. new
  1867. {
  1868. Id = 9,
  1869. InputFieldId = 6,
  1870. Value = "S"
  1871. },
  1872. new
  1873. {
  1874. Id = 10,
  1875. InputFieldId = 6,
  1876. Value = "A"
  1877. },
  1878. new
  1879. {
  1880. Id = 11,
  1881. InputFieldId = 6,
  1882. Value = "B"
  1883. },
  1884. new
  1885. {
  1886. Id = 12,
  1887. InputFieldId = 6,
  1888. Value = "C"
  1889. },
  1890. new
  1891. {
  1892. Id = 13,
  1893. InputFieldId = 6,
  1894. Value = "D"
  1895. },
  1896. new
  1897. {
  1898. Id = 14,
  1899. InputFieldId = 11,
  1900. Value = "实质"
  1901. },
  1902. new
  1903. {
  1904. Id = 15,
  1905. InputFieldId = 11,
  1906. Value = "形式"
  1907. },
  1908. new
  1909. {
  1910. Id = 16,
  1911. InputFieldId = 19,
  1912. Value = "中-德"
  1913. },
  1914. new
  1915. {
  1916. Id = 17,
  1917. InputFieldId = 19,
  1918. Value = "中-英"
  1919. },
  1920. new
  1921. {
  1922. Id = 18,
  1923. InputFieldId = 19,
  1924. Value = "英-中"
  1925. },
  1926. new
  1927. {
  1928. Id = 19,
  1929. InputFieldId = 22,
  1930. Value = "同意"
  1931. },
  1932. new
  1933. {
  1934. Id = 20,
  1935. InputFieldId = 22,
  1936. Value = "拒绝"
  1937. });
  1938. });
  1939. modelBuilder.Entity("wispro.sp.entity.Staff", b =>
  1940. {
  1941. b.Property<int>("Id")
  1942. .ValueGeneratedOnAdd()
  1943. .HasColumnType("int")
  1944. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1945. b.Property<string>("Account")
  1946. .IsRequired()
  1947. .HasMaxLength(50)
  1948. .HasColumnType("nvarchar(50)");
  1949. b.Property<string>("Department")
  1950. .HasMaxLength(50)
  1951. .HasColumnType("nvarchar(50)");
  1952. b.Property<DateTime?>("EntyDate")
  1953. .HasColumnType("date");
  1954. b.Property<bool>("IsCalPerformsnce")
  1955. .HasColumnType("bit")
  1956. .HasColumnName("isCalPerformsnce");
  1957. b.Property<bool>("IsOnJob")
  1958. .HasColumnType("bit");
  1959. b.Property<string>("Mail")
  1960. .HasColumnType("nvarchar(max)");
  1961. b.Property<string>("Memo")
  1962. .HasColumnType("nvarchar(max)");
  1963. b.Property<string>("Mobile")
  1964. .HasColumnType("nvarchar(max)");
  1965. b.Property<string>("Name")
  1966. .IsRequired()
  1967. .HasMaxLength(50)
  1968. .HasColumnType("nvarchar(50)");
  1969. b.Property<string>("Password")
  1970. .IsRequired()
  1971. .HasColumnType("nvarchar(max)");
  1972. b.Property<string>("Sex")
  1973. .HasColumnType("nvarchar(max)");
  1974. b.Property<int?>("StaffGradeId")
  1975. .HasColumnType("int");
  1976. b.Property<string>("Status")
  1977. .IsRequired()
  1978. .HasMaxLength(25)
  1979. .HasColumnType("nvarchar(25)");
  1980. b.Property<string>("Tel")
  1981. .HasColumnType("nvarchar(max)");
  1982. b.Property<string>("WorkPlace")
  1983. .HasMaxLength(50)
  1984. .HasColumnType("nvarchar(50)");
  1985. b.HasKey("Id");
  1986. b.HasIndex("StaffGradeId");
  1987. b.ToTable("Staff");
  1988. });
  1989. modelBuilder.Entity("wispro.sp.entity.StaffGrade", b =>
  1990. {
  1991. b.Property<int>("Id")
  1992. .ValueGeneratedOnAdd()
  1993. .HasColumnType("int")
  1994. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1995. b.Property<double>("Coefficient")
  1996. .HasColumnType("float");
  1997. b.Property<string>("Grade")
  1998. .IsRequired()
  1999. .HasMaxLength(5)
  2000. .HasColumnType("nchar(5)")
  2001. .IsFixedLength(true);
  2002. b.HasKey("Id");
  2003. b.ToTable("StaffGrade");
  2004. b.HasData(
  2005. new
  2006. {
  2007. Id = 1,
  2008. Coefficient = 1.2,
  2009. Grade = "S级"
  2010. },
  2011. new
  2012. {
  2013. Id = 2,
  2014. Coefficient = 1.1000000000000001,
  2015. Grade = "A3级"
  2016. },
  2017. new
  2018. {
  2019. Id = 3,
  2020. Coefficient = 1.1000000000000001,
  2021. Grade = "A2级"
  2022. },
  2023. new
  2024. {
  2025. Id = 4,
  2026. Coefficient = 1.1000000000000001,
  2027. Grade = "A1级"
  2028. },
  2029. new
  2030. {
  2031. Id = 5,
  2032. Coefficient = 1.0,
  2033. Grade = "B3级"
  2034. },
  2035. new
  2036. {
  2037. Id = 6,
  2038. Coefficient = 1.0,
  2039. Grade = "B2级"
  2040. },
  2041. new
  2042. {
  2043. Id = 7,
  2044. Coefficient = 0.90000000000000002,
  2045. Grade = "B1级"
  2046. },
  2047. new
  2048. {
  2049. Id = 8,
  2050. Coefficient = 0.90000000000000002,
  2051. Grade = "C3级"
  2052. },
  2053. new
  2054. {
  2055. Id = 9,
  2056. Coefficient = 0.69999999999999996,
  2057. Grade = "C2级"
  2058. },
  2059. new
  2060. {
  2061. Id = 10,
  2062. Coefficient = 0.69999999999999996,
  2063. Grade = "C1级"
  2064. },
  2065. new
  2066. {
  2067. Id = 11,
  2068. Coefficient = 0.59999999999999998,
  2069. Grade = "D3级"
  2070. },
  2071. new
  2072. {
  2073. Id = 12,
  2074. Coefficient = 0.59999999999999998,
  2075. Grade = "D2级"
  2076. },
  2077. new
  2078. {
  2079. Id = 13,
  2080. Coefficient = 0.5,
  2081. Grade = "D1级"
  2082. },
  2083. new
  2084. {
  2085. Id = 14,
  2086. Coefficient = 1.1000000000000001,
  2087. Grade = "A级"
  2088. },
  2089. new
  2090. {
  2091. Id = 15,
  2092. Coefficient = 1.0,
  2093. Grade = "C级"
  2094. },
  2095. new
  2096. {
  2097. Id = 16,
  2098. Coefficient = 0.90000000000000002,
  2099. Grade = "D级"
  2100. });
  2101. });
  2102. modelBuilder.Entity("wispro.sp.entity.StaffStatistics", b =>
  2103. {
  2104. b.Property<int>("Id")
  2105. .ValueGeneratedOnAdd()
  2106. .HasColumnType("int")
  2107. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2108. b.Property<int>("CalMonthId")
  2109. .HasColumnType("int");
  2110. b.Property<int>("StaffId")
  2111. .HasColumnType("int");
  2112. b.Property<string>("jxType")
  2113. .HasColumnType("nvarchar(max)");
  2114. b.Property<double?>("totalActuallyPoint")
  2115. .HasColumnType("float");
  2116. b.Property<double?>("totalBasePoint")
  2117. .HasColumnType("float");
  2118. b.HasKey("Id");
  2119. b.HasIndex("CalMonthId");
  2120. b.HasIndex("StaffId");
  2121. b.ToTable("StaffStatistics");
  2122. });
  2123. modelBuilder.Entity("wispro.sp.entity.VerifyCoefficient", b =>
  2124. {
  2125. b.Property<int>("CheckerId")
  2126. .HasColumnType("int");
  2127. b.Property<int>("DoPersonId")
  2128. .HasColumnType("int");
  2129. b.Property<double>("Coefficient")
  2130. .HasColumnType("float");
  2131. b.HasKey("CheckerId", "DoPersonId");
  2132. b.HasIndex("DoPersonId");
  2133. b.ToTable("VerifyCoefficient");
  2134. b.HasData(
  2135. new
  2136. {
  2137. CheckerId = 1,
  2138. DoPersonId = 5,
  2139. Coefficient = 0.29999999999999999
  2140. },
  2141. new
  2142. {
  2143. CheckerId = 1,
  2144. DoPersonId = 6,
  2145. Coefficient = 0.29999999999999999
  2146. },
  2147. new
  2148. {
  2149. CheckerId = 1,
  2150. DoPersonId = 7,
  2151. Coefficient = 0.29999999999999999
  2152. },
  2153. new
  2154. {
  2155. CheckerId = 1,
  2156. DoPersonId = 8,
  2157. Coefficient = 0.29999999999999999
  2158. },
  2159. new
  2160. {
  2161. CheckerId = 1,
  2162. DoPersonId = 9,
  2163. Coefficient = 0.40000000000000002
  2164. },
  2165. new
  2166. {
  2167. CheckerId = 1,
  2168. DoPersonId = 10,
  2169. Coefficient = 0.40000000000000002
  2170. },
  2171. new
  2172. {
  2173. CheckerId = 1,
  2174. DoPersonId = 11,
  2175. Coefficient = 0.5
  2176. },
  2177. new
  2178. {
  2179. CheckerId = 1,
  2180. DoPersonId = 12,
  2181. Coefficient = 0.5
  2182. },
  2183. new
  2184. {
  2185. CheckerId = 1,
  2186. DoPersonId = 13,
  2187. Coefficient = 0.59999999999999998
  2188. },
  2189. new
  2190. {
  2191. CheckerId = 2,
  2192. DoPersonId = 5,
  2193. Coefficient = 0.20000000000000001
  2194. },
  2195. new
  2196. {
  2197. CheckerId = 2,
  2198. DoPersonId = 6,
  2199. Coefficient = 0.20000000000000001
  2200. },
  2201. new
  2202. {
  2203. CheckerId = 2,
  2204. DoPersonId = 7,
  2205. Coefficient = 0.20000000000000001
  2206. },
  2207. new
  2208. {
  2209. CheckerId = 2,
  2210. DoPersonId = 8,
  2211. Coefficient = 0.20000000000000001
  2212. },
  2213. new
  2214. {
  2215. CheckerId = 2,
  2216. DoPersonId = 9,
  2217. Coefficient = 0.29999999999999999
  2218. },
  2219. new
  2220. {
  2221. CheckerId = 2,
  2222. DoPersonId = 10,
  2223. Coefficient = 0.29999999999999999
  2224. },
  2225. new
  2226. {
  2227. CheckerId = 2,
  2228. DoPersonId = 11,
  2229. Coefficient = 0.40000000000000002
  2230. },
  2231. new
  2232. {
  2233. CheckerId = 2,
  2234. DoPersonId = 12,
  2235. Coefficient = 0.40000000000000002
  2236. },
  2237. new
  2238. {
  2239. CheckerId = 2,
  2240. DoPersonId = 13,
  2241. Coefficient = 0.5
  2242. },
  2243. new
  2244. {
  2245. CheckerId = 3,
  2246. DoPersonId = 5,
  2247. Coefficient = 0.20000000000000001
  2248. },
  2249. new
  2250. {
  2251. CheckerId = 3,
  2252. DoPersonId = 6,
  2253. Coefficient = 0.20000000000000001
  2254. },
  2255. new
  2256. {
  2257. CheckerId = 3,
  2258. DoPersonId = 7,
  2259. Coefficient = 0.20000000000000001
  2260. },
  2261. new
  2262. {
  2263. CheckerId = 3,
  2264. DoPersonId = 8,
  2265. Coefficient = 0.20000000000000001
  2266. },
  2267. new
  2268. {
  2269. CheckerId = 3,
  2270. DoPersonId = 9,
  2271. Coefficient = 0.29999999999999999
  2272. },
  2273. new
  2274. {
  2275. CheckerId = 3,
  2276. DoPersonId = 10,
  2277. Coefficient = 0.29999999999999999
  2278. },
  2279. new
  2280. {
  2281. CheckerId = 3,
  2282. DoPersonId = 11,
  2283. Coefficient = 0.40000000000000002
  2284. },
  2285. new
  2286. {
  2287. CheckerId = 3,
  2288. DoPersonId = 12,
  2289. Coefficient = 0.40000000000000002
  2290. },
  2291. new
  2292. {
  2293. CheckerId = 3,
  2294. DoPersonId = 13,
  2295. Coefficient = 0.5
  2296. },
  2297. new
  2298. {
  2299. CheckerId = 4,
  2300. DoPersonId = 5,
  2301. Coefficient = 0.20000000000000001
  2302. },
  2303. new
  2304. {
  2305. CheckerId = 4,
  2306. DoPersonId = 6,
  2307. Coefficient = 0.20000000000000001
  2308. },
  2309. new
  2310. {
  2311. CheckerId = 4,
  2312. DoPersonId = 7,
  2313. Coefficient = 0.20000000000000001
  2314. },
  2315. new
  2316. {
  2317. CheckerId = 4,
  2318. DoPersonId = 8,
  2319. Coefficient = 0.20000000000000001
  2320. },
  2321. new
  2322. {
  2323. CheckerId = 4,
  2324. DoPersonId = 9,
  2325. Coefficient = 0.29999999999999999
  2326. },
  2327. new
  2328. {
  2329. CheckerId = 4,
  2330. DoPersonId = 10,
  2331. Coefficient = 0.29999999999999999
  2332. },
  2333. new
  2334. {
  2335. CheckerId = 4,
  2336. DoPersonId = 11,
  2337. Coefficient = 0.40000000000000002
  2338. },
  2339. new
  2340. {
  2341. CheckerId = 4,
  2342. DoPersonId = 12,
  2343. Coefficient = 0.40000000000000002
  2344. },
  2345. new
  2346. {
  2347. CheckerId = 4,
  2348. DoPersonId = 13,
  2349. Coefficient = 0.5
  2350. },
  2351. new
  2352. {
  2353. CheckerId = 5,
  2354. DoPersonId = 5,
  2355. Coefficient = 0.20000000000000001
  2356. },
  2357. new
  2358. {
  2359. CheckerId = 5,
  2360. DoPersonId = 6,
  2361. Coefficient = 0.20000000000000001
  2362. },
  2363. new
  2364. {
  2365. CheckerId = 5,
  2366. DoPersonId = 7,
  2367. Coefficient = 0.20000000000000001
  2368. },
  2369. new
  2370. {
  2371. CheckerId = 5,
  2372. DoPersonId = 8,
  2373. Coefficient = 0.20000000000000001
  2374. },
  2375. new
  2376. {
  2377. CheckerId = 5,
  2378. DoPersonId = 9,
  2379. Coefficient = 0.29999999999999999
  2380. },
  2381. new
  2382. {
  2383. CheckerId = 5,
  2384. DoPersonId = 10,
  2385. Coefficient = 0.29999999999999999
  2386. },
  2387. new
  2388. {
  2389. CheckerId = 5,
  2390. DoPersonId = 11,
  2391. Coefficient = 0.40000000000000002
  2392. },
  2393. new
  2394. {
  2395. CheckerId = 5,
  2396. DoPersonId = 12,
  2397. Coefficient = 0.40000000000000002
  2398. },
  2399. new
  2400. {
  2401. CheckerId = 5,
  2402. DoPersonId = 13,
  2403. Coefficient = 0.5
  2404. },
  2405. new
  2406. {
  2407. CheckerId = 6,
  2408. DoPersonId = 5,
  2409. Coefficient = 0.20000000000000001
  2410. },
  2411. new
  2412. {
  2413. CheckerId = 6,
  2414. DoPersonId = 6,
  2415. Coefficient = 0.20000000000000001
  2416. },
  2417. new
  2418. {
  2419. CheckerId = 6,
  2420. DoPersonId = 7,
  2421. Coefficient = 0.20000000000000001
  2422. },
  2423. new
  2424. {
  2425. CheckerId = 6,
  2426. DoPersonId = 8,
  2427. Coefficient = 0.20000000000000001
  2428. },
  2429. new
  2430. {
  2431. CheckerId = 6,
  2432. DoPersonId = 9,
  2433. Coefficient = 0.29999999999999999
  2434. },
  2435. new
  2436. {
  2437. CheckerId = 6,
  2438. DoPersonId = 10,
  2439. Coefficient = 0.29999999999999999
  2440. },
  2441. new
  2442. {
  2443. CheckerId = 6,
  2444. DoPersonId = 11,
  2445. Coefficient = 0.40000000000000002
  2446. },
  2447. new
  2448. {
  2449. CheckerId = 6,
  2450. DoPersonId = 12,
  2451. Coefficient = 0.40000000000000002
  2452. },
  2453. new
  2454. {
  2455. CheckerId = 6,
  2456. DoPersonId = 13,
  2457. Coefficient = 0.5
  2458. });
  2459. });
  2460. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Action", b =>
  2461. {
  2462. b.Property<int>("Id")
  2463. .ValueGeneratedOnAdd()
  2464. .HasColumnType("int")
  2465. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2466. b.Property<string>("InputForm")
  2467. .HasColumnType("nvarchar(max)");
  2468. b.Property<string>("Name")
  2469. .HasColumnType("nvarchar(max)");
  2470. b.Property<string>("OnActionObjectType")
  2471. .HasColumnType("nvarchar(max)");
  2472. b.Property<int>("StepId")
  2473. .HasColumnType("int");
  2474. b.HasKey("Id");
  2475. b.HasIndex("StepId");
  2476. b.ToTable("Action");
  2477. });
  2478. modelBuilder.Entity("wispro.sp.entity.workflowDefine.InputValueSetting", b =>
  2479. {
  2480. b.Property<int>("Id")
  2481. .ValueGeneratedOnAdd()
  2482. .HasColumnType("int")
  2483. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2484. b.Property<string>("DisplayName")
  2485. .HasColumnType("nvarchar(max)");
  2486. b.Property<string>("Options")
  2487. .HasColumnType("nvarchar(max)");
  2488. b.Property<int?>("ParentSettingId")
  2489. .HasColumnType("int");
  2490. b.Property<int>("actionId")
  2491. .HasColumnType("int");
  2492. b.Property<string>("bindField")
  2493. .HasColumnType("nvarchar(max)");
  2494. b.Property<string>("bindFieldSavetoObjectCondition")
  2495. .HasColumnType("nvarchar(max)");
  2496. b.Property<int>("valueType")
  2497. .HasColumnType("int");
  2498. b.HasKey("Id");
  2499. b.HasIndex("ParentSettingId");
  2500. b.HasIndex("actionId");
  2501. b.ToTable("InputValueSetting");
  2502. });
  2503. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Step", b =>
  2504. {
  2505. b.Property<int>("Id")
  2506. .ValueGeneratedOnAdd()
  2507. .HasColumnType("int")
  2508. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2509. b.Property<string>("Name")
  2510. .HasColumnType("nvarchar(max)");
  2511. b.Property<string>("defaultResponseSetting")
  2512. .HasColumnType("nvarchar(max)");
  2513. b.Property<int>("stepType")
  2514. .HasColumnType("int");
  2515. b.Property<int>("workflowId")
  2516. .HasColumnType("int");
  2517. b.HasKey("Id");
  2518. b.HasIndex("workflowId");
  2519. b.ToTable("Step");
  2520. });
  2521. modelBuilder.Entity("wispro.sp.entity.workflowDefine.TrasferCondition", b =>
  2522. {
  2523. b.Property<int>("Id")
  2524. .ValueGeneratedOnAdd()
  2525. .HasColumnType("int")
  2526. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2527. b.Property<string>("Condition")
  2528. .HasColumnType("nvarchar(max)");
  2529. b.Property<int>("StepId")
  2530. .HasColumnType("int");
  2531. b.Property<int>("nextStepId")
  2532. .HasColumnType("int");
  2533. b.HasKey("Id");
  2534. b.HasIndex("StepId");
  2535. b.HasIndex("nextStepId");
  2536. b.ToTable("TrasferCondition");
  2537. });
  2538. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Workflow", b =>
  2539. {
  2540. b.Property<int>("Id")
  2541. .ValueGeneratedOnAdd()
  2542. .HasColumnType("int")
  2543. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2544. b.Property<string>("ContentObjectType")
  2545. .HasColumnType("nvarchar(max)");
  2546. b.Property<DateTime>("CreateTime")
  2547. .HasColumnType("datetime2");
  2548. b.Property<int>("CreateUserId")
  2549. .HasColumnType("int");
  2550. b.Property<DateTime>("EffectivrDate")
  2551. .HasColumnType("datetime2");
  2552. b.Property<int>("EndStepId")
  2553. .HasColumnType("int");
  2554. b.Property<DateTime>("ExpirationDate")
  2555. .HasColumnType("datetime2");
  2556. b.Property<int>("InitActionId")
  2557. .HasColumnType("int");
  2558. b.Property<string>("Memo")
  2559. .HasColumnType("nvarchar(max)");
  2560. b.Property<string>("Name")
  2561. .HasColumnType("nvarchar(max)");
  2562. b.HasKey("Id");
  2563. b.HasIndex("CreateUserId");
  2564. b.HasIndex("InitActionId");
  2565. b.ToTable("Workflow");
  2566. });
  2567. modelBuilder.Entity("wispro.sp.entity.workflowInstance.InputValue", b =>
  2568. {
  2569. b.Property<int>("Id")
  2570. .ValueGeneratedOnAdd()
  2571. .HasColumnType("int")
  2572. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2573. b.Property<string>("value")
  2574. .HasColumnType("nvarchar(max)");
  2575. b.Property<int>("valueSettingId")
  2576. .HasColumnType("int");
  2577. b.Property<int>("workflowInstanceId")
  2578. .HasColumnType("int");
  2579. b.HasKey("Id");
  2580. b.HasIndex("valueSettingId");
  2581. b.HasIndex("workflowInstanceId");
  2582. b.ToTable("InputValue");
  2583. });
  2584. modelBuilder.Entity("wispro.sp.entity.workflowInstance.StepInstance", b =>
  2585. {
  2586. b.Property<int>("Id")
  2587. .ValueGeneratedOnAdd()
  2588. .HasColumnType("int")
  2589. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2590. b.Property<int?>("PreviousStepId")
  2591. .HasColumnType("int");
  2592. b.Property<int>("stepId")
  2593. .HasColumnType("int");
  2594. b.Property<int>("workflowInstanceId")
  2595. .HasColumnType("int");
  2596. b.HasKey("Id");
  2597. b.HasIndex("stepId");
  2598. b.HasIndex("workflowInstanceId");
  2599. b.ToTable("StepInstance");
  2600. });
  2601. modelBuilder.Entity("wispro.sp.entity.workflowInstance.WorkflowInstance", b =>
  2602. {
  2603. b.Property<int>("Id")
  2604. .ValueGeneratedOnAdd()
  2605. .HasColumnType("int")
  2606. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  2607. b.Property<int>("ObjectId")
  2608. .HasColumnType("int");
  2609. b.Property<int>("workflowId")
  2610. .HasColumnType("int");
  2611. b.HasKey("Id");
  2612. b.HasIndex("workflowId");
  2613. b.ToTable("WorkflowInstance");
  2614. });
  2615. modelBuilder.Entity("wispro.sp.entity.AppealRecord", b =>
  2616. {
  2617. b.HasOne("wispro.sp.entity.Staff", "Creater")
  2618. .WithMany()
  2619. .HasForeignKey("CreaterId")
  2620. .OnDelete(DeleteBehavior.Cascade)
  2621. .IsRequired();
  2622. b.HasOne("wispro.sp.entity.PerformanceItem", "Item")
  2623. .WithMany()
  2624. .HasForeignKey("ItemId")
  2625. .OnDelete(DeleteBehavior.Cascade)
  2626. .IsRequired();
  2627. b.HasOne("wispro.sp.entity.Staff", "Reviewer")
  2628. .WithMany()
  2629. .HasForeignKey("ReviewerId")
  2630. .OnDelete(DeleteBehavior.NoAction);
  2631. b.HasOne("wispro.sp.entity.AppealType", "Type")
  2632. .WithMany()
  2633. .HasForeignKey("TypeId")
  2634. .OnDelete(DeleteBehavior.NoAction)
  2635. .IsRequired();
  2636. b.Navigation("Creater");
  2637. b.Navigation("Item");
  2638. b.Navigation("Reviewer");
  2639. b.Navigation("Type");
  2640. });
  2641. modelBuilder.Entity("wispro.sp.entity.AttachFile", b =>
  2642. {
  2643. b.HasOne("wispro.sp.entity.AppealRecord", "AppealRecord")
  2644. .WithMany("AttachFiles")
  2645. .HasForeignKey("AppealRecordId")
  2646. .HasConstraintName("FK_AttachFile_AppealRecord");
  2647. b.HasOne("wispro.sp.entity.Staff", "UploadUser")
  2648. .WithMany()
  2649. .HasForeignKey("UploadUserId")
  2650. .HasConstraintName("FK_AttachFile_UpdateUser")
  2651. .OnDelete(DeleteBehavior.NoAction);
  2652. b.Navigation("AppealRecord");
  2653. b.Navigation("UploadUser");
  2654. });
  2655. modelBuilder.Entity("wispro.sp.entity.Customer", b =>
  2656. {
  2657. b.HasOne("wispro.sp.entity.Staff", "ResponseMan")
  2658. .WithMany("Customers")
  2659. .HasForeignKey("ResponseManId")
  2660. .HasConstraintName("FK_Customer_Staff");
  2661. b.Navigation("ResponseMan");
  2662. });
  2663. modelBuilder.Entity("wispro.sp.entity.DepartmentPosition", b =>
  2664. {
  2665. b.HasOne("wispro.sp.entity.Position", "Position")
  2666. .WithMany()
  2667. .HasForeignKey("PositionId")
  2668. .OnDelete(DeleteBehavior.Cascade)
  2669. .IsRequired();
  2670. b.HasOne("wispro.sp.entity.Staff", "Staff")
  2671. .WithMany("Positions")
  2672. .HasForeignKey("StaffId")
  2673. .OnDelete(DeleteBehavior.Cascade)
  2674. .IsRequired();
  2675. b.HasOne("wispro.sp.entity.Department", "department")
  2676. .WithMany()
  2677. .HasForeignKey("departmentId")
  2678. .OnDelete(DeleteBehavior.Cascade)
  2679. .IsRequired();
  2680. b.Navigation("department");
  2681. b.Navigation("Position");
  2682. b.Navigation("Staff");
  2683. });
  2684. modelBuilder.Entity("wispro.sp.entity.InputField", b =>
  2685. {
  2686. b.HasOne("wispro.sp.entity.AppealType", "AppealType")
  2687. .WithMany()
  2688. .HasForeignKey("AppealTypeId")
  2689. .OnDelete(DeleteBehavior.Cascade)
  2690. .IsRequired();
  2691. b.Navigation("AppealType");
  2692. });
  2693. modelBuilder.Entity("wispro.sp.entity.InputFieldValue", b =>
  2694. {
  2695. b.HasOne("wispro.sp.entity.AppealRecord", "AppealRecord")
  2696. .WithMany()
  2697. .HasForeignKey("AppealRecordId")
  2698. .OnDelete(DeleteBehavior.Cascade)
  2699. .IsRequired();
  2700. b.HasOne("wispro.sp.entity.InputField", "InputField")
  2701. .WithMany()
  2702. .HasForeignKey("InputFieldId")
  2703. .OnDelete(DeleteBehavior.Cascade)
  2704. .IsRequired();
  2705. b.Navigation("AppealRecord");
  2706. b.Navigation("InputField");
  2707. });
  2708. modelBuilder.Entity("wispro.sp.entity.ItemStaff", b =>
  2709. {
  2710. b.HasOne("wispro.sp.entity.Staff", "DoPerson")
  2711. .WithMany("ItemStaffs")
  2712. .HasForeignKey("DoPersonId")
  2713. .HasConstraintName("FK_ItemStaff_Staff")
  2714. .IsRequired();
  2715. b.HasOne("wispro.sp.entity.PerformanceItem", "Item")
  2716. .WithMany("ItemStaffs")
  2717. .HasForeignKey("ItemId")
  2718. .HasConstraintName("FK_ItemStaff_PerformanceItem")
  2719. .IsRequired();
  2720. b.Navigation("DoPerson");
  2721. b.Navigation("Item");
  2722. });
  2723. modelBuilder.Entity("wispro.sp.entity.Message", b =>
  2724. {
  2725. b.HasOne("wispro.sp.entity.Staff", "From")
  2726. .WithMany()
  2727. .HasForeignKey("FromId")
  2728. .HasConstraintName("FK_From_Staff")
  2729. .IsRequired();
  2730. b.Navigation("From");
  2731. });
  2732. modelBuilder.Entity("wispro.sp.entity.MessagePerformanceItem", b =>
  2733. {
  2734. b.HasOne("wispro.sp.entity.PerformanceItem", "Item")
  2735. .WithMany()
  2736. .HasForeignKey("ItemId")
  2737. .HasConstraintName("FK_MessagePerformanceItem_Item")
  2738. .OnDelete(DeleteBehavior.Cascade)
  2739. .IsRequired();
  2740. b.HasOne("wispro.sp.entity.Message", "Message")
  2741. .WithMany("RelatedItem")
  2742. .HasForeignKey("MessageId")
  2743. .HasConstraintName("FK_MessagePerformanceItem_Message")
  2744. .OnDelete(DeleteBehavior.Cascade)
  2745. .IsRequired();
  2746. b.Navigation("Item");
  2747. b.Navigation("Message");
  2748. });
  2749. modelBuilder.Entity("wispro.sp.entity.MessageReadRecord", b =>
  2750. {
  2751. b.HasOne("wispro.sp.entity.Message", "Message")
  2752. .WithMany()
  2753. .HasForeignKey("MessageId")
  2754. .HasConstraintName("FK_MessageReadRecord_Message")
  2755. .IsRequired();
  2756. b.HasOne("wispro.sp.entity.Message", null)
  2757. .WithMany("To")
  2758. .HasForeignKey("MessageId1");
  2759. b.HasOne("wispro.sp.entity.Staff", "Staff")
  2760. .WithMany()
  2761. .HasForeignKey("StaffId")
  2762. .HasConstraintName("FK_MessageReadRecord_Staff")
  2763. .IsRequired();
  2764. b.Navigation("Message");
  2765. b.Navigation("Staff");
  2766. });
  2767. modelBuilder.Entity("wispro.sp.entity.PerformanceItem", b =>
  2768. {
  2769. b.HasOne("wispro.sp.entity.CalMonth", "CalMonth")
  2770. .WithMany("PerformanceItems")
  2771. .HasForeignKey("CalMonthId")
  2772. .HasConstraintName("FK_PerformanceItem_CalMonth")
  2773. .OnDelete(DeleteBehavior.Cascade)
  2774. .IsRequired();
  2775. b.HasOne("wispro.sp.entity.Customer", "Customer")
  2776. .WithMany("PerformanceItems")
  2777. .HasForeignKey("CustomerId")
  2778. .HasConstraintName("FK_PerformanceItem_Customer");
  2779. b.HasOne("wispro.sp.entity.Staff", "PreOastaff")
  2780. .WithMany()
  2781. .HasForeignKey("PreOastaffId")
  2782. .HasConstraintName("FK_PerformanceItem_Staff");
  2783. b.HasOne("wispro.sp.entity.Staff", "Reviewer")
  2784. .WithMany("ReviewerItems")
  2785. .HasForeignKey("ReviewerId")
  2786. .HasConstraintName("FK_PerformanceItem_Reviewer");
  2787. b.Navigation("CalMonth");
  2788. b.Navigation("Customer");
  2789. b.Navigation("PreOastaff");
  2790. b.Navigation("Reviewer");
  2791. });
  2792. modelBuilder.Entity("wispro.sp.entity.SelectValue", b =>
  2793. {
  2794. b.HasOne("wispro.sp.entity.InputField", "InputField")
  2795. .WithMany("SelectValues")
  2796. .HasForeignKey("InputFieldId")
  2797. .OnDelete(DeleteBehavior.Cascade)
  2798. .IsRequired();
  2799. b.Navigation("InputField");
  2800. });
  2801. modelBuilder.Entity("wispro.sp.entity.Staff", b =>
  2802. {
  2803. b.HasOne("wispro.sp.entity.StaffGrade", "StaffGrade")
  2804. .WithMany("Staff")
  2805. .HasForeignKey("StaffGradeId")
  2806. .HasConstraintName("FK_Staff_StaffGrade");
  2807. b.Navigation("StaffGrade");
  2808. });
  2809. modelBuilder.Entity("wispro.sp.entity.StaffStatistics", b =>
  2810. {
  2811. b.HasOne("wispro.sp.entity.CalMonth", "CalMonth")
  2812. .WithMany()
  2813. .HasForeignKey("CalMonthId")
  2814. .OnDelete(DeleteBehavior.Cascade)
  2815. .IsRequired();
  2816. b.HasOne("wispro.sp.entity.Staff", "Staff")
  2817. .WithMany()
  2818. .HasForeignKey("StaffId")
  2819. .OnDelete(DeleteBehavior.Cascade)
  2820. .IsRequired();
  2821. b.Navigation("CalMonth");
  2822. b.Navigation("Staff");
  2823. });
  2824. modelBuilder.Entity("wispro.sp.entity.VerifyCoefficient", b =>
  2825. {
  2826. b.HasOne("wispro.sp.entity.StaffGrade", "Checker")
  2827. .WithMany("VerifyCoefficientCheckers")
  2828. .HasForeignKey("CheckerId")
  2829. .HasConstraintName("FK_VerifyCoefficient_StaffGrade")
  2830. .IsRequired();
  2831. b.HasOne("wispro.sp.entity.StaffGrade", "DoPerson")
  2832. .WithMany("VerifyCoefficientDoPeople")
  2833. .HasForeignKey("DoPersonId")
  2834. .HasConstraintName("FK_VerifyCoefficient_StaffGrade1")
  2835. .IsRequired();
  2836. b.Navigation("Checker");
  2837. b.Navigation("DoPerson");
  2838. });
  2839. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Action", b =>
  2840. {
  2841. b.HasOne("wispro.sp.entity.workflowDefine.Step", "step")
  2842. .WithMany()
  2843. .HasForeignKey("StepId")
  2844. .OnDelete(DeleteBehavior.Cascade)
  2845. .IsRequired();
  2846. b.Navigation("step");
  2847. });
  2848. modelBuilder.Entity("wispro.sp.entity.workflowDefine.InputValueSetting", b =>
  2849. {
  2850. b.HasOne("wispro.sp.entity.workflowDefine.InputValueSetting", "ParentSetting")
  2851. .WithMany()
  2852. .HasForeignKey("ParentSettingId");
  2853. b.HasOne("wispro.sp.entity.workflowDefine.Action", "action")
  2854. .WithMany("inputValuesSettings")
  2855. .HasForeignKey("actionId")
  2856. .OnDelete(DeleteBehavior.NoAction)
  2857. .IsRequired();
  2858. b.Navigation("action");
  2859. b.Navigation("ParentSetting");
  2860. });
  2861. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Step", b =>
  2862. {
  2863. b.HasOne("wispro.sp.entity.workflowDefine.Workflow", "workflow")
  2864. .WithMany()
  2865. .HasForeignKey("workflowId")
  2866. .OnDelete(DeleteBehavior.Cascade)
  2867. .IsRequired();
  2868. b.Navigation("workflow");
  2869. });
  2870. modelBuilder.Entity("wispro.sp.entity.workflowDefine.TrasferCondition", b =>
  2871. {
  2872. b.HasOne("wispro.sp.entity.workflowDefine.Step", "Step")
  2873. .WithMany()
  2874. .HasForeignKey("StepId")
  2875. .OnDelete(DeleteBehavior.NoAction)
  2876. .IsRequired();
  2877. b.HasOne("wispro.sp.entity.workflowDefine.Step", "nextStep")
  2878. .WithMany()
  2879. .HasForeignKey("nextStepId")
  2880. .OnDelete(DeleteBehavior.NoAction)
  2881. .IsRequired();
  2882. b.Navigation("nextStep");
  2883. b.Navigation("Step");
  2884. });
  2885. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Workflow", b =>
  2886. {
  2887. b.HasOne("wispro.sp.entity.Staff", "CreateUser")
  2888. .WithMany()
  2889. .HasForeignKey("CreateUserId")
  2890. .OnDelete(DeleteBehavior.Cascade)
  2891. .IsRequired();
  2892. b.HasOne("wispro.sp.entity.workflowDefine.Action", "InitAction")
  2893. .WithMany()
  2894. .HasForeignKey("InitActionId")
  2895. .OnDelete(DeleteBehavior.NoAction)
  2896. .IsRequired();
  2897. b.Navigation("CreateUser");
  2898. b.Navigation("InitAction");
  2899. });
  2900. modelBuilder.Entity("wispro.sp.entity.workflowInstance.InputValue", b =>
  2901. {
  2902. b.HasOne("wispro.sp.entity.workflowDefine.InputValueSetting", "valueSetting")
  2903. .WithMany()
  2904. .HasForeignKey("valueSettingId")
  2905. .OnDelete(DeleteBehavior.Cascade)
  2906. .IsRequired();
  2907. b.HasOne("wispro.sp.entity.workflowInstance.WorkflowInstance", "workflowInstance")
  2908. .WithMany()
  2909. .HasForeignKey("workflowInstanceId")
  2910. .OnDelete(DeleteBehavior.Cascade)
  2911. .IsRequired();
  2912. b.Navigation("valueSetting");
  2913. b.Navigation("workflowInstance");
  2914. });
  2915. modelBuilder.Entity("wispro.sp.entity.workflowInstance.StepInstance", b =>
  2916. {
  2917. b.HasOne("wispro.sp.entity.workflowDefine.Step", "Step")
  2918. .WithMany()
  2919. .HasForeignKey("stepId")
  2920. .OnDelete(DeleteBehavior.Cascade)
  2921. .IsRequired();
  2922. b.HasOne("wispro.sp.entity.workflowInstance.WorkflowInstance", "workflowInstance")
  2923. .WithMany()
  2924. .HasForeignKey("workflowInstanceId")
  2925. .OnDelete(DeleteBehavior.NoAction)
  2926. .IsRequired();
  2927. b.Navigation("Step");
  2928. b.Navigation("workflowInstance");
  2929. });
  2930. modelBuilder.Entity("wispro.sp.entity.workflowInstance.WorkflowInstance", b =>
  2931. {
  2932. b.HasOne("wispro.sp.entity.workflowDefine.Workflow", "workflow")
  2933. .WithMany()
  2934. .HasForeignKey("workflowId")
  2935. .OnDelete(DeleteBehavior.Cascade)
  2936. .IsRequired();
  2937. b.Navigation("workflow");
  2938. });
  2939. modelBuilder.Entity("wispro.sp.entity.AppealRecord", b =>
  2940. {
  2941. b.Navigation("AttachFiles");
  2942. });
  2943. modelBuilder.Entity("wispro.sp.entity.CalMonth", b =>
  2944. {
  2945. b.Navigation("PerformanceItems");
  2946. });
  2947. modelBuilder.Entity("wispro.sp.entity.Customer", b =>
  2948. {
  2949. b.Navigation("PerformanceItems");
  2950. });
  2951. modelBuilder.Entity("wispro.sp.entity.InputField", b =>
  2952. {
  2953. b.Navigation("SelectValues");
  2954. });
  2955. modelBuilder.Entity("wispro.sp.entity.Message", b =>
  2956. {
  2957. b.Navigation("RelatedItem");
  2958. b.Navigation("To");
  2959. });
  2960. modelBuilder.Entity("wispro.sp.entity.PerformanceItem", b =>
  2961. {
  2962. b.Navigation("ItemStaffs");
  2963. });
  2964. modelBuilder.Entity("wispro.sp.entity.Staff", b =>
  2965. {
  2966. b.Navigation("Customers");
  2967. b.Navigation("ItemStaffs");
  2968. b.Navigation("Positions");
  2969. b.Navigation("ReviewerItems");
  2970. });
  2971. modelBuilder.Entity("wispro.sp.entity.StaffGrade", b =>
  2972. {
  2973. b.Navigation("Staff");
  2974. b.Navigation("VerifyCoefficientCheckers");
  2975. b.Navigation("VerifyCoefficientDoPeople");
  2976. });
  2977. modelBuilder.Entity("wispro.sp.entity.workflowDefine.Action", b =>
  2978. {
  2979. b.Navigation("inputValuesSettings");
  2980. });
  2981. #pragma warning restore 612, 618
  2982. }
  2983. }
  2984. }