20211104013549_add-appealDB.Designer.cs 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331
  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("20211104013549_add-appealDB")]
  13. partial class addappealDB
  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<string>("Reason")
  33. .HasMaxLength(500)
  34. .HasColumnType("nvarchar(500)");
  35. b.Property<DateTime?>("ReviewTime")
  36. .HasColumnType("datetime2");
  37. b.Property<int>("ReviewerId")
  38. .HasColumnType("int");
  39. b.Property<string>("ReviewerMemo")
  40. .HasColumnType("nvarchar(max)");
  41. b.Property<int>("State")
  42. .HasColumnType("int");
  43. b.Property<int>("TypeId")
  44. .HasColumnType("int");
  45. b.HasKey("Id");
  46. b.HasIndex("CreaterId");
  47. b.HasIndex("ReviewerId");
  48. b.HasIndex("TypeId");
  49. b.ToTable("AppealRecord");
  50. });
  51. modelBuilder.Entity("wispro.sp.entity.AppealType", b =>
  52. {
  53. b.Property<int>("Id")
  54. .ValueGeneratedOnAdd()
  55. .HasColumnType("int")
  56. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  57. b.Property<string>("CanDoExpress")
  58. .HasMaxLength(500)
  59. .HasColumnType("nvarchar(500)");
  60. b.Property<string>("Name")
  61. .HasMaxLength(50)
  62. .HasColumnType("nvarchar(50)");
  63. b.Property<string>("ReviewerExpress")
  64. .HasMaxLength(500)
  65. .HasColumnType("nvarchar(500)");
  66. b.HasKey("Id");
  67. b.ToTable("AppealType");
  68. });
  69. modelBuilder.Entity("wispro.sp.entity.AttachFile", b =>
  70. {
  71. b.Property<Guid>("Id")
  72. .ValueGeneratedOnAdd()
  73. .HasColumnType("uniqueidentifier");
  74. b.Property<int>("AppealRecordId")
  75. .HasColumnType("int");
  76. b.Property<int?>("AppealRecordId1")
  77. .HasColumnType("int");
  78. b.Property<string>("Name")
  79. .HasMaxLength(200)
  80. .HasColumnType("nvarchar(200)");
  81. b.Property<string>("SavePath")
  82. .HasMaxLength(200)
  83. .HasColumnType("nvarchar(200)");
  84. b.Property<int>("UploadUserId")
  85. .HasColumnType("int");
  86. b.HasKey("Id");
  87. b.HasIndex("AppealRecordId");
  88. b.HasIndex("AppealRecordId1");
  89. b.HasIndex("UploadUserId");
  90. b.ToTable("AttachFile");
  91. });
  92. modelBuilder.Entity("wispro.sp.entity.BasePointRule", b =>
  93. {
  94. b.Property<int>("Id")
  95. .ValueGeneratedOnAdd()
  96. .HasColumnType("int")
  97. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  98. b.Property<string>("PointExpress")
  99. .HasMaxLength(100)
  100. .HasColumnType("nvarchar(100)");
  101. b.Property<int>("Priority")
  102. .HasColumnType("int");
  103. b.Property<string>("Rule")
  104. .HasMaxLength(1000)
  105. .HasColumnType("nvarchar(1000)");
  106. b.Property<string>("Type")
  107. .HasMaxLength(20)
  108. .HasColumnType("nvarchar(20)");
  109. b.HasKey("Id");
  110. b.ToTable("BasePointRule");
  111. b.HasData(
  112. new
  113. {
  114. Id = 1,
  115. PointExpress = "0.2",
  116. Priority = 1,
  117. Rule = "p.ApplicationType==\"外观设计\"",
  118. Type = "新申请"
  119. },
  120. new
  121. {
  122. Id = 2,
  123. PointExpress = "0.2",
  124. Priority = 2,
  125. Rule = "p.AgentFeedbackMemo==\"检索结案\"",
  126. Type = "新申请"
  127. },
  128. new
  129. {
  130. Id = 3,
  131. PointExpress = "0.0",
  132. Priority = 3,
  133. Rule = "p.AgentFeedbackMemo==\"撰写中客户取消申请\"",
  134. Type = "新申请"
  135. },
  136. new
  137. {
  138. Id = 4,
  139. PointExpress = "0.49",
  140. Priority = 4,
  141. Rule = "p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"发文后客户取消申请\"",
  142. Type = "新申请"
  143. },
  144. new
  145. {
  146. Id = 5,
  147. PointExpress = "0.7",
  148. Priority = 5,
  149. Rule = "p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"发文后客户取消申请\"",
  150. Type = "新申请"
  151. },
  152. new
  153. {
  154. Id = 6,
  155. PointExpress = "1.33",
  156. Priority = 6,
  157. Rule = "p.CaseNo.StartsWith(\"PADE\") && p.AgentFeedbackMemo==\"发文后客户原因取消申请,系统结案\"",
  158. Type = "新申请"
  159. },
  160. new
  161. {
  162. Id = 7,
  163. PointExpress = "1.26",
  164. Priority = 7,
  165. Rule = "p.CaseNo.StartsWith(\"PAUS\") && p.AgentFeedbackMemo==\"发文后客户原因取消申请,系统结案\"",
  166. Type = "新申请"
  167. },
  168. new
  169. {
  170. Id = 8,
  171. PointExpress = "0.0",
  172. Priority = 8,
  173. Rule = "p.AgentFeedbackMemo==\"我方代交\"",
  174. Type = "新申请"
  175. },
  176. new
  177. {
  178. Id = 9,
  179. PointExpress = "0.2",
  180. Priority = 9,
  181. Rule = "p.AgentFeedbackMemo==\"我方转格式、复核\"",
  182. Type = "新申请"
  183. },
  184. new
  185. {
  186. Id = 10,
  187. PointExpress = "1.8",
  188. Priority = 10,
  189. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"PCT首次英文案\"",
  190. Type = "新申请"
  191. },
  192. new
  193. {
  194. Id = 11,
  195. PointExpress = "0.3",
  196. Priority = 11,
  197. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"改权\"",
  198. Type = "新申请"
  199. },
  200. new
  201. {
  202. Id = 12,
  203. PointExpress = "0.5",
  204. Priority = 12,
  205. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"改权+改说明书\"",
  206. Type = "新申请"
  207. },
  208. new
  209. {
  210. Id = 13,
  211. PointExpress = "0.7",
  212. Priority = 13,
  213. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"涉外实质改权\"",
  214. Type = "新申请"
  215. },
  216. new
  217. {
  218. Id = 14,
  219. PointExpress = "1.0",
  220. Priority = 14,
  221. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"首次中文案\"",
  222. Type = "新申请"
  223. },
  224. new
  225. {
  226. Id = 15,
  227. PointExpress = "1.5",
  228. Priority = 15,
  229. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"外-内首次申请\"",
  230. Type = "新申请"
  231. },
  232. new
  233. {
  234. Id = 16,
  235. PointExpress = "0.1",
  236. Priority = 16,
  237. Rule = "p.DoItem==\"新申请\" && p.AgentFeedbackMemo==\"转格式\"",
  238. Type = "新申请"
  239. },
  240. new
  241. {
  242. Id = 17,
  243. PointExpress = "0.1",
  244. Priority = 17,
  245. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PATW\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  246. Type = "新申请"
  247. },
  248. new
  249. {
  250. Id = 18,
  251. PointExpress = "0.7",
  252. Priority = 18,
  253. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  254. Type = "新申请"
  255. },
  256. new
  257. {
  258. Id = 19,
  259. PointExpress = "0.1",
  260. Priority = 19,
  261. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PATW\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  262. Type = "新申请"
  263. },
  264. new
  265. {
  266. Id = 20,
  267. PointExpress = "0.2",
  268. Priority = 20,
  269. Rule = "p.DoItem==\"新申请\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"台湾案转大陆案\"",
  270. Type = "新申请"
  271. },
  272. new
  273. {
  274. Id = 21,
  275. PointExpress = "1.0",
  276. Priority = 21,
  277. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"同套大陆+台湾\"",
  278. Type = "新申请"
  279. },
  280. new
  281. {
  282. Id = 22,
  283. PointExpress = "0.2",
  284. Priority = 22,
  285. Rule = "p.DoItem==\"新申请\" && p.CaseNo.StartsWith(\"PATW\") && p.AgentFeedbackMemo==\"大陆案转台湾案\"",
  286. Type = "新申请"
  287. },
  288. new
  289. {
  290. Id = 23,
  291. PointExpress = "1.8",
  292. Priority = 23,
  293. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAEPO\")",
  294. Type = "新申请"
  295. },
  296. new
  297. {
  298. Id = 24,
  299. PointExpress = "0.3",
  300. Priority = 24,
  301. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseNo.EndsWith(\"-分案\")",
  302. Type = "新申请"
  303. },
  304. new
  305. {
  306. Id = 25,
  307. PointExpress = "0.5",
  308. Priority = 25,
  309. Rule = "p.CaseNo.StartsWith(\"PAUS\") && (p.CaseNo.EndsWith(\"-同套\") || p.CaseNo.EndsWith(\"CA\") || p.CaseNo.EndsWith(\"CIP\") || p.CaseNo.EndsWith(\"分案\")) ",
  310. Type = "新申请"
  311. },
  312. new
  313. {
  314. Id = 26,
  315. PointExpress = "1.0",
  316. Priority = 26,
  317. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseNo.EndsWith(\"-TS\")",
  318. Type = "新申请"
  319. },
  320. new
  321. {
  322. Id = 27,
  323. PointExpress = "0.1",
  324. Priority = 27,
  325. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseNo.EndsWith(\"-TS\")",
  326. Type = "新申请"
  327. },
  328. new
  329. {
  330. Id = 28,
  331. PointExpress = "1.0",
  332. Priority = 28,
  333. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\")",
  334. Type = "新申请"
  335. },
  336. new
  337. {
  338. Id = 29,
  339. PointExpress = "1.0",
  340. Priority = 30,
  341. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\") && p.Customer.Name.Contains(\"OPPO\")",
  342. Type = "新申请"
  343. },
  344. new
  345. {
  346. Id = 30,
  347. PointExpress = "0.7",
  348. Priority = 29,
  349. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PACN\")",
  350. Type = "新申请"
  351. },
  352. new
  353. {
  354. Id = 31,
  355. PointExpress = "1.9",
  356. Priority = 31,
  357. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PADE\")",
  358. Type = "新申请"
  359. },
  360. new
  361. {
  362. Id = 32,
  363. PointExpress = "1.9",
  364. Priority = 32,
  365. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"实用新型\" && p.CaseNo.StartsWith(\"PADE\")",
  366. Type = "新申请"
  367. },
  368. new
  369. {
  370. Id = 33,
  371. PointExpress = "0.2",
  372. Priority = 33,
  373. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAEPO\")",
  374. Type = "新申请"
  375. },
  376. new
  377. {
  378. Id = 34,
  379. PointExpress = "1.8",
  380. Priority = 34,
  381. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAGB\")",
  382. Type = "新申请"
  383. },
  384. new
  385. {
  386. Id = 35,
  387. PointExpress = "1.7",
  388. Priority = 36,
  389. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAUS\") && p.Customer.Name.Contains(\"OPPO\")",
  390. Type = "新申请"
  391. },
  392. new
  393. {
  394. Id = 36,
  395. PointExpress = "1.8",
  396. Priority = 35,
  397. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PAUS\")",
  398. Type = "新申请"
  399. },
  400. new
  401. {
  402. Id = 37,
  403. PointExpress = "1.5",
  404. Priority = 37,
  405. Rule = "p.DoItem==\"新申请\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PCTCN\")",
  406. Type = "新申请"
  407. },
  408. new
  409. {
  410. Id = 38,
  411. PointExpress = "0.0",
  412. Priority = 38,
  413. Rule = "(p.ApplicationType==\"实用新型\" || p.ApplicationType==\"发明\") && p.CaseNo.StartsWith(\"PACN\") && p.AgentFeedbackMemo==\"客户不进行答辩\"",
  414. Type = "新申请"
  415. },
  416. new
  417. {
  418. Id = 39,
  419. PointExpress = "p.WordCount/1000*0.1",
  420. Priority = 39,
  421. Rule = "p.DoItem==\"新申请\") && p.AgentFeedbackMemo==\"英-中\" && p.WordCount !=null",
  422. Type = "新申请"
  423. },
  424. new
  425. {
  426. Id = 40,
  427. PointExpress = "p.WordCount/1000*0.16",
  428. Priority = 40,
  429. Rule = "p.DoItem==\"新申请\") && p.AgentFeedbackMemo==\"中-英\" && p.WordCount !=null",
  430. Type = "新申请"
  431. },
  432. new
  433. {
  434. Id = 41,
  435. PointExpress = "p.WordCount/1000*0.18",
  436. Priority = 41,
  437. Rule = "p.DoItem==\"新申请\") && p.AgentFeedbackMemo==\"中-德\" && p.WordCount !=null",
  438. Type = "新申请"
  439. },
  440. new
  441. {
  442. Id = 42,
  443. PointExpress = "0.1",
  444. Priority = 42,
  445. Rule = "p.AgentFeedbackMemo==\"涉外OA不答辩,发报导函结案\"",
  446. Type = "OA"
  447. },
  448. new
  449. {
  450. Id = 43,
  451. PointExpress = "0.2",
  452. Priority = 43,
  453. Rule = "p.ApplicationType==\"外观设计\"",
  454. Type = "OA"
  455. },
  456. new
  457. {
  458. Id = 44,
  459. PointExpress = "0.0",
  460. Priority = 44,
  461. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"不请款\"",
  462. Type = "OA"
  463. },
  464. new
  465. {
  466. Id = 45,
  467. PointExpress = "0.0",
  468. Priority = 45,
  469. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"实质\" && (p.CaseStage==\"三通\" || p.CaseStage==\"四通\" || p.CaseStage==\"五通\" || p.CaseStage==\"六通\" || p.CaseStage==\"七通\" || p.CaseStage==\"八通\") ",
  470. Type = "OA"
  471. },
  472. new
  473. {
  474. Id = 46,
  475. PointExpress = "0.14",
  476. Priority = 46,
  477. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"实质\" && p.CaseStage==\"二通\" && p.AgentFeedbackMemo==\"请款\"",
  478. Type = "OA"
  479. },
  480. new
  481. {
  482. Id = 47,
  483. PointExpress = "0.35",
  484. Priority = 47,
  485. Rule = "p.ApplicationType==\"实用新型\" && p.DoItemCoefficient==\"实质\" && p.CaseStage==\"一通\" && p.AgentFeedbackMemo==\"请款\"",
  486. Type = "OA"
  487. },
  488. new
  489. {
  490. Id = 48,
  491. PointExpress = "0.35",
  492. Priority = 48,
  493. Rule = "p.DoItem==\"请求复审\" && p.ApplicationType==\"实用新型\" && p.AgentFeedbackMemo==\"请款\"",
  494. Type = "OA"
  495. },
  496. new
  497. {
  498. Id = 49,
  499. PointExpress = "0.3",
  500. Priority = 49,
  501. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\" && p.AgentFeedbackMemo==\"外所/他人首次转入OA\"",
  502. Type = "OA"
  503. },
  504. new
  505. {
  506. Id = 50,
  507. PointExpress = "0.5",
  508. Priority = 50,
  509. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"外所/他人首次转入OA\"",
  510. Type = "OA"
  511. },
  512. new
  513. {
  514. Id = 51,
  515. PointExpress = "0.2",
  516. Priority = 51,
  517. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && p.AgentFeedbackMemo==\"外所/他人首次转入OA\"",
  518. Type = "OA"
  519. },
  520. new
  521. {
  522. Id = 52,
  523. PointExpress = "0.5",
  524. Priority = 52,
  525. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"客户提供答辩点,撰写英文报导函\"",
  526. Type = "OA"
  527. },
  528. new
  529. {
  530. Id = 53,
  531. PointExpress = "0.8",
  532. Priority = 53,
  533. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"客户未提供答辩点,撰写英文报导函\"",
  534. Type = "OA"
  535. },
  536. new
  537. {
  538. Id = 54,
  539. PointExpress = "1.5",
  540. Priority = 54,
  541. Rule = "p.DoItem==\"Advisory Action\" && p.DoItemCoefficient==\"实质\"",
  542. Type = "OA"
  543. },
  544. new
  545. {
  546. Id = 55,
  547. PointExpress = "0.2",
  548. Priority = 55,
  549. Rule = "p.DoItem==\"Advisory Action\" && p.DoItemCoefficient==\"形式\"",
  550. Type = "OA"
  551. },
  552. new
  553. {
  554. Id = 56,
  555. PointExpress = "1.5",
  556. Priority = 56,
  557. Rule = "p.DoItem==\"Final Action\" && p.DoItemCoefficient==\"实质\"",
  558. Type = "OA"
  559. },
  560. new
  561. {
  562. Id = 57,
  563. PointExpress = "0.2",
  564. Priority = 57,
  565. Rule = "p.DoItem==\"Final Action\" && p.DoItemCoefficient==\"形式\"",
  566. Type = "OA"
  567. },
  568. new
  569. {
  570. Id = 58,
  571. PointExpress = "0.1",
  572. Priority = 58,
  573. Rule = "p.DoItem==\"form 3\"",
  574. Type = "OA"
  575. },
  576. new
  577. {
  578. Id = 59,
  579. PointExpress = "0.1",
  580. Priority = 59,
  581. Rule = "p.DoItem==\"form 3-8(2)\" || p.DoItem==\"Form 3-8(2)\"",
  582. Type = "OA"
  583. },
  584. new
  585. {
  586. Id = 60,
  587. PointExpress = "1.5",
  588. Priority = 60,
  589. Rule = "p.DoItem==\"Non Final Action\" && p.DoItemCoefficient==\"实质\"",
  590. Type = "OA"
  591. },
  592. new
  593. {
  594. Id = 61,
  595. PointExpress = "0.2",
  596. Priority = 61,
  597. Rule = "p.DoItem==\"Non Final Action\" && p.DoItemCoefficient==\"形式\"",
  598. Type = "OA"
  599. },
  600. new
  601. {
  602. Id = 62,
  603. PointExpress = "1.5",
  604. Priority = 62,
  605. Rule = "p.DoItem==\"RCE\" && p.DoItemCoefficient==\"实质\"",
  606. Type = "OA"
  607. },
  608. new
  609. {
  610. Id = 63,
  611. PointExpress = "0.2",
  612. Priority = 63,
  613. Rule = "p.DoItem==\"RCE\" && p.DoItemCoefficient==\"形式\"",
  614. Type = "OA"
  615. },
  616. new
  617. {
  618. Id = 64,
  619. PointExpress = "1.5",
  620. Priority = 64,
  621. Rule = "p.DoItem==\"欧洲案答辩\" && p.DoItemCoefficient==\"实质\"",
  622. Type = "OA"
  623. },
  624. new
  625. {
  626. Id = 65,
  627. PointExpress = "0.2",
  628. Priority = 65,
  629. Rule = "p.DoItem==\"欧洲案答辩\" && p.DoItemCoefficient==\"形式\"",
  630. Type = "OA"
  631. },
  632. new
  633. {
  634. Id = 66,
  635. PointExpress = "0.2",
  636. Priority = 66,
  637. Rule = "p.DoItem==\"口审评估\" && p.DoItemCoefficient==\"非实质\"",
  638. Type = "OA"
  639. },
  640. new
  641. {
  642. Id = 67,
  643. PointExpress = "1.5",
  644. Priority = 67,
  645. Rule = "p.DoItem==\"口审评估\" && p.DoItemCoefficient==\"实质\"",
  646. Type = "OA"
  647. },
  648. new
  649. {
  650. Id = 68,
  651. PointExpress = "1.5",
  652. Priority = 68,
  653. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAUS\")",
  654. Type = "OA"
  655. },
  656. new
  657. {
  658. Id = 69,
  659. PointExpress = "0.2",
  660. Priority = 69,
  661. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAUS\")",
  662. Type = "OA"
  663. },
  664. new
  665. {
  666. Id = 70,
  667. PointExpress = "1.5",
  668. Priority = 70,
  669. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAAU\")",
  670. Type = "OA"
  671. },
  672. new
  673. {
  674. Id = 71,
  675. PointExpress = "1.6",
  676. Priority = 71,
  677. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PADE\")",
  678. Type = "OA"
  679. },
  680. new
  681. {
  682. Id = 72,
  683. PointExpress = "1.5",
  684. Priority = 72,
  685. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAEPO\")",
  686. Type = "OA"
  687. },
  688. new
  689. {
  690. Id = 73,
  691. PointExpress = "1.5",
  692. Priority = 73,
  693. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAGB\")",
  694. Type = "OA"
  695. },
  696. new
  697. {
  698. Id = 74,
  699. PointExpress = "1.5",
  700. Priority = 74,
  701. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PAIN\")",
  702. Type = "OA"
  703. },
  704. new
  705. {
  706. Id = 75,
  707. PointExpress = "0.2",
  708. Priority = 75,
  709. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAAU\")",
  710. Type = "OA"
  711. },
  712. new
  713. {
  714. Id = 76,
  715. PointExpress = "0.3",
  716. Priority = 76,
  717. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PADE\")",
  718. Type = "OA"
  719. },
  720. new
  721. {
  722. Id = 77,
  723. PointExpress = "0.2",
  724. Priority = 77,
  725. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAEPO\")",
  726. Type = "OA"
  727. },
  728. new
  729. {
  730. Id = 78,
  731. PointExpress = "0.2",
  732. Priority = 78,
  733. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAGB\")",
  734. Type = "OA"
  735. },
  736. new
  737. {
  738. Id = 79,
  739. PointExpress = "0.2",
  740. Priority = 79,
  741. Rule = "p.DoItem==\"处理审查意见\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PAIN\")",
  742. Type = "OA"
  743. },
  744. new
  745. {
  746. Id = 80,
  747. PointExpress = "0.5",
  748. Priority = 80,
  749. Rule = "p.DoItem==\"申復\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PATW\")",
  750. Type = "OA"
  751. },
  752. new
  753. {
  754. Id = 81,
  755. PointExpress = "0.2",
  756. Priority = 81,
  757. Rule = "p.DoItem==\"申復\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PATW\")",
  758. Type = "OA"
  759. },
  760. new
  761. {
  762. Id = 82,
  763. PointExpress = "0.5",
  764. Priority = 82,
  765. Rule = "p.DoItem==\"请求复审\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\")",
  766. Type = "OA"
  767. },
  768. new
  769. {
  770. Id = 83,
  771. PointExpress = "0.2",
  772. Priority = 83,
  773. Rule = "p.DoItem==\"意见陈述\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"复审\"",
  774. Type = "OA"
  775. },
  776. new
  777. {
  778. Id = 84,
  779. PointExpress = "0.3",
  780. Priority = 84,
  781. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"一通\"",
  782. Type = "OA"
  783. },
  784. new
  785. {
  786. Id = 85,
  787. PointExpress = "0.5",
  788. Priority = 85,
  789. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"一通\"",
  790. Type = "OA"
  791. },
  792. new
  793. {
  794. Id = 86,
  795. PointExpress = "0.2",
  796. Priority = 86,
  797. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"一通\"",
  798. Type = "OA"
  799. },
  800. new
  801. {
  802. Id = 87,
  803. PointExpress = "0.3",
  804. Priority = 87,
  805. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"非实质\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"一通\"",
  806. Type = "OA"
  807. },
  808. new
  809. {
  810. Id = 88,
  811. PointExpress = "0.5",
  812. Priority = 88,
  813. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"实质\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"一通\"",
  814. Type = "OA"
  815. },
  816. new
  817. {
  818. Id = 89,
  819. PointExpress = "0.2",
  820. Priority = 89,
  821. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.DoItemCoefficient==\"形式\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"一通\"",
  822. Type = "OA"
  823. },
  824. new
  825. {
  826. Id = 90,
  827. PointExpress = "0.2",
  828. Priority = 90,
  829. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && p.CaseStage==\"二通\"",
  830. Type = "OA"
  831. },
  832. new
  833. {
  834. Id = 91,
  835. PointExpress = "0.2",
  836. Priority = 91,
  837. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PCTCN\") && p.CaseStage==\"二通\"",
  838. Type = "OA"
  839. },
  840. new
  841. {
  842. Id = 92,
  843. PointExpress = "0.0",
  844. Priority = 92,
  845. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PACN\") && (p.CaseStage==\"三通\" || p.CaseStage==\"四通\" || p.CaseStage==\"五通\")",
  846. Type = "OA"
  847. },
  848. new
  849. {
  850. Id = 93,
  851. PointExpress = "0.0",
  852. Priority = 93,
  853. Rule = "p.DoItem==\"处理审查意见\" && p.ApplicationType==\"发明\" && p.CaseNo.StartsWith(\"PCTCN\") && (p.CaseStage==\"三通\" || p.CaseStage==\"四通\" || p.CaseStage==\"五通\")",
  854. Type = "OA"
  855. },
  856. new
  857. {
  858. Id = 94,
  859. PointExpress = "0.2",
  860. Priority = 94,
  861. Rule = "p.DoItem==\"发明一次OA授权\" && p.ApplicationType==\"发明\"",
  862. Type = "一次OA授权"
  863. },
  864. new
  865. {
  866. Id = 95,
  867. PointExpress = "0.7",
  868. Priority = 95,
  869. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"内-外\"",
  870. Type = "其它"
  871. },
  872. new
  873. {
  874. Id = 96,
  875. PointExpress = "0.5",
  876. Priority = 96,
  877. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"实质\" && p.AgentFeedbackMemo==\"外-内\"",
  878. Type = "其它"
  879. },
  880. new
  881. {
  882. Id = 97,
  883. PointExpress = "0.3",
  884. Priority = 97,
  885. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"形式\" && p.AgentFeedbackMemo==\"内-外\"",
  886. Type = "其它"
  887. },
  888. new
  889. {
  890. Id = 98,
  891. PointExpress = "0.2",
  892. Priority = 98,
  893. Rule = "p.DoItem==\"翻译校核\" && p.DoItemCoefficient==\"形式\" && p.AgentFeedbackMemo==\"外-内\"",
  894. Type = "其它"
  895. },
  896. new
  897. {
  898. Id = 99,
  899. PointExpress = "0.1",
  900. Priority = 99,
  901. Rule = "p.AgentFeedbackMemo==\"检索结案\"",
  902. Type = "其它"
  903. },
  904. new
  905. {
  906. Id = 100,
  907. PointExpress = "0.0",
  908. Priority = 100,
  909. Rule = "p.DoItem==\"内部检索\"",
  910. Type = "其它"
  911. },
  912. new
  913. {
  914. Id = 101,
  915. PointExpress = "0.2",
  916. Priority = 101,
  917. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAAU\")",
  918. Type = "其它"
  919. },
  920. new
  921. {
  922. Id = 102,
  923. PointExpress = "0.0",
  924. Priority = 102,
  925. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PACN\")",
  926. Type = "其它"
  927. },
  928. new
  929. {
  930. Id = 103,
  931. PointExpress = "0.0",
  932. Priority = 103,
  933. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PCTCN\")",
  934. Type = "其它"
  935. },
  936. new
  937. {
  938. Id = 104,
  939. PointExpress = "0.0",
  940. Priority = 104,
  941. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"WOCN\")",
  942. Type = "其它"
  943. },
  944. new
  945. {
  946. Id = 105,
  947. PointExpress = "0.2",
  948. Priority = 105,
  949. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PADE\")",
  950. Type = "其它"
  951. },
  952. new
  953. {
  954. Id = 106,
  955. PointExpress = "0.2",
  956. Priority = 106,
  957. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAEPO\")",
  958. Type = "其它"
  959. },
  960. new
  961. {
  962. Id = 107,
  963. PointExpress = "0.2",
  964. Priority = 107,
  965. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAGB\")",
  966. Type = "其它"
  967. },
  968. new
  969. {
  970. Id = 108,
  971. PointExpress = "0.2",
  972. Priority = 108,
  973. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAIN\")",
  974. Type = "其它"
  975. },
  976. new
  977. {
  978. Id = 109,
  979. PointExpress = "0.2",
  980. Priority = 109,
  981. Rule = "p.DoItem.Contains(\"补正\") && p.CaseNo.StartsWith(\"PAUS\")",
  982. Type = "其它"
  983. },
  984. new
  985. {
  986. Id = 110,
  987. PointExpress = "0.2",
  988. Priority = 110,
  989. Rule = "p.DoItem==\"Election Action\"",
  990. Type = "其它"
  991. },
  992. new
  993. {
  994. Id = 111,
  995. PointExpress = "0.2",
  996. Priority = 111,
  997. Rule = "p.DoItem==\"OA答辩校核\"",
  998. Type = "其它"
  999. },
  1000. new
  1001. {
  1002. Id = 112,
  1003. PointExpress = "0.1",
  1004. Priority = 112,
  1005. Rule = "p.DoItem==\"PPH\"",
  1006. Type = "其它"
  1007. },
  1008. new
  1009. {
  1010. Id = 113,
  1011. PointExpress = "0.0",
  1012. Priority = 113,
  1013. Rule = "p.DoItem==\"电询\" && p.CaseNo.StartsWith(\"PACN\")",
  1014. Type = "其它"
  1015. },
  1016. new
  1017. {
  1018. Id = 114,
  1019. PointExpress = "0.2",
  1020. Priority = 114,
  1021. Rule = "p.DoItem==\"电询\" && p.CaseNo.StartsWith(\"PAEPO\") ",
  1022. Type = "其它"
  1023. },
  1024. new
  1025. {
  1026. Id = 115,
  1027. PointExpress = "0.2",
  1028. Priority = 115,
  1029. Rule = "p.DoItem==\"电询\" && p.CaseNo.StartsWith(\"PAUS\")",
  1030. Type = "其它"
  1031. },
  1032. new
  1033. {
  1034. Id = 116,
  1035. PointExpress = "0.1",
  1036. Priority = 116,
  1037. Rule = "p.DoItem==\"分案评估\"",
  1038. Type = "其它"
  1039. },
  1040. new
  1041. {
  1042. Id = 117,
  1043. PointExpress = "0.2",
  1044. Priority = 117,
  1045. Rule = "p.DoItem==\"分案评估+分案\"",
  1046. Type = "其它"
  1047. },
  1048. new
  1049. {
  1050. Id = 118,
  1051. PointExpress = "0.0",
  1052. Priority = 118,
  1053. Rule = "p.DoItem==\"绘图\"",
  1054. Type = "其它"
  1055. },
  1056. new
  1057. {
  1058. Id = 119,
  1059. PointExpress = "0.0",
  1060. Priority = 119,
  1061. Rule = "p.DoItem==\"技术确认\"",
  1062. Type = "其它"
  1063. },
  1064. new
  1065. {
  1066. Id = 120,
  1067. PointExpress = "0.1",
  1068. Priority = 120,
  1069. Rule = "p.DoItem==\"提交ids\"",
  1070. Type = "其它"
  1071. },
  1072. new
  1073. {
  1074. Id = 121,
  1075. PointExpress = "0.0",
  1076. Priority = 121,
  1077. Rule = "p.DoItem==\"询问放弃或复审\"",
  1078. Type = "其它"
  1079. },
  1080. new
  1081. {
  1082. Id = 122,
  1083. PointExpress = "0.0",
  1084. Priority = 122,
  1085. Rule = "p.DoItem==\"知识点总结\"",
  1086. Type = "其它"
  1087. },
  1088. new
  1089. {
  1090. Id = 123,
  1091. PointExpress = "0.0",
  1092. Priority = 123,
  1093. Rule = "p.DoItem==\"专利挖掘与布局\"",
  1094. Type = "其它"
  1095. },
  1096. new
  1097. {
  1098. Id = 124,
  1099. PointExpress = "0.2",
  1100. Priority = 124,
  1101. Rule = "p.ApplicationType==\"外观设计\"",
  1102. Type = "其它"
  1103. },
  1104. new
  1105. {
  1106. Id = 125,
  1107. PointExpress = "0.0",
  1108. Priority = 125,
  1109. Rule = "p.DoItem==\"提交ids\"",
  1110. Type = "其它"
  1111. },
  1112. new
  1113. {
  1114. Id = 126,
  1115. PointExpress = "0.0",
  1116. Priority = 126,
  1117. Rule = "p.DoItem==\"请求优先审查\"",
  1118. Type = "其它"
  1119. },
  1120. new
  1121. {
  1122. Id = 127,
  1123. PointExpress = "p.WordCount/1000*0.1",
  1124. Priority = 127,
  1125. Rule = "p.DoItem==\"翻译\") && p.AgentFeedbackMemo==\"英-中\"",
  1126. Type = "其它"
  1127. },
  1128. new
  1129. {
  1130. Id = 128,
  1131. PointExpress = "p.WordCount/1000*0.16",
  1132. Priority = 128,
  1133. Rule = "p.DoItem==\"翻译\") && p.AgentFeedbackMemo==\"中-英\"",
  1134. Type = "其它"
  1135. },
  1136. new
  1137. {
  1138. Id = 129,
  1139. PointExpress = "p.WordCount/1000*0.18",
  1140. Priority = 129,
  1141. Rule = "p.DoItem==\"翻译\") && p.AgentFeedbackMemo==\"中-德\"",
  1142. Type = "其它"
  1143. },
  1144. new
  1145. {
  1146. Id = 130,
  1147. PointExpress = "0.0",
  1148. Priority = 130,
  1149. Rule = "p.AgentFeedbackMemo==\"已核算绩效\"",
  1150. Type = "其它"
  1151. });
  1152. });
  1153. modelBuilder.Entity("wispro.sp.entity.CalMonth", b =>
  1154. {
  1155. b.Property<int>("Id")
  1156. .ValueGeneratedOnAdd()
  1157. .HasColumnType("int")
  1158. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1159. b.Property<int>("Month")
  1160. .HasColumnType("int")
  1161. .HasColumnName("month");
  1162. b.Property<int>("Status")
  1163. .HasColumnType("int")
  1164. .HasColumnName("status");
  1165. b.Property<int>("Year")
  1166. .HasColumnType("int")
  1167. .HasColumnName("year");
  1168. b.HasKey("Id");
  1169. b.ToTable("CalMonth");
  1170. });
  1171. modelBuilder.Entity("wispro.sp.entity.Customer", b =>
  1172. {
  1173. b.Property<int>("Id")
  1174. .ValueGeneratedOnAdd()
  1175. .HasColumnType("int")
  1176. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1177. b.Property<string>("Address")
  1178. .HasMaxLength(500)
  1179. .HasColumnType("nvarchar(500)");
  1180. b.Property<string>("ContactMan")
  1181. .HasMaxLength(50)
  1182. .HasColumnType("nvarchar(50)");
  1183. b.Property<string>("Name")
  1184. .IsRequired()
  1185. .HasMaxLength(200)
  1186. .HasColumnType("nvarchar(200)");
  1187. b.Property<string>("Phone")
  1188. .HasMaxLength(50)
  1189. .HasColumnType("nvarchar(50)");
  1190. b.Property<int?>("ResponseManId")
  1191. .HasColumnType("int");
  1192. b.HasKey("Id");
  1193. b.HasIndex("ResponseManId");
  1194. b.ToTable("Customer");
  1195. });
  1196. modelBuilder.Entity("wispro.sp.entity.InputField", b =>
  1197. {
  1198. b.Property<int>("Id")
  1199. .ValueGeneratedOnAdd()
  1200. .HasColumnType("int")
  1201. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1202. b.Property<int>("AppealState")
  1203. .HasColumnType("int");
  1204. b.Property<int>("AppealTypeId")
  1205. .HasColumnType("int");
  1206. b.Property<string>("FieldName")
  1207. .HasMaxLength(50)
  1208. .HasColumnType("nvarchar(50)");
  1209. b.Property<string>("FieldType")
  1210. .HasMaxLength(50)
  1211. .HasColumnType("nvarchar(50)");
  1212. b.Property<string>("FieldValue")
  1213. .HasMaxLength(500)
  1214. .HasColumnType("nvarchar(500)");
  1215. b.Property<string>("MapObjectField")
  1216. .HasMaxLength(50)
  1217. .HasColumnType("nvarchar(50)");
  1218. b.HasKey("Id");
  1219. b.HasIndex("AppealTypeId");
  1220. b.ToTable("InputField");
  1221. });
  1222. modelBuilder.Entity("wispro.sp.entity.InputFieldValue", b =>
  1223. {
  1224. b.Property<int>("Id")
  1225. .ValueGeneratedOnAdd()
  1226. .HasColumnType("int")
  1227. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1228. b.Property<int>("AppealRecordId")
  1229. .HasColumnType("int");
  1230. b.Property<int>("InputFieldId")
  1231. .HasColumnType("int");
  1232. b.Property<string>("Value")
  1233. .HasMaxLength(500)
  1234. .HasColumnType("nvarchar(500)");
  1235. b.HasKey("Id");
  1236. b.HasIndex("AppealRecordId");
  1237. b.HasIndex("InputFieldId");
  1238. b.ToTable("InputFieldValue");
  1239. });
  1240. modelBuilder.Entity("wispro.sp.entity.ItemStaff", b =>
  1241. {
  1242. b.Property<int>("ItemId")
  1243. .HasColumnType("int");
  1244. b.Property<int>("DoPersonId")
  1245. .HasColumnType("int");
  1246. b.Property<double?>("PerformancePoint")
  1247. .HasColumnType("float");
  1248. b.HasKey("ItemId", "DoPersonId");
  1249. b.HasIndex("DoPersonId");
  1250. b.ToTable("ItemStaff");
  1251. });
  1252. modelBuilder.Entity("wispro.sp.entity.Message", b =>
  1253. {
  1254. b.Property<Guid>("Id")
  1255. .ValueGeneratedOnAdd()
  1256. .HasColumnType("uniqueidentifier");
  1257. b.Property<int>("FromId")
  1258. .HasColumnType("int");
  1259. b.Property<string>("MessageInfo")
  1260. .HasMaxLength(500)
  1261. .HasColumnType("nvarchar(500)");
  1262. b.Property<int>("Type")
  1263. .HasColumnType("int");
  1264. b.HasKey("Id");
  1265. b.HasIndex("FromId");
  1266. b.ToTable("Message");
  1267. });
  1268. modelBuilder.Entity("wispro.sp.entity.MessagePerformanceItem", b =>
  1269. {
  1270. b.Property<int>("ItemId")
  1271. .HasColumnType("int");
  1272. b.Property<Guid>("MessageId")
  1273. .HasColumnType("uniqueidentifier");
  1274. b.HasKey("ItemId", "MessageId");
  1275. b.HasIndex("MessageId");
  1276. b.ToTable("MessagePerformanceItems");
  1277. });
  1278. modelBuilder.Entity("wispro.sp.entity.MessageReadRecord", b =>
  1279. {
  1280. b.Property<Guid>("MessageId")
  1281. .HasColumnType("uniqueidentifier");
  1282. b.Property<int>("StaffId")
  1283. .HasColumnType("int");
  1284. b.Property<Guid?>("MessageId1")
  1285. .HasColumnType("uniqueidentifier");
  1286. b.Property<bool>("isReaded")
  1287. .HasColumnType("bit");
  1288. b.HasKey("MessageId", "StaffId");
  1289. b.HasIndex("MessageId1");
  1290. b.HasIndex("StaffId");
  1291. b.ToTable("MessageReadRecord");
  1292. });
  1293. modelBuilder.Entity("wispro.sp.entity.PerformanceItem", b =>
  1294. {
  1295. b.Property<int>("Id")
  1296. .ValueGeneratedOnAdd()
  1297. .HasColumnType("int")
  1298. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1299. b.Property<string>("AgentFeedbackMemo")
  1300. .HasColumnType("nvarchar(max)");
  1301. b.Property<string>("ApplicationName")
  1302. .HasMaxLength(200)
  1303. .HasColumnType("nvarchar(200)");
  1304. b.Property<string>("ApplicationType")
  1305. .HasMaxLength(50)
  1306. .HasColumnType("nvarchar(50)");
  1307. b.Property<decimal?>("BasePoint")
  1308. .HasColumnType("numeric(18,2)");
  1309. b.Property<string>("BusinessType")
  1310. .HasMaxLength(50)
  1311. .HasColumnType("nvarchar(50)");
  1312. b.Property<int>("CalMonthId")
  1313. .HasColumnType("int");
  1314. b.Property<string>("CaseCoefficient")
  1315. .HasMaxLength(10)
  1316. .HasColumnType("nvarchar(10)");
  1317. b.Property<string>("CaseMemo")
  1318. .HasColumnType("nvarchar(max)");
  1319. b.Property<string>("CaseName")
  1320. .HasMaxLength(500)
  1321. .HasColumnType("nvarchar(500)");
  1322. b.Property<string>("CaseNo")
  1323. .HasMaxLength(50)
  1324. .HasColumnType("nvarchar(50)");
  1325. b.Property<string>("CaseStage")
  1326. .HasMaxLength(50)
  1327. .HasColumnType("nvarchar(50)");
  1328. b.Property<string>("CaseState")
  1329. .HasMaxLength(50)
  1330. .HasColumnType("nvarchar(50)");
  1331. b.Property<string>("CaseType")
  1332. .HasMaxLength(50)
  1333. .HasColumnType("nvarchar(50)");
  1334. b.Property<int?>("CustomerId")
  1335. .HasColumnType("int");
  1336. b.Property<DateTime?>("CustomerLimitDate")
  1337. .HasColumnType("date");
  1338. b.Property<string>("DoItem")
  1339. .HasMaxLength(50)
  1340. .HasColumnType("nvarchar(50)");
  1341. b.Property<string>("DoItemCoefficient")
  1342. .HasMaxLength(50)
  1343. .HasColumnType("nvarchar(50)");
  1344. b.Property<string>("DoItemMemo")
  1345. .HasMaxLength(500)
  1346. .HasColumnType("nvarchar(500)");
  1347. b.Property<string>("DoItemState")
  1348. .HasMaxLength(50)
  1349. .HasColumnType("nvarchar(50)");
  1350. b.Property<DateTime?>("EntrustingDate")
  1351. .HasColumnType("date");
  1352. b.Property<DateTime?>("FinalizationDate")
  1353. .HasColumnType("date");
  1354. b.Property<DateTime?>("FinishedDate")
  1355. .HasColumnType("date");
  1356. b.Property<DateTime?>("FirstDraftDate")
  1357. .HasColumnType("date");
  1358. b.Property<DateTime?>("InternalDate")
  1359. .HasColumnType("date");
  1360. b.Property<string>("OverDueMemo")
  1361. .HasMaxLength(100)
  1362. .HasColumnType("nvarchar(100)");
  1363. b.Property<int?>("PreOastaffId")
  1364. .HasColumnType("int")
  1365. .HasColumnName("PreOAStaffId");
  1366. b.Property<string>("ReturnCasseNo")
  1367. .HasColumnType("nvarchar(max)");
  1368. b.Property<DateTime?>("ReturnDate")
  1369. .HasColumnType("date");
  1370. b.Property<int?>("ReviewerId")
  1371. .HasColumnType("int");
  1372. b.Property<int?>("Status")
  1373. .HasColumnType("int");
  1374. b.Property<string>("Type")
  1375. .HasColumnType("nvarchar(max)");
  1376. b.Property<int?>("WordCount")
  1377. .HasColumnType("int");
  1378. b.HasKey("Id");
  1379. b.HasIndex("CalMonthId");
  1380. b.HasIndex("CustomerId");
  1381. b.HasIndex("PreOastaffId");
  1382. b.HasIndex("ReviewerId");
  1383. b.ToTable("PerformanceItem");
  1384. });
  1385. modelBuilder.Entity("wispro.sp.entity.Staff", b =>
  1386. {
  1387. b.Property<int>("Id")
  1388. .ValueGeneratedOnAdd()
  1389. .HasColumnType("int")
  1390. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1391. b.Property<string>("Account")
  1392. .IsRequired()
  1393. .HasMaxLength(50)
  1394. .HasColumnType("nvarchar(50)");
  1395. b.Property<string>("Department")
  1396. .HasMaxLength(50)
  1397. .HasColumnType("nvarchar(50)");
  1398. b.Property<DateTime?>("EntyDate")
  1399. .HasColumnType("date");
  1400. b.Property<bool>("IsCalPerformsnce")
  1401. .HasColumnType("bit")
  1402. .HasColumnName("isCalPerformsnce");
  1403. b.Property<bool>("IsOnJob")
  1404. .HasColumnType("bit");
  1405. b.Property<string>("Mail")
  1406. .HasColumnType("nvarchar(max)");
  1407. b.Property<string>("Memo")
  1408. .HasColumnType("nvarchar(max)");
  1409. b.Property<string>("Mobile")
  1410. .HasColumnType("nvarchar(max)");
  1411. b.Property<string>("Name")
  1412. .IsRequired()
  1413. .HasMaxLength(50)
  1414. .HasColumnType("nvarchar(50)");
  1415. b.Property<string>("Password")
  1416. .IsRequired()
  1417. .HasColumnType("nvarchar(max)");
  1418. b.Property<string>("Sex")
  1419. .HasColumnType("nvarchar(max)");
  1420. b.Property<int?>("StaffGradeId")
  1421. .HasColumnType("int");
  1422. b.Property<string>("Status")
  1423. .IsRequired()
  1424. .HasMaxLength(25)
  1425. .HasColumnType("nvarchar(25)");
  1426. b.Property<string>("Tel")
  1427. .HasColumnType("nvarchar(max)");
  1428. b.Property<string>("WorkPlace")
  1429. .HasMaxLength(50)
  1430. .HasColumnType("nvarchar(50)");
  1431. b.HasKey("Id");
  1432. b.HasIndex("StaffGradeId");
  1433. b.ToTable("Staff");
  1434. });
  1435. modelBuilder.Entity("wispro.sp.entity.StaffGrade", b =>
  1436. {
  1437. b.Property<int>("Id")
  1438. .ValueGeneratedOnAdd()
  1439. .HasColumnType("int")
  1440. .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
  1441. b.Property<double>("Coefficient")
  1442. .HasColumnType("float");
  1443. b.Property<string>("Grade")
  1444. .IsRequired()
  1445. .HasMaxLength(5)
  1446. .HasColumnType("nchar(5)")
  1447. .IsFixedLength(true);
  1448. b.HasKey("Id");
  1449. b.ToTable("StaffGrade");
  1450. b.HasData(
  1451. new
  1452. {
  1453. Id = 1,
  1454. Coefficient = 1.2,
  1455. Grade = "S级"
  1456. },
  1457. new
  1458. {
  1459. Id = 2,
  1460. Coefficient = 1.1000000000000001,
  1461. Grade = "A3级"
  1462. },
  1463. new
  1464. {
  1465. Id = 3,
  1466. Coefficient = 1.1000000000000001,
  1467. Grade = "A2级"
  1468. },
  1469. new
  1470. {
  1471. Id = 4,
  1472. Coefficient = 1.1000000000000001,
  1473. Grade = "A1级"
  1474. },
  1475. new
  1476. {
  1477. Id = 5,
  1478. Coefficient = 1.0,
  1479. Grade = "B3级"
  1480. },
  1481. new
  1482. {
  1483. Id = 6,
  1484. Coefficient = 1.0,
  1485. Grade = "B2级"
  1486. },
  1487. new
  1488. {
  1489. Id = 7,
  1490. Coefficient = 0.90000000000000002,
  1491. Grade = "B1级"
  1492. },
  1493. new
  1494. {
  1495. Id = 8,
  1496. Coefficient = 0.90000000000000002,
  1497. Grade = "C3级"
  1498. },
  1499. new
  1500. {
  1501. Id = 9,
  1502. Coefficient = 0.69999999999999996,
  1503. Grade = "C2级"
  1504. },
  1505. new
  1506. {
  1507. Id = 10,
  1508. Coefficient = 0.69999999999999996,
  1509. Grade = "C1级"
  1510. },
  1511. new
  1512. {
  1513. Id = 11,
  1514. Coefficient = 0.59999999999999998,
  1515. Grade = "D3级"
  1516. },
  1517. new
  1518. {
  1519. Id = 12,
  1520. Coefficient = 0.59999999999999998,
  1521. Grade = "D2级"
  1522. },
  1523. new
  1524. {
  1525. Id = 13,
  1526. Coefficient = 0.5,
  1527. Grade = "D1级"
  1528. },
  1529. new
  1530. {
  1531. Id = 14,
  1532. Coefficient = 1.1000000000000001,
  1533. Grade = "A级"
  1534. },
  1535. new
  1536. {
  1537. Id = 15,
  1538. Coefficient = 1.0,
  1539. Grade = "C级"
  1540. },
  1541. new
  1542. {
  1543. Id = 16,
  1544. Coefficient = 0.90000000000000002,
  1545. Grade = "D级"
  1546. });
  1547. });
  1548. modelBuilder.Entity("wispro.sp.entity.VerifyCoefficient", b =>
  1549. {
  1550. b.Property<int>("CheckerId")
  1551. .HasColumnType("int");
  1552. b.Property<int>("DoPersonId")
  1553. .HasColumnType("int");
  1554. b.Property<double>("Coefficient")
  1555. .HasColumnType("float");
  1556. b.HasKey("CheckerId", "DoPersonId");
  1557. b.HasIndex("DoPersonId");
  1558. b.ToTable("VerifyCoefficient");
  1559. b.HasData(
  1560. new
  1561. {
  1562. CheckerId = 1,
  1563. DoPersonId = 5,
  1564. Coefficient = 0.29999999999999999
  1565. },
  1566. new
  1567. {
  1568. CheckerId = 1,
  1569. DoPersonId = 6,
  1570. Coefficient = 0.29999999999999999
  1571. },
  1572. new
  1573. {
  1574. CheckerId = 1,
  1575. DoPersonId = 7,
  1576. Coefficient = 0.29999999999999999
  1577. },
  1578. new
  1579. {
  1580. CheckerId = 1,
  1581. DoPersonId = 8,
  1582. Coefficient = 0.29999999999999999
  1583. },
  1584. new
  1585. {
  1586. CheckerId = 1,
  1587. DoPersonId = 9,
  1588. Coefficient = 0.40000000000000002
  1589. },
  1590. new
  1591. {
  1592. CheckerId = 1,
  1593. DoPersonId = 10,
  1594. Coefficient = 0.40000000000000002
  1595. },
  1596. new
  1597. {
  1598. CheckerId = 1,
  1599. DoPersonId = 11,
  1600. Coefficient = 0.5
  1601. },
  1602. new
  1603. {
  1604. CheckerId = 1,
  1605. DoPersonId = 12,
  1606. Coefficient = 0.5
  1607. },
  1608. new
  1609. {
  1610. CheckerId = 1,
  1611. DoPersonId = 13,
  1612. Coefficient = 0.59999999999999998
  1613. },
  1614. new
  1615. {
  1616. CheckerId = 2,
  1617. DoPersonId = 5,
  1618. Coefficient = 0.20000000000000001
  1619. },
  1620. new
  1621. {
  1622. CheckerId = 2,
  1623. DoPersonId = 6,
  1624. Coefficient = 0.20000000000000001
  1625. },
  1626. new
  1627. {
  1628. CheckerId = 2,
  1629. DoPersonId = 7,
  1630. Coefficient = 0.20000000000000001
  1631. },
  1632. new
  1633. {
  1634. CheckerId = 2,
  1635. DoPersonId = 8,
  1636. Coefficient = 0.20000000000000001
  1637. },
  1638. new
  1639. {
  1640. CheckerId = 2,
  1641. DoPersonId = 9,
  1642. Coefficient = 0.29999999999999999
  1643. },
  1644. new
  1645. {
  1646. CheckerId = 2,
  1647. DoPersonId = 10,
  1648. Coefficient = 0.29999999999999999
  1649. },
  1650. new
  1651. {
  1652. CheckerId = 2,
  1653. DoPersonId = 11,
  1654. Coefficient = 0.40000000000000002
  1655. },
  1656. new
  1657. {
  1658. CheckerId = 2,
  1659. DoPersonId = 12,
  1660. Coefficient = 0.40000000000000002
  1661. },
  1662. new
  1663. {
  1664. CheckerId = 2,
  1665. DoPersonId = 13,
  1666. Coefficient = 0.5
  1667. },
  1668. new
  1669. {
  1670. CheckerId = 3,
  1671. DoPersonId = 5,
  1672. Coefficient = 0.20000000000000001
  1673. },
  1674. new
  1675. {
  1676. CheckerId = 3,
  1677. DoPersonId = 6,
  1678. Coefficient = 0.20000000000000001
  1679. },
  1680. new
  1681. {
  1682. CheckerId = 3,
  1683. DoPersonId = 7,
  1684. Coefficient = 0.20000000000000001
  1685. },
  1686. new
  1687. {
  1688. CheckerId = 3,
  1689. DoPersonId = 8,
  1690. Coefficient = 0.20000000000000001
  1691. },
  1692. new
  1693. {
  1694. CheckerId = 3,
  1695. DoPersonId = 9,
  1696. Coefficient = 0.29999999999999999
  1697. },
  1698. new
  1699. {
  1700. CheckerId = 3,
  1701. DoPersonId = 10,
  1702. Coefficient = 0.29999999999999999
  1703. },
  1704. new
  1705. {
  1706. CheckerId = 3,
  1707. DoPersonId = 11,
  1708. Coefficient = 0.40000000000000002
  1709. },
  1710. new
  1711. {
  1712. CheckerId = 3,
  1713. DoPersonId = 12,
  1714. Coefficient = 0.40000000000000002
  1715. },
  1716. new
  1717. {
  1718. CheckerId = 3,
  1719. DoPersonId = 13,
  1720. Coefficient = 0.5
  1721. },
  1722. new
  1723. {
  1724. CheckerId = 4,
  1725. DoPersonId = 5,
  1726. Coefficient = 0.20000000000000001
  1727. },
  1728. new
  1729. {
  1730. CheckerId = 4,
  1731. DoPersonId = 6,
  1732. Coefficient = 0.20000000000000001
  1733. },
  1734. new
  1735. {
  1736. CheckerId = 4,
  1737. DoPersonId = 7,
  1738. Coefficient = 0.20000000000000001
  1739. },
  1740. new
  1741. {
  1742. CheckerId = 4,
  1743. DoPersonId = 8,
  1744. Coefficient = 0.20000000000000001
  1745. },
  1746. new
  1747. {
  1748. CheckerId = 4,
  1749. DoPersonId = 9,
  1750. Coefficient = 0.29999999999999999
  1751. },
  1752. new
  1753. {
  1754. CheckerId = 4,
  1755. DoPersonId = 10,
  1756. Coefficient = 0.29999999999999999
  1757. },
  1758. new
  1759. {
  1760. CheckerId = 4,
  1761. DoPersonId = 11,
  1762. Coefficient = 0.40000000000000002
  1763. },
  1764. new
  1765. {
  1766. CheckerId = 4,
  1767. DoPersonId = 12,
  1768. Coefficient = 0.40000000000000002
  1769. },
  1770. new
  1771. {
  1772. CheckerId = 4,
  1773. DoPersonId = 13,
  1774. Coefficient = 0.5
  1775. },
  1776. new
  1777. {
  1778. CheckerId = 5,
  1779. DoPersonId = 5,
  1780. Coefficient = 0.20000000000000001
  1781. },
  1782. new
  1783. {
  1784. CheckerId = 5,
  1785. DoPersonId = 6,
  1786. Coefficient = 0.20000000000000001
  1787. },
  1788. new
  1789. {
  1790. CheckerId = 5,
  1791. DoPersonId = 7,
  1792. Coefficient = 0.20000000000000001
  1793. },
  1794. new
  1795. {
  1796. CheckerId = 5,
  1797. DoPersonId = 8,
  1798. Coefficient = 0.20000000000000001
  1799. },
  1800. new
  1801. {
  1802. CheckerId = 5,
  1803. DoPersonId = 9,
  1804. Coefficient = 0.29999999999999999
  1805. },
  1806. new
  1807. {
  1808. CheckerId = 5,
  1809. DoPersonId = 10,
  1810. Coefficient = 0.29999999999999999
  1811. },
  1812. new
  1813. {
  1814. CheckerId = 5,
  1815. DoPersonId = 11,
  1816. Coefficient = 0.40000000000000002
  1817. },
  1818. new
  1819. {
  1820. CheckerId = 5,
  1821. DoPersonId = 12,
  1822. Coefficient = 0.40000000000000002
  1823. },
  1824. new
  1825. {
  1826. CheckerId = 5,
  1827. DoPersonId = 13,
  1828. Coefficient = 0.5
  1829. },
  1830. new
  1831. {
  1832. CheckerId = 6,
  1833. DoPersonId = 5,
  1834. Coefficient = 0.20000000000000001
  1835. },
  1836. new
  1837. {
  1838. CheckerId = 6,
  1839. DoPersonId = 6,
  1840. Coefficient = 0.20000000000000001
  1841. },
  1842. new
  1843. {
  1844. CheckerId = 6,
  1845. DoPersonId = 7,
  1846. Coefficient = 0.20000000000000001
  1847. },
  1848. new
  1849. {
  1850. CheckerId = 6,
  1851. DoPersonId = 8,
  1852. Coefficient = 0.20000000000000001
  1853. },
  1854. new
  1855. {
  1856. CheckerId = 6,
  1857. DoPersonId = 9,
  1858. Coefficient = 0.29999999999999999
  1859. },
  1860. new
  1861. {
  1862. CheckerId = 6,
  1863. DoPersonId = 10,
  1864. Coefficient = 0.29999999999999999
  1865. },
  1866. new
  1867. {
  1868. CheckerId = 6,
  1869. DoPersonId = 11,
  1870. Coefficient = 0.40000000000000002
  1871. },
  1872. new
  1873. {
  1874. CheckerId = 6,
  1875. DoPersonId = 12,
  1876. Coefficient = 0.40000000000000002
  1877. },
  1878. new
  1879. {
  1880. CheckerId = 6,
  1881. DoPersonId = 13,
  1882. Coefficient = 0.5
  1883. });
  1884. });
  1885. modelBuilder.Entity("wispro.sp.entity.AppealRecord", b =>
  1886. {
  1887. b.HasOne("wispro.sp.entity.Staff", "Creater")
  1888. .WithMany()
  1889. .HasForeignKey("CreaterId")
  1890. .OnDelete(DeleteBehavior.Cascade)
  1891. .IsRequired();
  1892. b.HasOne("wispro.sp.entity.Staff", "Reviewer")
  1893. .WithMany()
  1894. .HasForeignKey("ReviewerId")
  1895. .OnDelete(DeleteBehavior.NoAction)
  1896. .IsRequired();
  1897. b.HasOne("wispro.sp.entity.AppealType", "Type")
  1898. .WithMany()
  1899. .HasForeignKey("TypeId")
  1900. .OnDelete(DeleteBehavior.NoAction)
  1901. .IsRequired();
  1902. b.Navigation("Creater");
  1903. b.Navigation("Reviewer");
  1904. b.Navigation("Type");
  1905. });
  1906. modelBuilder.Entity("wispro.sp.entity.AttachFile", b =>
  1907. {
  1908. b.HasOne("wispro.sp.entity.AppealRecord", "AppealRecord")
  1909. .WithMany()
  1910. .HasForeignKey("AppealRecordId")
  1911. .HasConstraintName("FK_AttachFile_AppealRecord")
  1912. .OnDelete(DeleteBehavior.Cascade)
  1913. .IsRequired();
  1914. b.HasOne("wispro.sp.entity.AppealRecord", null)
  1915. .WithMany("AttachFiles")
  1916. .HasForeignKey("AppealRecordId1");
  1917. b.HasOne("wispro.sp.entity.Staff", "UploadUser")
  1918. .WithMany()
  1919. .HasForeignKey("UploadUserId")
  1920. .HasConstraintName("FK_AttachFile_UpdateUser")
  1921. .OnDelete(DeleteBehavior.NoAction)
  1922. .IsRequired();
  1923. b.Navigation("AppealRecord");
  1924. b.Navigation("UploadUser");
  1925. });
  1926. modelBuilder.Entity("wispro.sp.entity.Customer", b =>
  1927. {
  1928. b.HasOne("wispro.sp.entity.Staff", "ResponseMan")
  1929. .WithMany("Customers")
  1930. .HasForeignKey("ResponseManId")
  1931. .HasConstraintName("FK_Customer_Staff");
  1932. b.Navigation("ResponseMan");
  1933. });
  1934. modelBuilder.Entity("wispro.sp.entity.InputField", b =>
  1935. {
  1936. b.HasOne("wispro.sp.entity.AppealType", "AppealType")
  1937. .WithMany()
  1938. .HasForeignKey("AppealTypeId")
  1939. .OnDelete(DeleteBehavior.Cascade)
  1940. .IsRequired();
  1941. b.Navigation("AppealType");
  1942. });
  1943. modelBuilder.Entity("wispro.sp.entity.InputFieldValue", b =>
  1944. {
  1945. b.HasOne("wispro.sp.entity.AppealRecord", "AppealRecord")
  1946. .WithMany()
  1947. .HasForeignKey("AppealRecordId")
  1948. .OnDelete(DeleteBehavior.Cascade)
  1949. .IsRequired();
  1950. b.HasOne("wispro.sp.entity.InputField", "InputField")
  1951. .WithMany()
  1952. .HasForeignKey("InputFieldId")
  1953. .OnDelete(DeleteBehavior.Cascade)
  1954. .IsRequired();
  1955. b.Navigation("AppealRecord");
  1956. b.Navigation("InputField");
  1957. });
  1958. modelBuilder.Entity("wispro.sp.entity.ItemStaff", b =>
  1959. {
  1960. b.HasOne("wispro.sp.entity.Staff", "DoPerson")
  1961. .WithMany("ItemStaffs")
  1962. .HasForeignKey("DoPersonId")
  1963. .HasConstraintName("FK_ItemStaff_Staff")
  1964. .IsRequired();
  1965. b.HasOne("wispro.sp.entity.PerformanceItem", "Item")
  1966. .WithMany("ItemStaffs")
  1967. .HasForeignKey("ItemId")
  1968. .HasConstraintName("FK_ItemStaff_PerformanceItem")
  1969. .IsRequired();
  1970. b.Navigation("DoPerson");
  1971. b.Navigation("Item");
  1972. });
  1973. modelBuilder.Entity("wispro.sp.entity.Message", b =>
  1974. {
  1975. b.HasOne("wispro.sp.entity.Staff", "From")
  1976. .WithMany()
  1977. .HasForeignKey("FromId")
  1978. .HasConstraintName("FK_From_Staff")
  1979. .IsRequired();
  1980. b.Navigation("From");
  1981. });
  1982. modelBuilder.Entity("wispro.sp.entity.MessagePerformanceItem", b =>
  1983. {
  1984. b.HasOne("wispro.sp.entity.PerformanceItem", "Item")
  1985. .WithMany()
  1986. .HasForeignKey("ItemId")
  1987. .HasConstraintName("FK_MessagePerformanceItem_Item")
  1988. .OnDelete(DeleteBehavior.Cascade)
  1989. .IsRequired();
  1990. b.HasOne("wispro.sp.entity.Message", "Message")
  1991. .WithMany("RelatedItem")
  1992. .HasForeignKey("MessageId")
  1993. .HasConstraintName("FK_MessagePerformanceItem_Message")
  1994. .OnDelete(DeleteBehavior.Cascade)
  1995. .IsRequired();
  1996. b.Navigation("Item");
  1997. b.Navigation("Message");
  1998. });
  1999. modelBuilder.Entity("wispro.sp.entity.MessageReadRecord", b =>
  2000. {
  2001. b.HasOne("wispro.sp.entity.Message", "Message")
  2002. .WithMany()
  2003. .HasForeignKey("MessageId")
  2004. .HasConstraintName("FK_MessageReadRecord_Message")
  2005. .IsRequired();
  2006. b.HasOne("wispro.sp.entity.Message", null)
  2007. .WithMany("To")
  2008. .HasForeignKey("MessageId1");
  2009. b.HasOne("wispro.sp.entity.Staff", "Staff")
  2010. .WithMany()
  2011. .HasForeignKey("StaffId")
  2012. .HasConstraintName("FK_MessageReadRecord_Staff")
  2013. .IsRequired();
  2014. b.Navigation("Message");
  2015. b.Navigation("Staff");
  2016. });
  2017. modelBuilder.Entity("wispro.sp.entity.PerformanceItem", b =>
  2018. {
  2019. b.HasOne("wispro.sp.entity.CalMonth", "CalMonth")
  2020. .WithMany("PerformanceItems")
  2021. .HasForeignKey("CalMonthId")
  2022. .HasConstraintName("FK_PerformanceItem_CalMonth")
  2023. .OnDelete(DeleteBehavior.Cascade)
  2024. .IsRequired();
  2025. b.HasOne("wispro.sp.entity.Customer", "Customer")
  2026. .WithMany("PerformanceItems")
  2027. .HasForeignKey("CustomerId")
  2028. .HasConstraintName("FK_PerformanceItem_Customer");
  2029. b.HasOne("wispro.sp.entity.Staff", "PreOastaff")
  2030. .WithMany()
  2031. .HasForeignKey("PreOastaffId")
  2032. .HasConstraintName("FK_PerformanceItem_Staff");
  2033. b.HasOne("wispro.sp.entity.Staff", "Reviewer")
  2034. .WithMany("ReviewerItems")
  2035. .HasForeignKey("ReviewerId")
  2036. .HasConstraintName("FK_PerformanceItem_Reviewer");
  2037. b.Navigation("CalMonth");
  2038. b.Navigation("Customer");
  2039. b.Navigation("PreOastaff");
  2040. b.Navigation("Reviewer");
  2041. });
  2042. modelBuilder.Entity("wispro.sp.entity.Staff", b =>
  2043. {
  2044. b.HasOne("wispro.sp.entity.StaffGrade", "StaffGrade")
  2045. .WithMany("Staff")
  2046. .HasForeignKey("StaffGradeId")
  2047. .HasConstraintName("FK_Staff_StaffGrade");
  2048. b.Navigation("StaffGrade");
  2049. });
  2050. modelBuilder.Entity("wispro.sp.entity.VerifyCoefficient", b =>
  2051. {
  2052. b.HasOne("wispro.sp.entity.StaffGrade", "Checker")
  2053. .WithMany("VerifyCoefficientCheckers")
  2054. .HasForeignKey("CheckerId")
  2055. .HasConstraintName("FK_VerifyCoefficient_StaffGrade")
  2056. .IsRequired();
  2057. b.HasOne("wispro.sp.entity.StaffGrade", "DoPerson")
  2058. .WithMany("VerifyCoefficientDoPeople")
  2059. .HasForeignKey("DoPersonId")
  2060. .HasConstraintName("FK_VerifyCoefficient_StaffGrade1")
  2061. .IsRequired();
  2062. b.Navigation("Checker");
  2063. b.Navigation("DoPerson");
  2064. });
  2065. modelBuilder.Entity("wispro.sp.entity.AppealRecord", b =>
  2066. {
  2067. b.Navigation("AttachFiles");
  2068. });
  2069. modelBuilder.Entity("wispro.sp.entity.CalMonth", b =>
  2070. {
  2071. b.Navigation("PerformanceItems");
  2072. });
  2073. modelBuilder.Entity("wispro.sp.entity.Customer", b =>
  2074. {
  2075. b.Navigation("PerformanceItems");
  2076. });
  2077. modelBuilder.Entity("wispro.sp.entity.Message", b =>
  2078. {
  2079. b.Navigation("RelatedItem");
  2080. b.Navigation("To");
  2081. });
  2082. modelBuilder.Entity("wispro.sp.entity.PerformanceItem", b =>
  2083. {
  2084. b.Navigation("ItemStaffs");
  2085. });
  2086. modelBuilder.Entity("wispro.sp.entity.Staff", b =>
  2087. {
  2088. b.Navigation("Customers");
  2089. b.Navigation("ItemStaffs");
  2090. b.Navigation("ReviewerItems");
  2091. });
  2092. modelBuilder.Entity("wispro.sp.entity.StaffGrade", b =>
  2093. {
  2094. b.Navigation("Staff");
  2095. b.Navigation("VerifyCoefficientCheckers");
  2096. b.Navigation("VerifyCoefficientDoPeople");
  2097. });
  2098. #pragma warning restore 612, 618
  2099. }
  2100. }
  2101. }