BaseApi.ts 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163
  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 Article(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 ArticleTag(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 ArticleTopic(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. createTime: string
  1200. static Create(){
  1201. return new BackAuthority(null,null,null,null,null,null,null,);
  1202. }
  1203. constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
  1204. this.id = id;
  1205. this.authorityName = authorityName;
  1206. this.authorityPath = authorityPath;
  1207. this.method = method;
  1208. this.state = state;
  1209. this.authorityVerification = authorityVerification;
  1210. this.createTime = createTime;
  1211. }
  1212. }
  1213. export class BackMenuQuery{
  1214. id: number
  1215. backMenuName: string
  1216. backMenuPater: number
  1217. sort: number
  1218. icon: string
  1219. remark: string
  1220. backRouterPath: string
  1221. state: string
  1222. static Create(){
  1223. return new BackMenu(null,null,null,null,null,null,null,null,);
  1224. }
  1225. constructor(id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  1226. this.id = id;
  1227. this.backMenuName = backMenuName;
  1228. this.backMenuPater = backMenuPater;
  1229. this.sort = sort;
  1230. this.icon = icon;
  1231. this.remark = remark;
  1232. this.backRouterPath = backRouterPath;
  1233. this.state = state;
  1234. }
  1235. }
  1236. export class BackRoleQuery{
  1237. id: number
  1238. roleName: string
  1239. static Create(){
  1240. return new BackRole(null,null,);
  1241. }
  1242. constructor(id: number,roleName: string,) {
  1243. this.id = id;
  1244. this.roleName = roleName;
  1245. }
  1246. }
  1247. export class BackRoleAuthorityQuery{
  1248. id: number
  1249. roleId: number
  1250. authorityId: number
  1251. static Create(){
  1252. return new BackRoleAuthority(null,null,null,);
  1253. }
  1254. constructor(id: number,roleId: number,authorityId: number,) {
  1255. this.id = id;
  1256. this.roleId = roleId;
  1257. this.authorityId = authorityId;
  1258. }
  1259. }
  1260. export class BackRoleMenuQuery{
  1261. id: number
  1262. roleId: number
  1263. menuId: number
  1264. static Create(){
  1265. return new BackRoleMenu(null,null,null,);
  1266. }
  1267. constructor(id: number,roleId: number,menuId: number,) {
  1268. this.id = id;
  1269. this.roleId = roleId;
  1270. this.menuId = menuId;
  1271. }
  1272. }
  1273. export class GenTableQuery{
  1274. id: number
  1275. tableName: string
  1276. tableComment: string
  1277. name: string
  1278. routerName: string
  1279. remark: string
  1280. static Create(){
  1281. return new GenTable(null,null,null,null,null,null,);
  1282. }
  1283. constructor(id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  1284. this.id = id;
  1285. this.tableName = tableName;
  1286. this.tableComment = tableComment;
  1287. this.name = name;
  1288. this.routerName = routerName;
  1289. this.remark = remark;
  1290. }
  1291. }
  1292. export class GenTableColumnQuery{
  1293. id: number
  1294. tableId: number
  1295. sort: number
  1296. columnComment: string
  1297. columnType: string
  1298. goType: string
  1299. goField: string
  1300. isKey: string
  1301. isIncrement: string
  1302. isRequired: string
  1303. queryType: string
  1304. vueShowType: string
  1305. dictType: string
  1306. columnName: string
  1307. static Create(){
  1308. return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1309. }
  1310. 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,) {
  1311. this.id = id;
  1312. this.tableId = tableId;
  1313. this.sort = sort;
  1314. this.columnComment = columnComment;
  1315. this.columnType = columnType;
  1316. this.goType = goType;
  1317. this.goField = goField;
  1318. this.isKey = isKey;
  1319. this.isIncrement = isIncrement;
  1320. this.isRequired = isRequired;
  1321. this.queryType = queryType;
  1322. this.vueShowType = vueShowType;
  1323. this.dictType = dictType;
  1324. this.columnName = columnName;
  1325. }
  1326. }
  1327. export class GoodsQuery{
  1328. id: number
  1329. typeId: number
  1330. goodsName: string
  1331. introductionId: number
  1332. salesVolumeStart: number
  1333. salesVolumeEnd: number
  1334. tagIds: string
  1335. static Create(){
  1336. return new Goods(null,null,null,null,null,null,);
  1337. }
  1338. constructor(id: number,typeId: number,goodsName: string,introductionId: number,salesVolumeStart: number,salesVolumeEnd: number,tagIds: string,) {
  1339. this.id = id;
  1340. this.typeId = typeId;
  1341. this.goodsName = goodsName;
  1342. this.introductionId = introductionId;
  1343. this.salesVolumeStart = salesVolumeStart;
  1344. this.salesVolumeEnd = salesVolumeEnd;
  1345. this.tagIds = tagIds;
  1346. }
  1347. }
  1348. export class GoodsCommodityAreaQuery{
  1349. id: number
  1350. goodsId: number
  1351. commodityAreaName: string
  1352. detailImage: string
  1353. detailIntroductionId: number
  1354. static Create(){
  1355. return new GoodsCommodityArea(null,null,null,null,null,);
  1356. }
  1357. constructor(id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  1358. this.id = id;
  1359. this.goodsId = goodsId;
  1360. this.commodityAreaName = commodityAreaName;
  1361. this.detailImage = detailImage;
  1362. this.detailIntroductionId = detailIntroductionId;
  1363. }
  1364. }
  1365. export class GoodsCouponQuery{
  1366. id: number
  1367. couponName: string
  1368. couponDesc: string
  1369. cashBackPoint: number
  1370. cashBackPrice: number
  1371. conditionByTopic: string
  1372. conditionByType: string
  1373. conditionByGoods: string
  1374. grantCount: string
  1375. count: number
  1376. receiveType: string
  1377. validity: string
  1378. validityPeriod: string
  1379. static Create(){
  1380. return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1381. }
  1382. 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,) {
  1383. this.id = id;
  1384. this.couponName = couponName;
  1385. this.couponDesc = couponDesc;
  1386. this.cashBackPoint = cashBackPoint;
  1387. this.cashBackPrice = cashBackPrice;
  1388. this.conditionByTopic = conditionByTopic;
  1389. this.conditionByType = conditionByType;
  1390. this.conditionByGoods = conditionByGoods;
  1391. this.grantCount = grantCount;
  1392. this.count = count;
  1393. this.receiveType = receiveType;
  1394. this.validity = validity;
  1395. this.validityPeriod = validityPeriod;
  1396. }
  1397. }
  1398. export class GoodsCouponUserQuery{
  1399. id: number
  1400. userId: number
  1401. couponId: number
  1402. collectionTime: string
  1403. state: string
  1404. static Create(){
  1405. return new GoodsCouponUser(null,null,null,null,null,);
  1406. }
  1407. constructor(id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  1408. this.id = id;
  1409. this.userId = userId;
  1410. this.couponId = couponId;
  1411. this.collectionTime = collectionTime;
  1412. this.state = state;
  1413. }
  1414. }
  1415. export class GoodsIntroductionQuery{
  1416. id: number
  1417. goodsArticleName: string
  1418. goodsArticle: string
  1419. createBy: string
  1420. createTime: string
  1421. updateBy: string
  1422. updateTime: string
  1423. static Create(){
  1424. return new GoodsIntroduction(null,null,null,null,null,null,null,);
  1425. }
  1426. constructor(id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  1427. this.id = id;
  1428. this.goodsArticleName = goodsArticleName;
  1429. this.goodsArticle = goodsArticle;
  1430. this.createBy = createBy;
  1431. this.createTime = createTime;
  1432. this.updateBy = updateBy;
  1433. this.updateTime = updateTime;
  1434. }
  1435. }
  1436. export class GoodsOrderQuery{
  1437. id: number
  1438. orderName: string
  1439. skuId: number
  1440. count: number
  1441. price: number
  1442. totalPrice: number
  1443. contactInformation: string
  1444. couponUserId: number
  1445. state: string
  1446. createBy: number
  1447. createTime: string
  1448. otherData: string
  1449. static Create(){
  1450. return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,null,);
  1451. }
  1452. 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,) {
  1453. this.id = id;
  1454. this.orderName = orderName;
  1455. this.skuId = skuId;
  1456. this.count = count;
  1457. this.price = price;
  1458. this.totalPrice = totalPrice;
  1459. this.contactInformation = contactInformation;
  1460. this.couponUserId = couponUserId;
  1461. this.state = state;
  1462. this.createBy = createBy;
  1463. this.createTime = createTime;
  1464. this.otherData = otherData;
  1465. }
  1466. }
  1467. export class GoodsSkuQuery{
  1468. id: number
  1469. skuImage: string
  1470. skuName: string
  1471. price: number
  1472. historicalPrices: number
  1473. inventoryNumber: number
  1474. commodityAreaId: number
  1475. goodsId: number
  1476. createBy: string
  1477. createTime: string
  1478. static Create(){
  1479. return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
  1480. }
  1481. constructor(id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
  1482. this.id = id;
  1483. this.skuImage = skuImage;
  1484. this.skuName = skuName;
  1485. this.price = price;
  1486. this.historicalPrices = historicalPrices;
  1487. this.inventoryNumber = inventoryNumber;
  1488. this.commodityAreaId = commodityAreaId;
  1489. this.goodsId = goodsId;
  1490. this.createBy = createBy;
  1491. this.createTime = createTime;
  1492. }
  1493. }
  1494. export class GoodsSkuCardQuery{
  1495. id: number
  1496. cardName: string
  1497. state: string
  1498. count: number
  1499. totalCount: string
  1500. cardKey: string
  1501. use: string
  1502. uploadTime: string
  1503. skuId: number
  1504. sort: string
  1505. static Create(){
  1506. return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
  1507. }
  1508. constructor(id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
  1509. this.id = id;
  1510. this.cardName = cardName;
  1511. this.state = state;
  1512. this.count = count;
  1513. this.totalCount = totalCount;
  1514. this.cardKey = cardKey;
  1515. this.use = use;
  1516. this.uploadTime = uploadTime;
  1517. this.skuId = skuId;
  1518. this.sort = sort;
  1519. }
  1520. }
  1521. export class GoodsTagQuery{
  1522. id: number
  1523. name: string
  1524. iconUrl: string
  1525. tag: string
  1526. static Create(){
  1527. return new GoodsTag(null,null,null,null,);
  1528. }
  1529. constructor(id: number,name: string,iconUrl: string,tag: string,) {
  1530. this.id = id;
  1531. this.name = name;
  1532. this.iconUrl = iconUrl;
  1533. this.tag = tag;
  1534. }
  1535. }
  1536. export class GoodsTypeQuery{
  1537. id: number
  1538. sort: number
  1539. typeImage: string
  1540. typeName: string
  1541. createTime: string
  1542. static Create(){
  1543. return new GoodsType(null,null,null,null,null,);
  1544. }
  1545. constructor(id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
  1546. this.id = id;
  1547. this.sort = sort;
  1548. this.typeImage = typeImage;
  1549. this.typeName = typeName;
  1550. this.createTime = createTime;
  1551. }
  1552. }
  1553. export class UserQuery{
  1554. id: number
  1555. username: string
  1556. password: string
  1557. creationTime: number
  1558. loginTime: number
  1559. status: string
  1560. roleId: number
  1561. phone: string
  1562. email: string
  1563. name: string
  1564. avatar: string
  1565. recommendCode: string
  1566. inviterBy: number
  1567. static Create(){
  1568. return new User(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1569. }
  1570. 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,) {
  1571. this.id = id;
  1572. this.username = username;
  1573. this.password = password;
  1574. this.creationTime = creationTime;
  1575. this.loginTime = loginTime;
  1576. this.status = status;
  1577. this.roleId = roleId;
  1578. this.phone = phone;
  1579. this.email = email;
  1580. this.name = name;
  1581. this.avatar = avatar;
  1582. this.recommendCode = recommendCode;
  1583. this.inviterBy = inviterBy;
  1584. }
  1585. }
  1586. export class UserWalletQuery{
  1587. id: number
  1588. userId: number
  1589. balance: number
  1590. promotionAmount: number
  1591. rechargeAmount: number
  1592. static Create(){
  1593. return new UserWallet(null,null,null,null,null,);
  1594. }
  1595. constructor(id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
  1596. this.id = id;
  1597. this.userId = userId;
  1598. this.balance = balance;
  1599. this.promotionAmount = promotionAmount;
  1600. this.rechargeAmount = rechargeAmount;
  1601. }
  1602. }
  1603. export class DictDataQuery{
  1604. id: number
  1605. sort: number
  1606. dictLabel: string
  1607. dictValue: string
  1608. dictType: string
  1609. status: string
  1610. cssStyle: string
  1611. isDefault: string
  1612. remark: string
  1613. static Create(){
  1614. return new DictData(null,null,null,null,null,null,null,null,null,);
  1615. }
  1616. constructor(id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  1617. this.id = id;
  1618. this.sort = sort;
  1619. this.dictLabel = dictLabel;
  1620. this.dictValue = dictValue;
  1621. this.dictType = dictType;
  1622. this.status = status;
  1623. this.cssStyle = cssStyle;
  1624. this.isDefault = isDefault;
  1625. this.remark = remark;
  1626. }
  1627. }
  1628. export class DictTypeQuery{
  1629. id: number
  1630. dictName: string
  1631. dictType: string
  1632. status: string
  1633. remark: string
  1634. static Create(){
  1635. return new DictType(null,null,null,null,null,);
  1636. }
  1637. constructor(id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1638. this.id = id;
  1639. this.dictName = dictName;
  1640. this.dictType = dictType;
  1641. this.status = status;
  1642. this.remark = remark;
  1643. }
  1644. }
  1645. export class ManageUserQuery{
  1646. id: number
  1647. name: string
  1648. username: string
  1649. password: string
  1650. creationTime: number
  1651. loginTime: number
  1652. status: string
  1653. roleId: number
  1654. phone: string
  1655. email: string
  1656. avatar: string
  1657. static Create(){
  1658. return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
  1659. }
  1660. constructor(id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
  1661. this.id = id;
  1662. this.name = name;
  1663. this.username = username;
  1664. this.password = password;
  1665. this.creationTime = creationTime;
  1666. this.loginTime = loginTime;
  1667. this.status = status;
  1668. this.roleId = roleId;
  1669. this.phone = phone;
  1670. this.email = email;
  1671. this.avatar = avatar;
  1672. }
  1673. }
  1674. export class ShopTopicQuery{
  1675. id: number
  1676. sort: string
  1677. parentId: number
  1678. topicPageImage: string
  1679. topicName: string
  1680. topicDesc: string
  1681. typeIds: string
  1682. static Create(){
  1683. return new ShopTopic(null,null,null,null,null,null,null,);
  1684. }
  1685. constructor(id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1686. this.id = id;
  1687. this.sort = sort;
  1688. this.parentId = parentId;
  1689. this.topicPageImage = topicPageImage;
  1690. this.topicName = topicName;
  1691. this.topicDesc = topicDesc;
  1692. this.typeIds = typeIds;
  1693. }
  1694. }
  1695. export class ShopAdviceCarouselQuery{
  1696. id: number
  1697. name: string
  1698. toId: number
  1699. adviceType: string
  1700. sort: string
  1701. state: string
  1702. showType: string
  1703. createBy: string
  1704. createTime: string
  1705. updateBy: string
  1706. updateTime: string
  1707. imageUrl: string
  1708. toType: string
  1709. static Create(){
  1710. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1711. }
  1712. 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,) {
  1713. this.id = id;
  1714. this.name = name;
  1715. this.toId = toId;
  1716. this.adviceType = adviceType;
  1717. this.sort = sort;
  1718. this.state = state;
  1719. this.showType = showType;
  1720. this.createBy = createBy;
  1721. this.createTime = createTime;
  1722. this.updateBy = updateBy;
  1723. this.updateTime = updateTime;
  1724. this.imageUrl = imageUrl;
  1725. this.toType = toType;
  1726. }
  1727. }
  1728. export class ShopTopicSkuQuery{
  1729. id: number
  1730. topicId: number
  1731. skuId: number
  1732. static Create(){
  1733. return new ShopTopicSku(null,null,null,);
  1734. }
  1735. constructor(id: number,topicId: number,skuId: number,) {
  1736. this.id = id;
  1737. this.topicId = topicId;
  1738. this.skuId = skuId;
  1739. }
  1740. }