BaseApi.ts 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165
  1. import api, {ResponseData} from "../api.ts";
  2. import {BaseListVo} from "../detail/DetailApi.ts";
  3. export function GetBaseArticleById(id: number | string) {
  4. return api.GetDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<Article>>;
  5. }
  6. export function GetBaseArticleListByArticle(param: Article, pageNum = 1, pageSize = 10) {
  7. return api.PostDataByPath("/back/base/article/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Article>>>;
  8. }
  9. export function GetBaseArticleListByIds(ids: number[] | string[]) {
  10. return api.PostDataByPath("/back/base/article/in", {ids: ids}, true) as Promise<ResponseData<Article[]>>;
  11. }
  12. export function SaveBaseArticle(Article: Article) {
  13. return api.PostDataByPath("/back/base/article", { article: Article}, true) as Promise<ResponseData<Article>>;
  14. }
  15. export function UpdateBaseArticle(Article: Article, id: number | string) {
  16. return api.PutDataByPath("/back/base/article", { article: Article, id: id}, true) as Promise<ResponseData<Article>>;
  17. }
  18. export function DeleteBaseArticleById(id: number | string) {
  19. return api.DeleteDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<any>>;
  20. }
  21. export function GetBaseArticleTagById(id: number | string) {
  22. return api.GetDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<ArticleTag>>;
  23. }
  24. export function GetBaseArticleTagListByArticleTag(param: ArticleTag, pageNum = 1, pageSize = 10) {
  25. return api.PostDataByPath("/back/base/articleTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTag>>>;
  26. }
  27. export function GetBaseArticleTagListByIds(ids: number[] | string[]) {
  28. return api.PostDataByPath("/back/base/articleTag/in", {ids: ids}, true) as Promise<ResponseData<ArticleTag[]>>;
  29. }
  30. export function SaveBaseArticleTag(ArticleTag: ArticleTag) {
  31. return api.PostDataByPath("/back/base/articleTag", { articleTag: ArticleTag}, true) as Promise<ResponseData<ArticleTag>>;
  32. }
  33. export function UpdateBaseArticleTag(ArticleTag: ArticleTag, id: number | string) {
  34. return api.PutDataByPath("/back/base/articleTag", { articleTag: ArticleTag, id: id}, true) as Promise<ResponseData<ArticleTag>>;
  35. }
  36. export function DeleteBaseArticleTagById(id: number | string) {
  37. return api.DeleteDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
  38. }
  39. export function GetBaseArticleTopicById(id: number | string) {
  40. return api.GetDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<ArticleTopic>>;
  41. }
  42. export function GetBaseArticleTopicListByArticleTopic(param: ArticleTopic, pageNum = 1, pageSize = 10) {
  43. return api.PostDataByPath("/back/base/articleTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTopic>>>;
  44. }
  45. export function GetBaseArticleTopicListByIds(ids: number[] | string[]) {
  46. return api.PostDataByPath("/back/base/articleTopic/in", {ids: ids}, true) as Promise<ResponseData<ArticleTopic[]>>;
  47. }
  48. export function SaveBaseArticleTopic(ArticleTopic: ArticleTopic) {
  49. return api.PostDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic}, true) as Promise<ResponseData<ArticleTopic>>;
  50. }
  51. export function UpdateBaseArticleTopic(ArticleTopic: ArticleTopic, id: number | string) {
  52. return api.PutDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic, id: id}, true) as Promise<ResponseData<ArticleTopic>>;
  53. }
  54. export function DeleteBaseArticleTopicById(id: number | string) {
  55. return api.DeleteDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
  56. }
  57. export function GetBaseBackAuthorityById(id: number | string) {
  58. return api.GetDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<BackAuthority>>;
  59. }
  60. export function GetBaseBackAuthorityListByBackAuthority(param: BackAuthority, pageNum = 1, pageSize = 10) {
  61. return api.PostDataByPath("/back/base/backAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackAuthority>>>;
  62. }
  63. export function GetBaseBackAuthorityListByIds(ids: number[] | string[]) {
  64. return api.PostDataByPath("/back/base/backAuthority/in", {ids: ids}, true) as Promise<ResponseData<BackAuthority[]>>;
  65. }
  66. export function SaveBaseBackAuthority(BackAuthority: BackAuthority) {
  67. return api.PostDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority}, true) as Promise<ResponseData<BackAuthority>>;
  68. }
  69. export function UpdateBaseBackAuthority(BackAuthority: BackAuthority, id: number | string) {
  70. return api.PutDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority, id: id}, true) as Promise<ResponseData<BackAuthority>>;
  71. }
  72. export function DeleteBaseBackAuthorityById(id: number | string) {
  73. return api.DeleteDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
  74. }
  75. export function GetBaseBackMenuById(id: number | string) {
  76. return api.GetDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<BackMenu>>;
  77. }
  78. export function GetBaseBackMenuListByBackMenu(param: BackMenu, pageNum = 1, pageSize = 10) {
  79. return api.PostDataByPath("/back/base/backMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackMenu>>>;
  80. }
  81. export function GetBaseBackMenuListByIds(ids: number[] | string[]) {
  82. return api.PostDataByPath("/back/base/backMenu/in", {ids: ids}, true) as Promise<ResponseData<BackMenu[]>>;
  83. }
  84. export function SaveBaseBackMenu(BackMenu: BackMenu) {
  85. return api.PostDataByPath("/back/base/backMenu", { backMenu: BackMenu}, true) as Promise<ResponseData<BackMenu>>;
  86. }
  87. export function UpdateBaseBackMenu(BackMenu: BackMenu, id: number | string) {
  88. return api.PutDataByPath("/back/base/backMenu", { backMenu: BackMenu, id: id}, true) as Promise<ResponseData<BackMenu>>;
  89. }
  90. export function DeleteBaseBackMenuById(id: number | string) {
  91. return api.DeleteDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
  92. }
  93. export function GetBaseBackRoleById(id: number | string) {
  94. return api.GetDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<BackRole>>;
  95. }
  96. export function GetBaseBackRoleListByBackRole(param: BackRole, pageNum = 1, pageSize = 10) {
  97. return api.PostDataByPath("/back/base/backRole/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRole>>>;
  98. }
  99. export function GetBaseBackRoleListByIds(ids: number[] | string[]) {
  100. return api.PostDataByPath("/back/base/backRole/in", {ids: ids}, true) as Promise<ResponseData<BackRole[]>>;
  101. }
  102. export function SaveBaseBackRole(BackRole: BackRole) {
  103. return api.PostDataByPath("/back/base/backRole", { backRole: BackRole}, true) as Promise<ResponseData<BackRole>>;
  104. }
  105. export function UpdateBaseBackRole(BackRole: BackRole, id: number | string) {
  106. return api.PutDataByPath("/back/base/backRole", { backRole: BackRole, id: id}, true) as Promise<ResponseData<BackRole>>;
  107. }
  108. export function DeleteBaseBackRoleById(id: number | string) {
  109. return api.DeleteDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<any>>;
  110. }
  111. export function GetBaseBackRoleAuthorityById(id: number | string) {
  112. return api.GetDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<BackRoleAuthority>>;
  113. }
  114. export function GetBaseBackRoleAuthorityListByBackRoleAuthority(param: BackRoleAuthority, pageNum = 1, pageSize = 10) {
  115. return api.PostDataByPath("/back/base/backRoleAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleAuthority>>>;
  116. }
  117. export function GetBaseBackRoleAuthorityListByIds(ids: number[] | string[]) {
  118. return api.PostDataByPath("/back/base/backRoleAuthority/in", {ids: ids}, true) as Promise<ResponseData<BackRoleAuthority[]>>;
  119. }
  120. export function SaveBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority) {
  121. return api.PostDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority}, true) as Promise<ResponseData<BackRoleAuthority>>;
  122. }
  123. export function UpdateBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority, id: number | string) {
  124. return api.PutDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority, id: id}, true) as Promise<ResponseData<BackRoleAuthority>>;
  125. }
  126. export function DeleteBaseBackRoleAuthorityById(id: number | string) {
  127. return api.DeleteDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
  128. }
  129. export function GetBaseBackRoleMenuById(id: number | string) {
  130. return api.GetDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<BackRoleMenu>>;
  131. }
  132. export function GetBaseBackRoleMenuListByBackRoleMenu(param: BackRoleMenu, pageNum = 1, pageSize = 10) {
  133. return api.PostDataByPath("/back/base/backRoleMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleMenu>>>;
  134. }
  135. export function GetBaseBackRoleMenuListByIds(ids: number[] | string[]) {
  136. return api.PostDataByPath("/back/base/backRoleMenu/in", {ids: ids}, true) as Promise<ResponseData<BackRoleMenu[]>>;
  137. }
  138. export function SaveBaseBackRoleMenu(BackRoleMenu: BackRoleMenu) {
  139. return api.PostDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu}, true) as Promise<ResponseData<BackRoleMenu>>;
  140. }
  141. export function UpdateBaseBackRoleMenu(BackRoleMenu: BackRoleMenu, id: number | string) {
  142. return api.PutDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu, id: id}, true) as Promise<ResponseData<BackRoleMenu>>;
  143. }
  144. export function DeleteBaseBackRoleMenuById(id: number | string) {
  145. return api.DeleteDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
  146. }
  147. export function GetBaseGenTableById(id: number | string) {
  148. return api.GetDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<GenTable>>;
  149. }
  150. export function GetBaseGenTableListByGenTable(param: GenTable, pageNum = 1, pageSize = 10) {
  151. return api.PostDataByPath("/back/base/genTable/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTable>>>;
  152. }
  153. export function GetBaseGenTableListByIds(ids: number[] | string[]) {
  154. return api.PostDataByPath("/back/base/genTable/in", {ids: ids}, true) as Promise<ResponseData<GenTable[]>>;
  155. }
  156. export function SaveBaseGenTable(GenTable: GenTable) {
  157. return api.PostDataByPath("/back/base/genTable", { genTable: GenTable}, true) as Promise<ResponseData<GenTable>>;
  158. }
  159. export function UpdateBaseGenTable(GenTable: GenTable, id: number | string) {
  160. return api.PutDataByPath("/back/base/genTable", { genTable: GenTable, id: id}, true) as Promise<ResponseData<GenTable>>;
  161. }
  162. export function DeleteBaseGenTableById(id: number | string) {
  163. return api.DeleteDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<any>>;
  164. }
  165. export function GetBaseGenTableColumnById(id: number | string) {
  166. return api.GetDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<GenTableColumn>>;
  167. }
  168. export function GetBaseGenTableColumnListByGenTableColumn(param: GenTableColumn, pageNum = 1, pageSize = 10) {
  169. return api.PostDataByPath("/back/base/genTableColumn/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTableColumn>>>;
  170. }
  171. export function GetBaseGenTableColumnListByIds(ids: number[] | string[]) {
  172. return api.PostDataByPath("/back/base/genTableColumn/in", {ids: ids}, true) as Promise<ResponseData<GenTableColumn[]>>;
  173. }
  174. export function SaveBaseGenTableColumn(GenTableColumn: GenTableColumn) {
  175. return api.PostDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn}, true) as Promise<ResponseData<GenTableColumn>>;
  176. }
  177. export function UpdateBaseGenTableColumn(GenTableColumn: GenTableColumn, id: number | string) {
  178. return api.PutDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn, id: id}, true) as Promise<ResponseData<GenTableColumn>>;
  179. }
  180. export function DeleteBaseGenTableColumnById(id: number | string) {
  181. return api.DeleteDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<any>>;
  182. }
  183. export function GetBaseGoodsById(id: number | string) {
  184. return api.GetDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<Goods>>;
  185. }
  186. export function GetBaseGoodsListByGoods(param: Goods, pageNum = 1, pageSize = 10) {
  187. return api.PostDataByPath("/back/base/goods/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Goods>>>;
  188. }
  189. export function GetBaseGoodsListByIds(ids: number[] | string[]) {
  190. return api.PostDataByPath("/back/base/goods/in", {ids: ids}, true) as Promise<ResponseData<Goods[]>>;
  191. }
  192. export function SaveBaseGoods(Goods: Goods) {
  193. return api.PostDataByPath("/back/base/goods", { goods: Goods}, true) as Promise<ResponseData<Goods>>;
  194. }
  195. export function UpdateBaseGoods(Goods: Goods, id: number | string) {
  196. return api.PutDataByPath("/back/base/goods", { goods: Goods, id: id}, true) as Promise<ResponseData<Goods>>;
  197. }
  198. export function DeleteBaseGoodsById(id: number | string) {
  199. return api.DeleteDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<any>>;
  200. }
  201. export function GetBaseGoodsCommodityAreaById(id: number | string) {
  202. return api.GetDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<GoodsCommodityArea>>;
  203. }
  204. export function GetBaseGoodsCommodityAreaListByGoodsCommodityArea(param: GoodsCommodityArea, pageNum = 1, pageSize = 10) {
  205. return api.PostDataByPath("/back/base/goodsCommodityArea/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCommodityArea>>>;
  206. }
  207. export function GetBaseGoodsCommodityAreaListByIds(ids: number[] | string[]) {
  208. return api.PostDataByPath("/back/base/goodsCommodityArea/in", {ids: ids}, true) as Promise<ResponseData<GoodsCommodityArea[]>>;
  209. }
  210. export function SaveBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea) {
  211. return api.PostDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea}, true) as Promise<ResponseData<GoodsCommodityArea>>;
  212. }
  213. export function UpdateBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea, id: number | string) {
  214. return api.PutDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea, id: id}, true) as Promise<ResponseData<GoodsCommodityArea>>;
  215. }
  216. export function DeleteBaseGoodsCommodityAreaById(id: number | string) {
  217. return api.DeleteDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<any>>;
  218. }
  219. export function GetBaseGoodsCouponById(id: number | string) {
  220. return api.GetDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<GoodsCoupon>>;
  221. }
  222. export function GetBaseGoodsCouponListByGoodsCoupon(param: GoodsCoupon, pageNum = 1, pageSize = 10) {
  223. return api.PostDataByPath("/back/base/goodsCoupon/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCoupon>>>;
  224. }
  225. export function GetBaseGoodsCouponListByIds(ids: number[] | string[]) {
  226. return api.PostDataByPath("/back/base/goodsCoupon/in", {ids: ids}, true) as Promise<ResponseData<GoodsCoupon[]>>;
  227. }
  228. export function SaveBaseGoodsCoupon(GoodsCoupon: GoodsCoupon) {
  229. return api.PostDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon}, true) as Promise<ResponseData<GoodsCoupon>>;
  230. }
  231. export function UpdateBaseGoodsCoupon(GoodsCoupon: GoodsCoupon, id: number | string) {
  232. return api.PutDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon, id: id}, true) as Promise<ResponseData<GoodsCoupon>>;
  233. }
  234. export function DeleteBaseGoodsCouponById(id: number | string) {
  235. return api.DeleteDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<any>>;
  236. }
  237. export function GetBaseGoodsCouponUserById(id: number | string) {
  238. return api.GetDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<GoodsCouponUser>>;
  239. }
  240. export function GetBaseGoodsCouponUserListByGoodsCouponUser(param: GoodsCouponUser, pageNum = 1, pageSize = 10) {
  241. return api.PostDataByPath("/back/base/goodsCouponUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCouponUser>>>;
  242. }
  243. export function GetBaseGoodsCouponUserListByIds(ids: number[] | string[]) {
  244. return api.PostDataByPath("/back/base/goodsCouponUser/in", {ids: ids}, true) as Promise<ResponseData<GoodsCouponUser[]>>;
  245. }
  246. export function SaveBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser) {
  247. return api.PostDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser}, true) as Promise<ResponseData<GoodsCouponUser>>;
  248. }
  249. export function UpdateBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser, id: number | string) {
  250. return api.PutDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser, id: id}, true) as Promise<ResponseData<GoodsCouponUser>>;
  251. }
  252. export function DeleteBaseGoodsCouponUserById(id: number | string) {
  253. return api.DeleteDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
  254. }
  255. export function GetBaseGoodsIntroductionById(id: number | string) {
  256. return api.GetDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<GoodsIntroduction>>;
  257. }
  258. export function GetBaseGoodsIntroductionListByGoodsIntroduction(param: GoodsIntroduction, pageNum = 1, pageSize = 10) {
  259. return api.PostDataByPath("/back/base/goodsIntroduction/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsIntroduction>>>;
  260. }
  261. export function GetBaseGoodsIntroductionListByIds(ids: number[] | string[]) {
  262. return api.PostDataByPath("/back/base/goodsIntroduction/in", {ids: ids}, true) as Promise<ResponseData<GoodsIntroduction[]>>;
  263. }
  264. export function SaveBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction) {
  265. return api.PostDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction}, true) as Promise<ResponseData<GoodsIntroduction>>;
  266. }
  267. export function UpdateBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction, id: number | string) {
  268. return api.PutDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction, id: id}, true) as Promise<ResponseData<GoodsIntroduction>>;
  269. }
  270. export function DeleteBaseGoodsIntroductionById(id: number | string) {
  271. return api.DeleteDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<any>>;
  272. }
  273. export function GetBaseGoodsOrderById(id: number | string) {
  274. return api.GetDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<GoodsOrder>>;
  275. }
  276. export function GetBaseGoodsOrderListByGoodsOrder(param: GoodsOrder, pageNum = 1, pageSize = 10) {
  277. return api.PostDataByPath("/back/base/goodsOrder/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsOrder>>>;
  278. }
  279. export function GetBaseGoodsOrderListByIds(ids: number[] | string[]) {
  280. return api.PostDataByPath("/back/base/goodsOrder/in", {ids: ids}, true) as Promise<ResponseData<GoodsOrder[]>>;
  281. }
  282. export function SaveBaseGoodsOrder(GoodsOrder: GoodsOrder) {
  283. return api.PostDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder}, true) as Promise<ResponseData<GoodsOrder>>;
  284. }
  285. export function UpdateBaseGoodsOrder(GoodsOrder: GoodsOrder, id: number | string) {
  286. return api.PutDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder, id: id}, true) as Promise<ResponseData<GoodsOrder>>;
  287. }
  288. export function DeleteBaseGoodsOrderById(id: number | string) {
  289. return api.DeleteDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<any>>;
  290. }
  291. export function GetBaseGoodsSkuById(id: number | string) {
  292. return api.GetDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<GoodsSku>>;
  293. }
  294. export function GetBaseGoodsSkuListByGoodsSku(param: GoodsSku, pageNum = 1, pageSize = 10) {
  295. return api.PostDataByPath("/back/base/goodsSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSku>>>;
  296. }
  297. export function GetBaseGoodsSkuListByIds(ids: number[] | string[]) {
  298. return api.PostDataByPath("/back/base/goodsSku/in", {ids: ids}, true) as Promise<ResponseData<GoodsSku[]>>;
  299. }
  300. export function SaveBaseGoodsSku(GoodsSku: GoodsSku) {
  301. return api.PostDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku}, true) as Promise<ResponseData<GoodsSku>>;
  302. }
  303. export function UpdateBaseGoodsSku(GoodsSku: GoodsSku, id: number | string) {
  304. return api.PutDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku, id: id}, true) as Promise<ResponseData<GoodsSku>>;
  305. }
  306. export function DeleteBaseGoodsSkuById(id: number | string) {
  307. return api.DeleteDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
  308. }
  309. export function GetBaseGoodsSkuCardById(id: number | string) {
  310. return api.GetDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<GoodsSkuCard>>;
  311. }
  312. export function GetBaseGoodsSkuCardListByGoodsSkuCard(param: GoodsSkuCard, pageNum = 1, pageSize = 10) {
  313. return api.PostDataByPath("/back/base/goodsSkuCard/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSkuCard>>>;
  314. }
  315. export function GetBaseGoodsSkuCardListByIds(ids: number[] | string[]) {
  316. return api.PostDataByPath("/back/base/goodsSkuCard/in", {ids: ids}, true) as Promise<ResponseData<GoodsSkuCard[]>>;
  317. }
  318. export function SaveBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard) {
  319. return api.PostDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard}, true) as Promise<ResponseData<GoodsSkuCard>>;
  320. }
  321. export function UpdateBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard, id: number | string) {
  322. return api.PutDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard, id: id}, true) as Promise<ResponseData<GoodsSkuCard>>;
  323. }
  324. export function DeleteBaseGoodsSkuCardById(id: number | string) {
  325. return api.DeleteDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<any>>;
  326. }
  327. export function GetBaseGoodsTagById(id: number | string) {
  328. return api.GetDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<GoodsTag>>;
  329. }
  330. export function GetBaseGoodsTagListByGoodsTag(param: GoodsTag, pageNum = 1, pageSize = 10) {
  331. return api.PostDataByPath("/back/base/goodsTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsTag>>>;
  332. }
  333. export function GetBaseGoodsTagListByIds(ids: number[] | string[]) {
  334. return api.PostDataByPath("/back/base/goodsTag/in", {ids: ids}, true) as Promise<ResponseData<GoodsTag[]>>;
  335. }
  336. export function SaveBaseGoodsTag(GoodsTag: GoodsTag) {
  337. return api.PostDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag}, true) as Promise<ResponseData<GoodsTag>>;
  338. }
  339. export function UpdateBaseGoodsTag(GoodsTag: GoodsTag, id: number | string) {
  340. return api.PutDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag, id: id}, true) as Promise<ResponseData<GoodsTag>>;
  341. }
  342. export function DeleteBaseGoodsTagById(id: number | string) {
  343. return api.DeleteDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
  344. }
  345. export function GetBaseGoodsTypeById(id: number | string) {
  346. return api.GetDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<GoodsType>>;
  347. }
  348. export function GetBaseGoodsTypeListByGoodsType(param: GoodsType, pageNum = 1, pageSize = 10) {
  349. return api.PostDataByPath("/back/base/goodsType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsType>>>;
  350. }
  351. export function GetBaseGoodsTypeListByIds(ids: number[] | string[]) {
  352. return api.PostDataByPath("/back/base/goodsType/in", {ids: ids}, true) as Promise<ResponseData<GoodsType[]>>;
  353. }
  354. export function SaveBaseGoodsType(GoodsType: GoodsType) {
  355. return api.PostDataByPath("/back/base/goodsType", { goodsType: GoodsType}, true) as Promise<ResponseData<GoodsType>>;
  356. }
  357. export function UpdateBaseGoodsType(GoodsType: GoodsType, id: number | string) {
  358. return api.PutDataByPath("/back/base/goodsType", { goodsType: GoodsType, id: id}, true) as Promise<ResponseData<GoodsType>>;
  359. }
  360. export function DeleteBaseGoodsTypeById(id: number | string) {
  361. return api.DeleteDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<any>>;
  362. }
  363. export function GetBaseUserById(id: number | string) {
  364. return api.GetDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<User>>;
  365. }
  366. export function GetBaseUserListByUser(param: User, pageNum = 1, pageSize = 10) {
  367. return api.PostDataByPath("/back/base/user/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<User>>>;
  368. }
  369. export function GetBaseUserListByIds(ids: number[] | string[]) {
  370. return api.PostDataByPath("/back/base/user/in", {ids: ids}, true) as Promise<ResponseData<User[]>>;
  371. }
  372. export function SaveBaseUser(User: User) {
  373. return api.PostDataByPath("/back/base/user", { user: User}, true) as Promise<ResponseData<User>>;
  374. }
  375. export function UpdateBaseUser(User: User, id: number | string) {
  376. return api.PutDataByPath("/back/base/user", { user: User, id: id}, true) as Promise<ResponseData<User>>;
  377. }
  378. export function DeleteBaseUserById(id: number | string) {
  379. return api.DeleteDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<any>>;
  380. }
  381. export function GetBaseUserWalletById(id: number | string) {
  382. return api.GetDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<UserWallet>>;
  383. }
  384. export function GetBaseUserWalletListByUserWallet(param: UserWallet, pageNum = 1, pageSize = 10) {
  385. return api.PostDataByPath("/back/base/userWallet/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<UserWallet>>>;
  386. }
  387. export function GetBaseUserWalletListByIds(ids: number[] | string[]) {
  388. return api.PostDataByPath("/back/base/userWallet/in", {ids: ids}, true) as Promise<ResponseData<UserWallet[]>>;
  389. }
  390. export function SaveBaseUserWallet(UserWallet: UserWallet) {
  391. return api.PostDataByPath("/back/base/userWallet", { userWallet: UserWallet}, true) as Promise<ResponseData<UserWallet>>;
  392. }
  393. export function UpdateBaseUserWallet(UserWallet: UserWallet, id: number | string) {
  394. return api.PutDataByPath("/back/base/userWallet", { userWallet: UserWallet, id: id}, true) as Promise<ResponseData<UserWallet>>;
  395. }
  396. export function DeleteBaseUserWalletById(id: number | string) {
  397. return api.DeleteDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<any>>;
  398. }
  399. export function GetBaseDictDataById(id: number | string) {
  400. return api.GetDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<DictData>>;
  401. }
  402. export function GetBaseDictDataListByDictData(param: DictData, pageNum = 1, pageSize = 10) {
  403. return api.PostDataByPath("/back/base/dictData/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictData>>>;
  404. }
  405. export function GetBaseDictDataListByIds(ids: number[] | string[]) {
  406. return api.PostDataByPath("/back/base/dictData/in", {ids: ids}, true) as Promise<ResponseData<DictData[]>>;
  407. }
  408. export function SaveBaseDictData(DictData: DictData) {
  409. return api.PostDataByPath("/back/base/dictData", { dictData: DictData}, true) as Promise<ResponseData<DictData>>;
  410. }
  411. export function UpdateBaseDictData(DictData: DictData, id: number | string) {
  412. return api.PutDataByPath("/back/base/dictData", { dictData: DictData, id: id}, true) as Promise<ResponseData<DictData>>;
  413. }
  414. export function DeleteBaseDictDataById(id: number | string) {
  415. return api.DeleteDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<any>>;
  416. }
  417. export function GetBaseDictTypeById(id: number | string) {
  418. return api.GetDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<DictType>>;
  419. }
  420. export function GetBaseDictTypeListByDictType(param: DictType, pageNum = 1, pageSize = 10) {
  421. return api.PostDataByPath("/back/base/dictType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictType>>>;
  422. }
  423. export function GetBaseDictTypeListByIds(ids: number[] | string[]) {
  424. return api.PostDataByPath("/back/base/dictType/in", {ids: ids}, true) as Promise<ResponseData<DictType[]>>;
  425. }
  426. export function SaveBaseDictType(DictType: DictType) {
  427. return api.PostDataByPath("/back/base/dictType", { dictType: DictType}, true) as Promise<ResponseData<DictType>>;
  428. }
  429. export function UpdateBaseDictType(DictType: DictType, id: number | string) {
  430. return api.PutDataByPath("/back/base/dictType", { dictType: DictType, id: id}, true) as Promise<ResponseData<DictType>>;
  431. }
  432. export function DeleteBaseDictTypeById(id: number | string) {
  433. return api.DeleteDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<any>>;
  434. }
  435. export function GetBaseManageUserById(id: number | string) {
  436. return api.GetDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<ManageUser>>;
  437. }
  438. export function GetBaseManageUserListByManageUser(param: ManageUser, pageNum = 1, pageSize = 10) {
  439. return api.PostDataByPath("/back/base/manageUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ManageUser>>>;
  440. }
  441. export function GetBaseManageUserListByIds(ids: number[] | string[]) {
  442. return api.PostDataByPath("/back/base/manageUser/in", {ids: ids}, true) as Promise<ResponseData<ManageUser[]>>;
  443. }
  444. export function SaveBaseManageUser(ManageUser: ManageUser) {
  445. return api.PostDataByPath("/back/base/manageUser", { manageUser: ManageUser}, true) as Promise<ResponseData<ManageUser>>;
  446. }
  447. export function UpdateBaseManageUser(ManageUser: ManageUser, id: number | string) {
  448. return api.PutDataByPath("/back/base/manageUser", { manageUser: ManageUser, id: id}, true) as Promise<ResponseData<ManageUser>>;
  449. }
  450. export function DeleteBaseManageUserById(id: number | string) {
  451. return api.DeleteDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
  452. }
  453. export function GetBaseShopTopicById(id: number | string) {
  454. return api.GetDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<ShopTopic>>;
  455. }
  456. export function GetBaseShopTopicListByShopTopic(param: ShopTopic, pageNum = 1, pageSize = 10) {
  457. return api.PostDataByPath("/back/base/shopTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopic>>>;
  458. }
  459. export function GetBaseShopTopicListByIds(ids: number[] | string[]) {
  460. return api.PostDataByPath("/back/base/shopTopic/in", {ids: ids}, true) as Promise<ResponseData<ShopTopic[]>>;
  461. }
  462. export function SaveBaseShopTopic(ShopTopic: ShopTopic) {
  463. return api.PostDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic}, true) as Promise<ResponseData<ShopTopic>>;
  464. }
  465. export function UpdateBaseShopTopic(ShopTopic: ShopTopic, id: number | string) {
  466. return api.PutDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic, id: id}, true) as Promise<ResponseData<ShopTopic>>;
  467. }
  468. export function DeleteBaseShopTopicById(id: number | string) {
  469. return api.DeleteDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
  470. }
  471. export function GetBaseShopAdviceCarouselById(id: number | string) {
  472. return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  473. }
  474. export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
  475. return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
  476. }
  477. export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
  478. return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {ids: ids}, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
  479. }
  480. export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
  481. return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  482. }
  483. export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
  484. return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  485. }
  486. export function DeleteBaseShopAdviceCarouselById(id: number | string) {
  487. return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
  488. }
  489. export function GetBaseShopTopicSkuById(id: number | string) {
  490. return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
  491. }
  492. export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
  493. return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
  494. }
  495. export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
  496. return api.PostDataByPath("/back/base/shopTopicSku/in", {ids: ids}, true) as Promise<ResponseData<ShopTopicSku[]>>;
  497. }
  498. export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
  499. return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
  500. }
  501. export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
  502. return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
  503. }
  504. export function DeleteBaseShopTopicSkuById(id: number | string) {
  505. return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
  506. }
  507. export class Article{
  508. id: number
  509. articleTitle: string
  510. articleContent: string
  511. state: string
  512. articleTagIds: string
  513. articleTopicId: number
  514. image: string
  515. publishTime: string
  516. eyeFill: number
  517. likeCount: number
  518. createBy: string
  519. createTime: string
  520. updateBy: string
  521. updateTime: string
  522. articleDesc: string
  523. static Create(){
  524. return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  525. }
  526. constructor( id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTime: string,eyeFill: number,likeCount: number,createBy: string,createTime: string,updateBy: string,updateTime: string,articleDesc: string,) {
  527. this.id = id;
  528. this.articleTitle = articleTitle;
  529. this.articleContent = articleContent;
  530. this.state = state;
  531. this.articleTagIds = articleTagIds;
  532. this.articleTopicId = articleTopicId;
  533. this.image = image;
  534. this.publishTime = publishTime;
  535. this.eyeFill = eyeFill;
  536. this.likeCount = likeCount;
  537. this.createBy = createBy;
  538. this.createTime = createTime;
  539. this.updateBy = updateBy;
  540. this.updateTime = updateTime;
  541. this.articleDesc = articleDesc;
  542. }
  543. }
  544. export class ArticleTag{
  545. id: number
  546. tagName: string
  547. tagDesc: string
  548. tagTextColor: string
  549. tagBackgroundColor: string
  550. static Create(){
  551. return new ArticleTag(null,null,null,null,null,);
  552. }
  553. constructor( id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) {
  554. this.id = id;
  555. this.tagName = tagName;
  556. this.tagDesc = tagDesc;
  557. this.tagTextColor = tagTextColor;
  558. this.tagBackgroundColor = tagBackgroundColor;
  559. }
  560. }
  561. export class ArticleTopic{
  562. id: number
  563. image: string
  564. topicName: string
  565. topicDesc: string
  566. static Create(){
  567. return new ArticleTopic(null,null,null,null,);
  568. }
  569. constructor( id: number,image: string,topicName: string,topicDesc: string,) {
  570. this.id = id;
  571. this.image = image;
  572. this.topicName = topicName;
  573. this.topicDesc = topicDesc;
  574. }
  575. }
  576. export class BackAuthority{
  577. id: number
  578. authorityName: string
  579. authorityPath: string
  580. method: string
  581. state: string
  582. authorityVerification: string
  583. createTime: string
  584. static Create(){
  585. return new BackAuthority(null,null,null,null,null,null,null,);
  586. }
  587. constructor( id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
  588. this.id = id;
  589. this.authorityName = authorityName;
  590. this.authorityPath = authorityPath;
  591. this.method = method;
  592. this.state = state;
  593. this.authorityVerification = authorityVerification;
  594. this.createTime = createTime;
  595. }
  596. }
  597. export class BackMenu{
  598. id: number
  599. backMenuName: string
  600. backMenuPater: number
  601. sort: number
  602. icon: string
  603. remark: string
  604. backRouterPath: string
  605. state: string
  606. static Create(){
  607. return new BackMenu(null,null,null,null,null,null,null,null,);
  608. }
  609. constructor( id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  610. this.id = id;
  611. this.backMenuName = backMenuName;
  612. this.backMenuPater = backMenuPater;
  613. this.sort = sort;
  614. this.icon = icon;
  615. this.remark = remark;
  616. this.backRouterPath = backRouterPath;
  617. this.state = state;
  618. }
  619. }
  620. export class BackRole{
  621. id: number
  622. roleName: string
  623. static Create(){
  624. return new BackRole(null,null,);
  625. }
  626. constructor( id: number,roleName: string,) {
  627. this.id = id;
  628. this.roleName = roleName;
  629. }
  630. }
  631. export class BackRoleAuthority{
  632. id: number
  633. roleId: number
  634. authorityId: number
  635. static Create(){
  636. return new BackRoleAuthority(null,null,null,);
  637. }
  638. constructor( id: number,roleId: number,authorityId: number,) {
  639. this.id = id;
  640. this.roleId = roleId;
  641. this.authorityId = authorityId;
  642. }
  643. }
  644. export class BackRoleMenu{
  645. id: number
  646. roleId: number
  647. menuId: number
  648. static Create(){
  649. return new BackRoleMenu(null,null,null,);
  650. }
  651. constructor( id: number,roleId: number,menuId: number,) {
  652. this.id = id;
  653. this.roleId = roleId;
  654. this.menuId = menuId;
  655. }
  656. }
  657. export class GenTable{
  658. id: number
  659. tableName: string
  660. tableComment: string
  661. name: string
  662. routerName: string
  663. remark: string
  664. static Create(){
  665. return new GenTable(null,null,null,null,null,null,);
  666. }
  667. constructor( id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  668. this.id = id;
  669. this.tableName = tableName;
  670. this.tableComment = tableComment;
  671. this.name = name;
  672. this.routerName = routerName;
  673. this.remark = remark;
  674. }
  675. }
  676. export class GenTableColumn{
  677. id: number
  678. tableId: number
  679. sort: number
  680. columnComment: string
  681. columnType: string
  682. goType: string
  683. goField: string
  684. isKey: string
  685. isIncrement: string
  686. isRequired: string
  687. queryType: string
  688. vueShowType: string
  689. dictType: string
  690. columnName: string
  691. static Create(){
  692. return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  693. }
  694. constructor( id: number,tableId: number,sort: number,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,columnName: string,) {
  695. this.id = id;
  696. this.tableId = tableId;
  697. this.sort = sort;
  698. this.columnComment = columnComment;
  699. this.columnType = columnType;
  700. this.goType = goType;
  701. this.goField = goField;
  702. this.isKey = isKey;
  703. this.isIncrement = isIncrement;
  704. this.isRequired = isRequired;
  705. this.queryType = queryType;
  706. this.vueShowType = vueShowType;
  707. this.dictType = dictType;
  708. this.columnName = columnName;
  709. }
  710. }
  711. export class Goods{
  712. id: number
  713. typeId: number
  714. goodsName: string
  715. introductionId: number
  716. salesVolume: number
  717. tagIds: string
  718. static Create(){
  719. return new Goods(null,null,null,null,null,null,);
  720. }
  721. constructor( id: number,typeId: number,goodsName: string,introductionId: number,salesVolume: number,tagIds: string,) {
  722. this.id = id;
  723. this.typeId = typeId;
  724. this.goodsName = goodsName;
  725. this.introductionId = introductionId;
  726. this.salesVolume = salesVolume;
  727. this.tagIds = tagIds;
  728. }
  729. }
  730. export class GoodsCommodityArea{
  731. id: number
  732. goodsId: number
  733. commodityAreaName: string
  734. detailImage: string
  735. detailIntroductionId: number
  736. static Create(){
  737. return new GoodsCommodityArea(null,null,null,null,null,);
  738. }
  739. constructor( id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  740. this.id = id;
  741. this.goodsId = goodsId;
  742. this.commodityAreaName = commodityAreaName;
  743. this.detailImage = detailImage;
  744. this.detailIntroductionId = detailIntroductionId;
  745. }
  746. }
  747. export class GoodsCoupon{
  748. id: number
  749. couponName: string
  750. couponDesc: string
  751. cashBackPoint: number
  752. cashBackPrice: number
  753. conditionByTopic: string
  754. conditionByType: string
  755. conditionByGoods: string
  756. grantCount: string
  757. count: number
  758. receiveType: string
  759. validity: string
  760. validityPeriod: string
  761. static Create(){
  762. return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  763. }
  764. constructor( id: number,couponName: string,couponDesc: string,cashBackPoint: number,cashBackPrice: number,conditionByTopic: string,conditionByType: string,conditionByGoods: string,grantCount: string,count: number,receiveType: string,validity: string,validityPeriod: string,) {
  765. this.id = id;
  766. this.couponName = couponName;
  767. this.couponDesc = couponDesc;
  768. this.cashBackPoint = cashBackPoint;
  769. this.cashBackPrice = cashBackPrice;
  770. this.conditionByTopic = conditionByTopic;
  771. this.conditionByType = conditionByType;
  772. this.conditionByGoods = conditionByGoods;
  773. this.grantCount = grantCount;
  774. this.count = count;
  775. this.receiveType = receiveType;
  776. this.validity = validity;
  777. this.validityPeriod = validityPeriod;
  778. }
  779. }
  780. export class GoodsCouponUser{
  781. id: number
  782. userId: number
  783. couponId: number
  784. collectionTime: string
  785. state: string
  786. static Create(){
  787. return new GoodsCouponUser(null,null,null,null,null,);
  788. }
  789. constructor( id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  790. this.id = id;
  791. this.userId = userId;
  792. this.couponId = couponId;
  793. this.collectionTime = collectionTime;
  794. this.state = state;
  795. }
  796. }
  797. export class GoodsIntroduction{
  798. id: number
  799. goodsArticleName: string
  800. goodsArticle: string
  801. createBy: string
  802. createTime: string
  803. updateBy: string
  804. updateTime: string
  805. static Create(){
  806. return new GoodsIntroduction(null,null,null,null,null,null,null,);
  807. }
  808. constructor( id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  809. this.id = id;
  810. this.goodsArticleName = goodsArticleName;
  811. this.goodsArticle = goodsArticle;
  812. this.createBy = createBy;
  813. this.createTime = createTime;
  814. this.updateBy = updateBy;
  815. this.updateTime = updateTime;
  816. }
  817. }
  818. export class GoodsOrder{
  819. id: number
  820. orderName: string
  821. skuId: number
  822. count: number
  823. price: number
  824. totalPrice: number
  825. contactInformation: string
  826. couponUserId: number
  827. state: string
  828. createBy: number
  829. createTime: string
  830. otherData: string
  831. static Create(){
  832. return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,null,);
  833. }
  834. constructor( id: number,orderName: string,skuId: number,count: number,price: number,totalPrice: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,otherData: string,) {
  835. this.id = id;
  836. this.orderName = orderName;
  837. this.skuId = skuId;
  838. this.count = count;
  839. this.price = price;
  840. this.totalPrice = totalPrice;
  841. this.contactInformation = contactInformation;
  842. this.couponUserId = couponUserId;
  843. this.state = state;
  844. this.createBy = createBy;
  845. this.createTime = createTime;
  846. this.otherData = otherData;
  847. }
  848. }
  849. export class GoodsSku{
  850. id: number
  851. skuImage: string
  852. skuName: string
  853. price: number
  854. historicalPrices: number
  855. inventoryNumber: number
  856. commodityAreaId: number
  857. goodsId: number
  858. createBy: string
  859. createTime: string
  860. static Create(){
  861. return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
  862. }
  863. constructor( id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
  864. this.id = id;
  865. this.skuImage = skuImage;
  866. this.skuName = skuName;
  867. this.price = price;
  868. this.historicalPrices = historicalPrices;
  869. this.inventoryNumber = inventoryNumber;
  870. this.commodityAreaId = commodityAreaId;
  871. this.goodsId = goodsId;
  872. this.createBy = createBy;
  873. this.createTime = createTime;
  874. }
  875. }
  876. export class GoodsSkuCard{
  877. id: number
  878. cardName: string
  879. state: string
  880. count: number
  881. totalCount: string
  882. cardKey: string
  883. use: string
  884. uploadTime: string
  885. skuId: number
  886. sort: string
  887. static Create(){
  888. return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
  889. }
  890. constructor( id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
  891. this.id = id;
  892. this.cardName = cardName;
  893. this.state = state;
  894. this.count = count;
  895. this.totalCount = totalCount;
  896. this.cardKey = cardKey;
  897. this.use = use;
  898. this.uploadTime = uploadTime;
  899. this.skuId = skuId;
  900. this.sort = sort;
  901. }
  902. }
  903. export class GoodsTag{
  904. id: number
  905. name: string
  906. iconUrl: string
  907. tag: string
  908. static Create(){
  909. return new GoodsTag(null,null,null,null,);
  910. }
  911. constructor( id: number,name: string,iconUrl: string,tag: string,) {
  912. this.id = id;
  913. this.name = name;
  914. this.iconUrl = iconUrl;
  915. this.tag = tag;
  916. }
  917. }
  918. export class GoodsType{
  919. id: number
  920. sort: number
  921. typeImage: string
  922. typeName: string
  923. createTime: string
  924. static Create(){
  925. return new GoodsType(null,null,null,null,null,);
  926. }
  927. constructor( id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
  928. this.id = id;
  929. this.sort = sort;
  930. this.typeImage = typeImage;
  931. this.typeName = typeName;
  932. this.createTime = createTime;
  933. }
  934. }
  935. export class User{
  936. id: number
  937. username: string
  938. password: string
  939. creationTime: number
  940. loginTime: number
  941. status: string
  942. roleId: number
  943. phone: string
  944. email: string
  945. name: string
  946. avatar: string
  947. recommendCode: string
  948. inviterBy: number
  949. static Create(){
  950. return new User(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  951. }
  952. constructor( id: number,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,name: string,avatar: string,recommendCode: string,inviterBy: number,) {
  953. this.id = id;
  954. this.username = username;
  955. this.password = password;
  956. this.creationTime = creationTime;
  957. this.loginTime = loginTime;
  958. this.status = status;
  959. this.roleId = roleId;
  960. this.phone = phone;
  961. this.email = email;
  962. this.name = name;
  963. this.avatar = avatar;
  964. this.recommendCode = recommendCode;
  965. this.inviterBy = inviterBy;
  966. }
  967. }
  968. export class UserWallet{
  969. id: number
  970. userId: number
  971. balance: number
  972. promotionAmount: number
  973. rechargeAmount: number
  974. static Create(){
  975. return new UserWallet(null,null,null,null,null,);
  976. }
  977. constructor( id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
  978. this.id = id;
  979. this.userId = userId;
  980. this.balance = balance;
  981. this.promotionAmount = promotionAmount;
  982. this.rechargeAmount = rechargeAmount;
  983. }
  984. }
  985. export class DictData{
  986. id: number
  987. sort: number
  988. dictLabel: string
  989. dictValue: string
  990. dictType: string
  991. status: string
  992. cssStyle: string
  993. isDefault: string
  994. remark: string
  995. static Create(){
  996. return new DictData(null,null,null,null,null,null,null,null,null,);
  997. }
  998. constructor( id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  999. this.id = id;
  1000. this.sort = sort;
  1001. this.dictLabel = dictLabel;
  1002. this.dictValue = dictValue;
  1003. this.dictType = dictType;
  1004. this.status = status;
  1005. this.cssStyle = cssStyle;
  1006. this.isDefault = isDefault;
  1007. this.remark = remark;
  1008. }
  1009. }
  1010. export class DictType{
  1011. id: number
  1012. dictName: string
  1013. dictType: string
  1014. status: string
  1015. remark: string
  1016. static Create(){
  1017. return new DictType(null,null,null,null,null,);
  1018. }
  1019. constructor( id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1020. this.id = id;
  1021. this.dictName = dictName;
  1022. this.dictType = dictType;
  1023. this.status = status;
  1024. this.remark = remark;
  1025. }
  1026. }
  1027. export class ManageUser{
  1028. id: number
  1029. name: string
  1030. username: string
  1031. password: string
  1032. creationTime: number
  1033. loginTime: number
  1034. status: string
  1035. roleId: number
  1036. phone: string
  1037. email: string
  1038. avatar: string
  1039. static Create(){
  1040. return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
  1041. }
  1042. constructor( id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
  1043. this.id = id;
  1044. this.name = name;
  1045. this.username = username;
  1046. this.password = password;
  1047. this.creationTime = creationTime;
  1048. this.loginTime = loginTime;
  1049. this.status = status;
  1050. this.roleId = roleId;
  1051. this.phone = phone;
  1052. this.email = email;
  1053. this.avatar = avatar;
  1054. }
  1055. }
  1056. export class ShopTopic{
  1057. id: number
  1058. sort: string
  1059. parentId: number
  1060. topicPageImage: string
  1061. topicName: string
  1062. topicDesc: string
  1063. typeIds: string
  1064. static Create(){
  1065. return new ShopTopic(null,null,null,null,null,null,null,);
  1066. }
  1067. constructor( id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1068. this.id = id;
  1069. this.sort = sort;
  1070. this.parentId = parentId;
  1071. this.topicPageImage = topicPageImage;
  1072. this.topicName = topicName;
  1073. this.topicDesc = topicDesc;
  1074. this.typeIds = typeIds;
  1075. }
  1076. }
  1077. export class ShopAdviceCarousel{
  1078. id: number
  1079. name: string
  1080. toId: number
  1081. adviceType: string
  1082. sort: string
  1083. state: string
  1084. showType: string
  1085. createBy: string
  1086. createTime: string
  1087. updateBy: string
  1088. updateTime: string
  1089. imageUrl: string
  1090. toType: string
  1091. static Create(){
  1092. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1093. }
  1094. constructor( id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,imageUrl: string,toType: string,) {
  1095. this.id = id;
  1096. this.name = name;
  1097. this.toId = toId;
  1098. this.adviceType = adviceType;
  1099. this.sort = sort;
  1100. this.state = state;
  1101. this.showType = showType;
  1102. this.createBy = createBy;
  1103. this.createTime = createTime;
  1104. this.updateBy = updateBy;
  1105. this.updateTime = updateTime;
  1106. this.imageUrl = imageUrl;
  1107. this.toType = toType;
  1108. }
  1109. }
  1110. export class ShopTopicSku{
  1111. id: number
  1112. topicId: number
  1113. skuId: number
  1114. static Create(){
  1115. return new ShopTopicSku(null,null,null,);
  1116. }
  1117. constructor( id: number,topicId: number,skuId: number,) {
  1118. this.id = id;
  1119. this.topicId = topicId;
  1120. this.skuId = skuId;
  1121. }
  1122. }
  1123. export class ArticleQuery{
  1124. id: number
  1125. articleTitle: string
  1126. articleContent: string
  1127. state: string
  1128. articleTagIds: string
  1129. articleTopicId: number
  1130. image: string
  1131. publishTime: string
  1132. eyeFill: number
  1133. likeCount: number
  1134. createBy: string
  1135. createTime: string
  1136. updateBy: string
  1137. updateTime: string
  1138. articleDesc: string
  1139. static Create(){
  1140. return new ArticleQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1141. }
  1142. constructor(id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTime: string,eyeFill: number,likeCount: number,createBy: string,createTime: string,updateBy: string,updateTime: string,articleDesc: string,) {
  1143. this.id = id;
  1144. this.articleTitle = articleTitle;
  1145. this.articleContent = articleContent;
  1146. this.state = state;
  1147. this.articleTagIds = articleTagIds;
  1148. this.articleTopicId = articleTopicId;
  1149. this.image = image;
  1150. this.publishTime = publishTime;
  1151. this.eyeFill = eyeFill;
  1152. this.likeCount = likeCount;
  1153. this.createBy = createBy;
  1154. this.createTime = createTime;
  1155. this.updateBy = updateBy;
  1156. this.updateTime = updateTime;
  1157. this.articleDesc = articleDesc;
  1158. }
  1159. }
  1160. export class ArticleTagQuery{
  1161. id: number
  1162. tagName: string
  1163. tagDesc: string
  1164. tagTextColor: string
  1165. tagBackgroundColor: string
  1166. static Create(){
  1167. return new ArticleTagQuery(null,null,null,null,null,);
  1168. }
  1169. constructor(id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) {
  1170. this.id = id;
  1171. this.tagName = tagName;
  1172. this.tagDesc = tagDesc;
  1173. this.tagTextColor = tagTextColor;
  1174. this.tagBackgroundColor = tagBackgroundColor;
  1175. }
  1176. }
  1177. export class ArticleTopicQuery{
  1178. id: number
  1179. image: string
  1180. topicName: string
  1181. topicDesc: string
  1182. static Create(){
  1183. return new ArticleTopicQuery(null,null,null,null,);
  1184. }
  1185. constructor(id: number,image: string,topicName: string,topicDesc: string,) {
  1186. this.id = id;
  1187. this.image = image;
  1188. this.topicName = topicName;
  1189. this.topicDesc = topicDesc;
  1190. }
  1191. }
  1192. export class BackAuthorityQuery{
  1193. id: number
  1194. authorityName: string
  1195. authorityPath: string
  1196. method: string
  1197. state: string
  1198. authorityVerification: string
  1199. createTimeStart: string
  1200. createTimeEnd: string
  1201. static Create(){
  1202. return new BackAuthorityQuery(null,null,null,null,null,null,null,null,);
  1203. }
  1204. constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTimeStart: string,createTimeEnd: string,) {
  1205. this.id = id;
  1206. this.authorityName = authorityName;
  1207. this.authorityPath = authorityPath;
  1208. this.method = method;
  1209. this.state = state;
  1210. this.authorityVerification = authorityVerification;
  1211. this.createTimeStart = createTimeStart;
  1212. this.createTimeEnd = createTimeEnd;
  1213. }
  1214. }
  1215. export class BackMenuQuery{
  1216. id: number
  1217. backMenuName: string
  1218. backMenuPater: number
  1219. sort: number
  1220. icon: string
  1221. remark: string
  1222. backRouterPath: string
  1223. state: string
  1224. static Create(){
  1225. return new BackMenuQuery(null,null,null,null,null,null,null,null,);
  1226. }
  1227. constructor(id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  1228. this.id = id;
  1229. this.backMenuName = backMenuName;
  1230. this.backMenuPater = backMenuPater;
  1231. this.sort = sort;
  1232. this.icon = icon;
  1233. this.remark = remark;
  1234. this.backRouterPath = backRouterPath;
  1235. this.state = state;
  1236. }
  1237. }
  1238. export class BackRoleQuery{
  1239. id: number
  1240. roleName: string
  1241. static Create(){
  1242. return new BackRoleQuery(null,null,);
  1243. }
  1244. constructor(id: number,roleName: string,) {
  1245. this.id = id;
  1246. this.roleName = roleName;
  1247. }
  1248. }
  1249. export class BackRoleAuthorityQuery{
  1250. id: number
  1251. roleId: number
  1252. authorityId: number
  1253. static Create(){
  1254. return new BackRoleAuthorityQuery(null,null,null,);
  1255. }
  1256. constructor(id: number,roleId: number,authorityId: number,) {
  1257. this.id = id;
  1258. this.roleId = roleId;
  1259. this.authorityId = authorityId;
  1260. }
  1261. }
  1262. export class BackRoleMenuQuery{
  1263. id: number
  1264. roleId: number
  1265. menuId: number
  1266. static Create(){
  1267. return new BackRoleMenuQuery(null,null,null,);
  1268. }
  1269. constructor(id: number,roleId: number,menuId: number,) {
  1270. this.id = id;
  1271. this.roleId = roleId;
  1272. this.menuId = menuId;
  1273. }
  1274. }
  1275. export class GenTableQuery{
  1276. id: number
  1277. tableName: string
  1278. tableComment: string
  1279. name: string
  1280. routerName: string
  1281. remark: string
  1282. static Create(){
  1283. return new GenTableQuery(null,null,null,null,null,null,);
  1284. }
  1285. constructor(id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  1286. this.id = id;
  1287. this.tableName = tableName;
  1288. this.tableComment = tableComment;
  1289. this.name = name;
  1290. this.routerName = routerName;
  1291. this.remark = remark;
  1292. }
  1293. }
  1294. export class GenTableColumnQuery{
  1295. id: number
  1296. tableId: number
  1297. sort: number
  1298. columnComment: string
  1299. columnType: string
  1300. goType: string
  1301. goField: string
  1302. isKey: string
  1303. isIncrement: string
  1304. isRequired: string
  1305. queryType: string
  1306. vueShowType: string
  1307. dictType: string
  1308. columnName: string
  1309. static Create(){
  1310. return new GenTableColumnQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1311. }
  1312. constructor(id: number,tableId: number,sort: number,columnComment: string,columnType: string,goType: string,goField: string,isKey: string,isIncrement: string,isRequired: string,queryType: string,vueShowType: string,dictType: string,columnName: string,) {
  1313. this.id = id;
  1314. this.tableId = tableId;
  1315. this.sort = sort;
  1316. this.columnComment = columnComment;
  1317. this.columnType = columnType;
  1318. this.goType = goType;
  1319. this.goField = goField;
  1320. this.isKey = isKey;
  1321. this.isIncrement = isIncrement;
  1322. this.isRequired = isRequired;
  1323. this.queryType = queryType;
  1324. this.vueShowType = vueShowType;
  1325. this.dictType = dictType;
  1326. this.columnName = columnName;
  1327. }
  1328. }
  1329. export class GoodsQuery{
  1330. id: number
  1331. typeId: number
  1332. goodsName: string
  1333. introductionId: number
  1334. salesVolumeStart: number
  1335. salesVolumeEnd: number
  1336. tagIds: string
  1337. static Create(){
  1338. return new GoodsQuery(null,null,null,null,null,null,null,);
  1339. }
  1340. constructor(id: number,typeId: number,goodsName: string,introductionId: number,salesVolumeStart: number,salesVolumeEnd: number,tagIds: string,) {
  1341. this.id = id;
  1342. this.typeId = typeId;
  1343. this.goodsName = goodsName;
  1344. this.introductionId = introductionId;
  1345. this.salesVolumeStart = salesVolumeStart;
  1346. this.salesVolumeEnd = salesVolumeEnd;
  1347. this.tagIds = tagIds;
  1348. }
  1349. }
  1350. export class GoodsCommodityAreaQuery{
  1351. id: number
  1352. goodsId: number
  1353. commodityAreaName: string
  1354. detailImage: string
  1355. detailIntroductionId: number
  1356. static Create(){
  1357. return new GoodsCommodityAreaQuery(null,null,null,null,null,);
  1358. }
  1359. constructor(id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  1360. this.id = id;
  1361. this.goodsId = goodsId;
  1362. this.commodityAreaName = commodityAreaName;
  1363. this.detailImage = detailImage;
  1364. this.detailIntroductionId = detailIntroductionId;
  1365. }
  1366. }
  1367. export class GoodsCouponQuery{
  1368. id: number
  1369. couponName: string
  1370. couponDesc: string
  1371. cashBackPoint: number
  1372. cashBackPrice: number
  1373. conditionByTopic: string
  1374. conditionByType: string
  1375. conditionByGoods: string
  1376. grantCount: string
  1377. count: number
  1378. receiveType: string
  1379. validity: string
  1380. validityPeriod: string
  1381. static Create(){
  1382. return new GoodsCouponQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1383. }
  1384. constructor(id: number,couponName: string,couponDesc: string,cashBackPoint: number,cashBackPrice: number,conditionByTopic: string,conditionByType: string,conditionByGoods: string,grantCount: string,count: number,receiveType: string,validity: string,validityPeriod: string,) {
  1385. this.id = id;
  1386. this.couponName = couponName;
  1387. this.couponDesc = couponDesc;
  1388. this.cashBackPoint = cashBackPoint;
  1389. this.cashBackPrice = cashBackPrice;
  1390. this.conditionByTopic = conditionByTopic;
  1391. this.conditionByType = conditionByType;
  1392. this.conditionByGoods = conditionByGoods;
  1393. this.grantCount = grantCount;
  1394. this.count = count;
  1395. this.receiveType = receiveType;
  1396. this.validity = validity;
  1397. this.validityPeriod = validityPeriod;
  1398. }
  1399. }
  1400. export class GoodsCouponUserQuery{
  1401. id: number
  1402. userId: number
  1403. couponId: number
  1404. collectionTime: string
  1405. state: string
  1406. static Create(){
  1407. return new GoodsCouponUserQuery(null,null,null,null,null,);
  1408. }
  1409. constructor(id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  1410. this.id = id;
  1411. this.userId = userId;
  1412. this.couponId = couponId;
  1413. this.collectionTime = collectionTime;
  1414. this.state = state;
  1415. }
  1416. }
  1417. export class GoodsIntroductionQuery{
  1418. id: number
  1419. goodsArticleName: string
  1420. goodsArticle: string
  1421. createBy: string
  1422. createTime: string
  1423. updateBy: string
  1424. updateTime: string
  1425. static Create(){
  1426. return new GoodsIntroductionQuery(null,null,null,null,null,null,null,);
  1427. }
  1428. constructor(id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  1429. this.id = id;
  1430. this.goodsArticleName = goodsArticleName;
  1431. this.goodsArticle = goodsArticle;
  1432. this.createBy = createBy;
  1433. this.createTime = createTime;
  1434. this.updateBy = updateBy;
  1435. this.updateTime = updateTime;
  1436. }
  1437. }
  1438. export class GoodsOrderQuery{
  1439. id: number
  1440. orderName: string
  1441. skuId: number
  1442. count: number
  1443. price: number
  1444. totalPrice: number
  1445. contactInformation: string
  1446. couponUserId: number
  1447. state: string
  1448. createBy: number
  1449. createTime: string
  1450. otherData: string
  1451. static Create(){
  1452. return new GoodsOrderQuery(null,null,null,null,null,null,null,null,null,null,null,null,);
  1453. }
  1454. constructor(id: number,orderName: string,skuId: number,count: number,price: number,totalPrice: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,otherData: string,) {
  1455. this.id = id;
  1456. this.orderName = orderName;
  1457. this.skuId = skuId;
  1458. this.count = count;
  1459. this.price = price;
  1460. this.totalPrice = totalPrice;
  1461. this.contactInformation = contactInformation;
  1462. this.couponUserId = couponUserId;
  1463. this.state = state;
  1464. this.createBy = createBy;
  1465. this.createTime = createTime;
  1466. this.otherData = otherData;
  1467. }
  1468. }
  1469. export class GoodsSkuQuery{
  1470. id: number
  1471. skuImage: string
  1472. skuName: string
  1473. price: number
  1474. historicalPrices: number
  1475. inventoryNumber: number
  1476. commodityAreaId: number
  1477. goodsId: number
  1478. createBy: string
  1479. createTime: string
  1480. static Create(){
  1481. return new GoodsSkuQuery(null,null,null,null,null,null,null,null,null,null,);
  1482. }
  1483. constructor(id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
  1484. this.id = id;
  1485. this.skuImage = skuImage;
  1486. this.skuName = skuName;
  1487. this.price = price;
  1488. this.historicalPrices = historicalPrices;
  1489. this.inventoryNumber = inventoryNumber;
  1490. this.commodityAreaId = commodityAreaId;
  1491. this.goodsId = goodsId;
  1492. this.createBy = createBy;
  1493. this.createTime = createTime;
  1494. }
  1495. }
  1496. export class GoodsSkuCardQuery{
  1497. id: number
  1498. cardName: string
  1499. state: string
  1500. count: number
  1501. totalCount: string
  1502. cardKey: string
  1503. use: string
  1504. uploadTime: string
  1505. skuId: number
  1506. sort: string
  1507. static Create(){
  1508. return new GoodsSkuCardQuery(null,null,null,null,null,null,null,null,null,null,);
  1509. }
  1510. constructor(id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
  1511. this.id = id;
  1512. this.cardName = cardName;
  1513. this.state = state;
  1514. this.count = count;
  1515. this.totalCount = totalCount;
  1516. this.cardKey = cardKey;
  1517. this.use = use;
  1518. this.uploadTime = uploadTime;
  1519. this.skuId = skuId;
  1520. this.sort = sort;
  1521. }
  1522. }
  1523. export class GoodsTagQuery{
  1524. id: number
  1525. name: string
  1526. iconUrl: string
  1527. tag: string
  1528. static Create(){
  1529. return new GoodsTagQuery(null,null,null,null,);
  1530. }
  1531. constructor(id: number,name: string,iconUrl: string,tag: string,) {
  1532. this.id = id;
  1533. this.name = name;
  1534. this.iconUrl = iconUrl;
  1535. this.tag = tag;
  1536. }
  1537. }
  1538. export class GoodsTypeQuery{
  1539. id: number
  1540. sort: number
  1541. typeImage: string
  1542. typeName: string
  1543. createTime: string
  1544. static Create(){
  1545. return new GoodsTypeQuery(null,null,null,null,null,);
  1546. }
  1547. constructor(id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
  1548. this.id = id;
  1549. this.sort = sort;
  1550. this.typeImage = typeImage;
  1551. this.typeName = typeName;
  1552. this.createTime = createTime;
  1553. }
  1554. }
  1555. export class UserQuery{
  1556. id: number
  1557. username: string
  1558. password: string
  1559. creationTime: number
  1560. loginTime: number
  1561. status: string
  1562. roleId: number
  1563. phone: string
  1564. email: string
  1565. name: string
  1566. avatar: string
  1567. recommendCode: string
  1568. inviterBy: number
  1569. static Create(){
  1570. return new UserQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1571. }
  1572. constructor(id: number,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,name: string,avatar: string,recommendCode: string,inviterBy: number,) {
  1573. this.id = id;
  1574. this.username = username;
  1575. this.password = password;
  1576. this.creationTime = creationTime;
  1577. this.loginTime = loginTime;
  1578. this.status = status;
  1579. this.roleId = roleId;
  1580. this.phone = phone;
  1581. this.email = email;
  1582. this.name = name;
  1583. this.avatar = avatar;
  1584. this.recommendCode = recommendCode;
  1585. this.inviterBy = inviterBy;
  1586. }
  1587. }
  1588. export class UserWalletQuery{
  1589. id: number
  1590. userId: number
  1591. balance: number
  1592. promotionAmount: number
  1593. rechargeAmount: number
  1594. static Create(){
  1595. return new UserWalletQuery(null,null,null,null,null,);
  1596. }
  1597. constructor(id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
  1598. this.id = id;
  1599. this.userId = userId;
  1600. this.balance = balance;
  1601. this.promotionAmount = promotionAmount;
  1602. this.rechargeAmount = rechargeAmount;
  1603. }
  1604. }
  1605. export class DictDataQuery{
  1606. id: number
  1607. sort: number
  1608. dictLabel: string
  1609. dictValue: string
  1610. dictType: string
  1611. status: string
  1612. cssStyle: string
  1613. isDefault: string
  1614. remark: string
  1615. static Create(){
  1616. return new DictDataQuery(null,null,null,null,null,null,null,null,null,);
  1617. }
  1618. constructor(id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  1619. this.id = id;
  1620. this.sort = sort;
  1621. this.dictLabel = dictLabel;
  1622. this.dictValue = dictValue;
  1623. this.dictType = dictType;
  1624. this.status = status;
  1625. this.cssStyle = cssStyle;
  1626. this.isDefault = isDefault;
  1627. this.remark = remark;
  1628. }
  1629. }
  1630. export class DictTypeQuery{
  1631. id: number
  1632. dictName: string
  1633. dictType: string
  1634. status: string
  1635. remark: string
  1636. static Create(){
  1637. return new DictTypeQuery(null,null,null,null,null,);
  1638. }
  1639. constructor(id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1640. this.id = id;
  1641. this.dictName = dictName;
  1642. this.dictType = dictType;
  1643. this.status = status;
  1644. this.remark = remark;
  1645. }
  1646. }
  1647. export class ManageUserQuery{
  1648. id: number
  1649. name: string
  1650. username: string
  1651. password: string
  1652. creationTime: number
  1653. loginTime: number
  1654. status: string
  1655. roleId: number
  1656. phone: string
  1657. email: string
  1658. avatar: string
  1659. static Create(){
  1660. return new ManageUserQuery(null,null,null,null,null,null,null,null,null,null,null,);
  1661. }
  1662. constructor(id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
  1663. this.id = id;
  1664. this.name = name;
  1665. this.username = username;
  1666. this.password = password;
  1667. this.creationTime = creationTime;
  1668. this.loginTime = loginTime;
  1669. this.status = status;
  1670. this.roleId = roleId;
  1671. this.phone = phone;
  1672. this.email = email;
  1673. this.avatar = avatar;
  1674. }
  1675. }
  1676. export class ShopTopicQuery{
  1677. id: number
  1678. sort: string
  1679. parentId: number
  1680. topicPageImage: string
  1681. topicName: string
  1682. topicDesc: string
  1683. typeIds: string
  1684. static Create(){
  1685. return new ShopTopicQuery(null,null,null,null,null,null,null,);
  1686. }
  1687. constructor(id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1688. this.id = id;
  1689. this.sort = sort;
  1690. this.parentId = parentId;
  1691. this.topicPageImage = topicPageImage;
  1692. this.topicName = topicName;
  1693. this.topicDesc = topicDesc;
  1694. this.typeIds = typeIds;
  1695. }
  1696. }
  1697. export class ShopAdviceCarouselQuery{
  1698. id: number
  1699. name: string
  1700. toId: number
  1701. adviceType: string
  1702. sort: string
  1703. state: string
  1704. showType: string
  1705. createBy: string
  1706. createTime: string
  1707. updateBy: string
  1708. updateTime: string
  1709. imageUrl: string
  1710. toType: string
  1711. static Create(){
  1712. return new ShopAdviceCarouselQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1713. }
  1714. constructor(id: number,name: string,toId: number,adviceType: string,sort: string,state: string,showType: string,createBy: string,createTime: string,updateBy: string,updateTime: string,imageUrl: string,toType: string,) {
  1715. this.id = id;
  1716. this.name = name;
  1717. this.toId = toId;
  1718. this.adviceType = adviceType;
  1719. this.sort = sort;
  1720. this.state = state;
  1721. this.showType = showType;
  1722. this.createBy = createBy;
  1723. this.createTime = createTime;
  1724. this.updateBy = updateBy;
  1725. this.updateTime = updateTime;
  1726. this.imageUrl = imageUrl;
  1727. this.toType = toType;
  1728. }
  1729. }
  1730. export class ShopTopicSkuQuery{
  1731. id: number
  1732. topicId: number
  1733. skuId: number
  1734. static Create(){
  1735. return new ShopTopicSkuQuery(null,null,null,);
  1736. }
  1737. constructor(id: number,topicId: number,skuId: number,) {
  1738. this.id = id;
  1739. this.topicId = topicId;
  1740. this.skuId = skuId;
  1741. }
  1742. }