BaseApi.ts 69 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100
  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 GetBaseShopTopicById(id: number | string) {
  436. return api.GetDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<ShopTopic>>;
  437. }
  438. export function GetBaseShopTopicListByShopTopic(param: ShopTopic, pageNum = 1, pageSize = 10) {
  439. return api.PostDataByPath("/back/base/shopTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopic>>>;
  440. }
  441. export function GetBaseShopTopicListByIds(ids: number[] | string[]) {
  442. return api.PostDataByPath("/back/base/shopTopic/in", {ids: ids}, true) as Promise<ResponseData<ShopTopic[]>>;
  443. }
  444. export function SaveBaseShopTopic(ShopTopic: ShopTopic) {
  445. return api.PostDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic}, true) as Promise<ResponseData<ShopTopic>>;
  446. }
  447. export function UpdateBaseShopTopic(ShopTopic: ShopTopic, id: number | string) {
  448. return api.PutDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic, id: id}, true) as Promise<ResponseData<ShopTopic>>;
  449. }
  450. export function DeleteBaseShopTopicById(id: number | string) {
  451. return api.DeleteDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
  452. }
  453. export function GetBaseShopAdviceCarouselById(id: number | string) {
  454. return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  455. }
  456. export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
  457. return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
  458. }
  459. export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
  460. return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {ids: ids}, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
  461. }
  462. export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
  463. return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  464. }
  465. export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
  466. return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
  467. }
  468. export function DeleteBaseShopAdviceCarouselById(id: number | string) {
  469. return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
  470. }
  471. export function GetBaseShopTopicSkuById(id: number | string) {
  472. return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
  473. }
  474. export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
  475. return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
  476. }
  477. export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
  478. return api.PostDataByPath("/back/base/shopTopicSku/in", {ids: ids}, true) as Promise<ResponseData<ShopTopicSku[]>>;
  479. }
  480. export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
  481. return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
  482. }
  483. export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
  484. return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
  485. }
  486. export function DeleteBaseShopTopicSkuById(id: number | string) {
  487. return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
  488. }
  489. export class Article{
  490. id: number
  491. articleTitle: string
  492. articleContent: string
  493. state: string
  494. articleTagIds: string
  495. articleTopicId: number
  496. image: string
  497. publishTime: string
  498. eyeFill: number
  499. likeCount: number
  500. createBy: string
  501. createTime: string
  502. updateBy: string
  503. updateTime: string
  504. articleDesc: string
  505. static Create(){
  506. return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  507. }
  508. 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,) {
  509. this.id = id;
  510. this.articleTitle = articleTitle;
  511. this.articleContent = articleContent;
  512. this.state = state;
  513. this.articleTagIds = articleTagIds;
  514. this.articleTopicId = articleTopicId;
  515. this.image = image;
  516. this.publishTime = publishTime;
  517. this.eyeFill = eyeFill;
  518. this.likeCount = likeCount;
  519. this.createBy = createBy;
  520. this.createTime = createTime;
  521. this.updateBy = updateBy;
  522. this.updateTime = updateTime;
  523. this.articleDesc = articleDesc;
  524. }
  525. }
  526. export class ArticleTag{
  527. id: number
  528. tagName: string
  529. tagDesc: string
  530. tagTextColor: string
  531. tagBackgroundColor: string
  532. static Create(){
  533. return new ArticleTag(null,null,null,null,null,);
  534. }
  535. constructor( id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) {
  536. this.id = id;
  537. this.tagName = tagName;
  538. this.tagDesc = tagDesc;
  539. this.tagTextColor = tagTextColor;
  540. this.tagBackgroundColor = tagBackgroundColor;
  541. }
  542. }
  543. export class ArticleTopic{
  544. id: number
  545. image: string
  546. topicName: string
  547. topicDesc: string
  548. static Create(){
  549. return new ArticleTopic(null,null,null,null,);
  550. }
  551. constructor( id: number,image: string,topicName: string,topicDesc: string,) {
  552. this.id = id;
  553. this.image = image;
  554. this.topicName = topicName;
  555. this.topicDesc = topicDesc;
  556. }
  557. }
  558. export class BackAuthority{
  559. id: number
  560. authorityName: string
  561. authorityPath: string
  562. method: string
  563. state: string
  564. authorityVerification: string
  565. createTime: string
  566. static Create(){
  567. return new BackAuthority(null,null,null,null,null,null,null,);
  568. }
  569. constructor( id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
  570. this.id = id;
  571. this.authorityName = authorityName;
  572. this.authorityPath = authorityPath;
  573. this.method = method;
  574. this.state = state;
  575. this.authorityVerification = authorityVerification;
  576. this.createTime = createTime;
  577. }
  578. }
  579. export class BackMenu{
  580. id: number
  581. backMenuName: string
  582. backMenuPater: number
  583. sort: number
  584. icon: string
  585. remark: string
  586. backRouterPath: string
  587. state: string
  588. static Create(){
  589. return new BackMenu(null,null,null,null,null,null,null,null,);
  590. }
  591. constructor( id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  592. this.id = id;
  593. this.backMenuName = backMenuName;
  594. this.backMenuPater = backMenuPater;
  595. this.sort = sort;
  596. this.icon = icon;
  597. this.remark = remark;
  598. this.backRouterPath = backRouterPath;
  599. this.state = state;
  600. }
  601. }
  602. export class BackRole{
  603. id: number
  604. roleName: string
  605. static Create(){
  606. return new BackRole(null,null,);
  607. }
  608. constructor( id: number,roleName: string,) {
  609. this.id = id;
  610. this.roleName = roleName;
  611. }
  612. }
  613. export class BackRoleAuthority{
  614. id: number
  615. roleId: number
  616. authorityId: number
  617. static Create(){
  618. return new BackRoleAuthority(null,null,null,);
  619. }
  620. constructor( id: number,roleId: number,authorityId: number,) {
  621. this.id = id;
  622. this.roleId = roleId;
  623. this.authorityId = authorityId;
  624. }
  625. }
  626. export class BackRoleMenu{
  627. id: number
  628. roleId: number
  629. menuId: number
  630. static Create(){
  631. return new BackRoleMenu(null,null,null,);
  632. }
  633. constructor( id: number,roleId: number,menuId: number,) {
  634. this.id = id;
  635. this.roleId = roleId;
  636. this.menuId = menuId;
  637. }
  638. }
  639. export class GenTable{
  640. id: number
  641. tableName: string
  642. tableComment: string
  643. name: string
  644. routerName: string
  645. remark: string
  646. static Create(){
  647. return new GenTable(null,null,null,null,null,null,);
  648. }
  649. constructor( id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  650. this.id = id;
  651. this.tableName = tableName;
  652. this.tableComment = tableComment;
  653. this.name = name;
  654. this.routerName = routerName;
  655. this.remark = remark;
  656. }
  657. }
  658. export class GenTableColumn{
  659. id: number
  660. tableId: number
  661. sort: number
  662. columnComment: string
  663. columnType: string
  664. goType: string
  665. goField: string
  666. isKey: string
  667. isIncrement: string
  668. isRequired: string
  669. queryType: string
  670. vueShowType: string
  671. dictType: string
  672. columnName: string
  673. static Create(){
  674. return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  675. }
  676. 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,) {
  677. this.id = id;
  678. this.tableId = tableId;
  679. this.sort = sort;
  680. this.columnComment = columnComment;
  681. this.columnType = columnType;
  682. this.goType = goType;
  683. this.goField = goField;
  684. this.isKey = isKey;
  685. this.isIncrement = isIncrement;
  686. this.isRequired = isRequired;
  687. this.queryType = queryType;
  688. this.vueShowType = vueShowType;
  689. this.dictType = dictType;
  690. this.columnName = columnName;
  691. }
  692. }
  693. export class Goods{
  694. id: number
  695. typeId: number
  696. goodsName: string
  697. introductionId: number
  698. salesVolume: number
  699. tagIds: string
  700. static Create(){
  701. return new Goods(null,null,null,null,null,null,);
  702. }
  703. constructor( id: number,typeId: number,goodsName: string,introductionId: number,salesVolume: number,tagIds: string,) {
  704. this.id = id;
  705. this.typeId = typeId;
  706. this.goodsName = goodsName;
  707. this.introductionId = introductionId;
  708. this.salesVolume = salesVolume;
  709. this.tagIds = tagIds;
  710. }
  711. }
  712. export class GoodsCommodityArea{
  713. id: number
  714. goodsId: number
  715. commodityAreaName: string
  716. detailImage: string
  717. detailIntroductionId: number
  718. static Create(){
  719. return new GoodsCommodityArea(null,null,null,null,null,);
  720. }
  721. constructor( id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  722. this.id = id;
  723. this.goodsId = goodsId;
  724. this.commodityAreaName = commodityAreaName;
  725. this.detailImage = detailImage;
  726. this.detailIntroductionId = detailIntroductionId;
  727. }
  728. }
  729. export class GoodsCoupon{
  730. id: number
  731. couponName: string
  732. couponDesc: string
  733. cashBackPoint: number
  734. cashBackPrice: number
  735. conditionByTopic: string
  736. conditionByType: string
  737. conditionByGoods: string
  738. grantCount: string
  739. count: number
  740. receiveType: string
  741. validity: string
  742. validityPeriod: string
  743. static Create(){
  744. return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  745. }
  746. 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,) {
  747. this.id = id;
  748. this.couponName = couponName;
  749. this.couponDesc = couponDesc;
  750. this.cashBackPoint = cashBackPoint;
  751. this.cashBackPrice = cashBackPrice;
  752. this.conditionByTopic = conditionByTopic;
  753. this.conditionByType = conditionByType;
  754. this.conditionByGoods = conditionByGoods;
  755. this.grantCount = grantCount;
  756. this.count = count;
  757. this.receiveType = receiveType;
  758. this.validity = validity;
  759. this.validityPeriod = validityPeriod;
  760. }
  761. }
  762. export class GoodsCouponUser{
  763. id: number
  764. userId: number
  765. couponId: number
  766. collectionTime: string
  767. state: string
  768. static Create(){
  769. return new GoodsCouponUser(null,null,null,null,null,);
  770. }
  771. constructor( id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  772. this.id = id;
  773. this.userId = userId;
  774. this.couponId = couponId;
  775. this.collectionTime = collectionTime;
  776. this.state = state;
  777. }
  778. }
  779. export class GoodsIntroduction{
  780. id: number
  781. goodsArticleName: string
  782. goodsArticle: string
  783. createBy: string
  784. createTime: string
  785. updateBy: string
  786. updateTime: string
  787. static Create(){
  788. return new GoodsIntroduction(null,null,null,null,null,null,null,);
  789. }
  790. constructor( id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  791. this.id = id;
  792. this.goodsArticleName = goodsArticleName;
  793. this.goodsArticle = goodsArticle;
  794. this.createBy = createBy;
  795. this.createTime = createTime;
  796. this.updateBy = updateBy;
  797. this.updateTime = updateTime;
  798. }
  799. }
  800. export class GoodsOrder{
  801. id: number
  802. orderName: string
  803. skuId: number
  804. count: number
  805. price: number
  806. totalPrice: number
  807. contactInformation: string
  808. couponUserId: number
  809. state: string
  810. createBy: number
  811. createTime: string
  812. otherData: string
  813. static Create(){
  814. return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,null,);
  815. }
  816. 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,) {
  817. this.id = id;
  818. this.orderName = orderName;
  819. this.skuId = skuId;
  820. this.count = count;
  821. this.price = price;
  822. this.totalPrice = totalPrice;
  823. this.contactInformation = contactInformation;
  824. this.couponUserId = couponUserId;
  825. this.state = state;
  826. this.createBy = createBy;
  827. this.createTime = createTime;
  828. this.otherData = otherData;
  829. }
  830. }
  831. export class GoodsSku{
  832. id: number
  833. skuImage: string
  834. skuName: string
  835. price: number
  836. historicalPrices: number
  837. inventoryNumber: number
  838. commodityAreaId: number
  839. goodsId: number
  840. createBy: string
  841. createTime: string
  842. static Create(){
  843. return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
  844. }
  845. constructor( id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
  846. this.id = id;
  847. this.skuImage = skuImage;
  848. this.skuName = skuName;
  849. this.price = price;
  850. this.historicalPrices = historicalPrices;
  851. this.inventoryNumber = inventoryNumber;
  852. this.commodityAreaId = commodityAreaId;
  853. this.goodsId = goodsId;
  854. this.createBy = createBy;
  855. this.createTime = createTime;
  856. }
  857. }
  858. export class GoodsSkuCard{
  859. id: number
  860. cardName: string
  861. state: string
  862. count: number
  863. totalCount: string
  864. cardKey: string
  865. use: string
  866. uploadTime: string
  867. skuId: number
  868. sort: string
  869. static Create(){
  870. return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
  871. }
  872. constructor( id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
  873. this.id = id;
  874. this.cardName = cardName;
  875. this.state = state;
  876. this.count = count;
  877. this.totalCount = totalCount;
  878. this.cardKey = cardKey;
  879. this.use = use;
  880. this.uploadTime = uploadTime;
  881. this.skuId = skuId;
  882. this.sort = sort;
  883. }
  884. }
  885. export class GoodsTag{
  886. id: number
  887. name: string
  888. iconUrl: string
  889. tag: string
  890. static Create(){
  891. return new GoodsTag(null,null,null,null,);
  892. }
  893. constructor( id: number,name: string,iconUrl: string,tag: string,) {
  894. this.id = id;
  895. this.name = name;
  896. this.iconUrl = iconUrl;
  897. this.tag = tag;
  898. }
  899. }
  900. export class GoodsType{
  901. id: number
  902. sort: number
  903. typeImage: string
  904. typeName: string
  905. createTime: string
  906. static Create(){
  907. return new GoodsType(null,null,null,null,null,);
  908. }
  909. constructor( id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
  910. this.id = id;
  911. this.sort = sort;
  912. this.typeImage = typeImage;
  913. this.typeName = typeName;
  914. this.createTime = createTime;
  915. }
  916. }
  917. export class User{
  918. id: number
  919. username: string
  920. password: string
  921. creationTime: number
  922. loginTime: number
  923. status: string
  924. roleId: number
  925. phone: string
  926. email: string
  927. name: string
  928. avatar: string
  929. recommendCode: string
  930. inviterBy: number
  931. static Create(){
  932. return new User(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  933. }
  934. 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,) {
  935. this.id = id;
  936. this.username = username;
  937. this.password = password;
  938. this.creationTime = creationTime;
  939. this.loginTime = loginTime;
  940. this.status = status;
  941. this.roleId = roleId;
  942. this.phone = phone;
  943. this.email = email;
  944. this.name = name;
  945. this.avatar = avatar;
  946. this.recommendCode = recommendCode;
  947. this.inviterBy = inviterBy;
  948. }
  949. }
  950. export class UserWallet{
  951. id: number
  952. userId: number
  953. balance: number
  954. promotionAmount: number
  955. rechargeAmount: number
  956. static Create(){
  957. return new UserWallet(null,null,null,null,null,);
  958. }
  959. constructor( id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
  960. this.id = id;
  961. this.userId = userId;
  962. this.balance = balance;
  963. this.promotionAmount = promotionAmount;
  964. this.rechargeAmount = rechargeAmount;
  965. }
  966. }
  967. export class DictData{
  968. id: number
  969. sort: number
  970. dictLabel: string
  971. dictValue: string
  972. dictType: string
  973. status: string
  974. cssStyle: string
  975. isDefault: string
  976. remark: string
  977. static Create(){
  978. return new DictData(null,null,null,null,null,null,null,null,null,);
  979. }
  980. constructor( id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  981. this.id = id;
  982. this.sort = sort;
  983. this.dictLabel = dictLabel;
  984. this.dictValue = dictValue;
  985. this.dictType = dictType;
  986. this.status = status;
  987. this.cssStyle = cssStyle;
  988. this.isDefault = isDefault;
  989. this.remark = remark;
  990. }
  991. }
  992. export class DictType{
  993. id: number
  994. dictName: string
  995. dictType: string
  996. status: string
  997. remark: string
  998. static Create(){
  999. return new DictType(null,null,null,null,null,);
  1000. }
  1001. constructor( id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1002. this.id = id;
  1003. this.dictName = dictName;
  1004. this.dictType = dictType;
  1005. this.status = status;
  1006. this.remark = remark;
  1007. }
  1008. }
  1009. export class ShopTopic{
  1010. id: number
  1011. sort: string
  1012. parentId: number
  1013. topicPageImage: string
  1014. topicName: string
  1015. topicDesc: string
  1016. typeIds: string
  1017. static Create(){
  1018. return new ShopTopic(null,null,null,null,null,null,null,);
  1019. }
  1020. constructor( id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1021. this.id = id;
  1022. this.sort = sort;
  1023. this.parentId = parentId;
  1024. this.topicPageImage = topicPageImage;
  1025. this.topicName = topicName;
  1026. this.topicDesc = topicDesc;
  1027. this.typeIds = typeIds;
  1028. }
  1029. }
  1030. export class ShopAdviceCarousel{
  1031. id: number
  1032. name: string
  1033. toId: number
  1034. adviceType: string
  1035. sort: string
  1036. state: string
  1037. showType: string
  1038. createBy: string
  1039. createTime: string
  1040. updateBy: string
  1041. updateTime: string
  1042. imageUrl: string
  1043. toType: string
  1044. static Create(){
  1045. return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1046. }
  1047. 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,) {
  1048. this.id = id;
  1049. this.name = name;
  1050. this.toId = toId;
  1051. this.adviceType = adviceType;
  1052. this.sort = sort;
  1053. this.state = state;
  1054. this.showType = showType;
  1055. this.createBy = createBy;
  1056. this.createTime = createTime;
  1057. this.updateBy = updateBy;
  1058. this.updateTime = updateTime;
  1059. this.imageUrl = imageUrl;
  1060. this.toType = toType;
  1061. }
  1062. }
  1063. export class ShopTopicSku{
  1064. id: number
  1065. topicId: number
  1066. skuId: number
  1067. static Create(){
  1068. return new ShopTopicSku(null,null,null,);
  1069. }
  1070. constructor( id: number,topicId: number,skuId: number,) {
  1071. this.id = id;
  1072. this.topicId = topicId;
  1073. this.skuId = skuId;
  1074. }
  1075. }
  1076. export class ArticleQuery{
  1077. id: number
  1078. articleTitle: string
  1079. articleContent: string
  1080. state: string
  1081. articleTagIds: string
  1082. articleTopicId: number
  1083. image: string
  1084. publishTimeStart: string
  1085. publishTimeEnd: string
  1086. eyeFillStart: number
  1087. eyeFillEnd: number
  1088. likeCountStart: number
  1089. likeCountEnd: number
  1090. createBy: string
  1091. createTime: string
  1092. updateBy: string
  1093. updateTime: string
  1094. articleDesc: string
  1095. static Create(){
  1096. return new ArticleQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1097. }
  1098. constructor(id: number,articleTitle: string,articleContent: string,state: string,articleTagIds: string,articleTopicId: number,image: string,publishTimeStart: string,publishTimeEnd: string,eyeFillStart: number,eyeFillEnd: number,likeCountStart: number,likeCountEnd: number,createBy: string,createTime: string,updateBy: string,updateTime: string,articleDesc: string,) {
  1099. this.id = id;
  1100. this.articleTitle = articleTitle;
  1101. this.articleContent = articleContent;
  1102. this.state = state;
  1103. this.articleTagIds = articleTagIds;
  1104. this.articleTopicId = articleTopicId;
  1105. this.image = image;
  1106. this.publishTimeStart = publishTimeStart;
  1107. this.publishTimeEnd = publishTimeEnd;
  1108. this.eyeFillStart = eyeFillStart;
  1109. this.eyeFillEnd = eyeFillEnd;
  1110. this.likeCountStart = likeCountStart;
  1111. this.likeCountEnd = likeCountEnd;
  1112. this.createBy = createBy;
  1113. this.createTime = createTime;
  1114. this.updateBy = updateBy;
  1115. this.updateTime = updateTime;
  1116. this.articleDesc = articleDesc;
  1117. }
  1118. }
  1119. export class ArticleTagQuery{
  1120. id: number
  1121. tagName: string
  1122. tagDesc: string
  1123. tagTextColor: string
  1124. tagBackgroundColor: string
  1125. static Create(){
  1126. return new ArticleTagQuery(null,null,null,null,null,);
  1127. }
  1128. constructor(id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) {
  1129. this.id = id;
  1130. this.tagName = tagName;
  1131. this.tagDesc = tagDesc;
  1132. this.tagTextColor = tagTextColor;
  1133. this.tagBackgroundColor = tagBackgroundColor;
  1134. }
  1135. }
  1136. export class ArticleTopicQuery{
  1137. id: number
  1138. image: string
  1139. topicName: string
  1140. topicDesc: string
  1141. static Create(){
  1142. return new ArticleTopicQuery(null,null,null,null,);
  1143. }
  1144. constructor(id: number,image: string,topicName: string,topicDesc: string,) {
  1145. this.id = id;
  1146. this.image = image;
  1147. this.topicName = topicName;
  1148. this.topicDesc = topicDesc;
  1149. }
  1150. }
  1151. export class BackAuthorityQuery{
  1152. id: number
  1153. authorityName: string
  1154. authorityPath: string
  1155. method: string
  1156. state: string
  1157. authorityVerification: string
  1158. createTimeStart: string
  1159. createTimeEnd: string
  1160. static Create(){
  1161. return new BackAuthorityQuery(null,null,null,null,null,null,null,null,);
  1162. }
  1163. constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTimeStart: string,createTimeEnd: string,) {
  1164. this.id = id;
  1165. this.authorityName = authorityName;
  1166. this.authorityPath = authorityPath;
  1167. this.method = method;
  1168. this.state = state;
  1169. this.authorityVerification = authorityVerification;
  1170. this.createTimeStart = createTimeStart;
  1171. this.createTimeEnd = createTimeEnd;
  1172. }
  1173. }
  1174. export class BackMenuQuery{
  1175. id: number
  1176. backMenuName: string
  1177. backMenuPater: number
  1178. sort: number
  1179. icon: string
  1180. remark: string
  1181. backRouterPath: string
  1182. state: string
  1183. static Create(){
  1184. return new BackMenuQuery(null,null,null,null,null,null,null,null,);
  1185. }
  1186. constructor(id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
  1187. this.id = id;
  1188. this.backMenuName = backMenuName;
  1189. this.backMenuPater = backMenuPater;
  1190. this.sort = sort;
  1191. this.icon = icon;
  1192. this.remark = remark;
  1193. this.backRouterPath = backRouterPath;
  1194. this.state = state;
  1195. }
  1196. }
  1197. export class BackRoleQuery{
  1198. id: number
  1199. roleName: string
  1200. static Create(){
  1201. return new BackRoleQuery(null,null,);
  1202. }
  1203. constructor(id: number,roleName: string,) {
  1204. this.id = id;
  1205. this.roleName = roleName;
  1206. }
  1207. }
  1208. export class BackRoleAuthorityQuery{
  1209. id: number
  1210. roleId: number
  1211. authorityId: number
  1212. static Create(){
  1213. return new BackRoleAuthorityQuery(null,null,null,);
  1214. }
  1215. constructor(id: number,roleId: number,authorityId: number,) {
  1216. this.id = id;
  1217. this.roleId = roleId;
  1218. this.authorityId = authorityId;
  1219. }
  1220. }
  1221. export class BackRoleMenuQuery{
  1222. id: number
  1223. roleId: number
  1224. menuId: number
  1225. static Create(){
  1226. return new BackRoleMenuQuery(null,null,null,);
  1227. }
  1228. constructor(id: number,roleId: number,menuId: number,) {
  1229. this.id = id;
  1230. this.roleId = roleId;
  1231. this.menuId = menuId;
  1232. }
  1233. }
  1234. export class GenTableQuery{
  1235. id: number
  1236. tableName: string
  1237. tableComment: string
  1238. name: string
  1239. routerName: string
  1240. remark: string
  1241. static Create(){
  1242. return new GenTableQuery(null,null,null,null,null,null,);
  1243. }
  1244. constructor(id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
  1245. this.id = id;
  1246. this.tableName = tableName;
  1247. this.tableComment = tableComment;
  1248. this.name = name;
  1249. this.routerName = routerName;
  1250. this.remark = remark;
  1251. }
  1252. }
  1253. export class GenTableColumnQuery{
  1254. id: number
  1255. tableId: number
  1256. sort: number
  1257. columnComment: string
  1258. columnType: string
  1259. goType: string
  1260. goField: string
  1261. isKey: string
  1262. isIncrement: string
  1263. isRequired: string
  1264. queryType: string
  1265. vueShowType: string
  1266. dictType: string
  1267. columnName: string
  1268. static Create(){
  1269. return new GenTableColumnQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1270. }
  1271. 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,) {
  1272. this.id = id;
  1273. this.tableId = tableId;
  1274. this.sort = sort;
  1275. this.columnComment = columnComment;
  1276. this.columnType = columnType;
  1277. this.goType = goType;
  1278. this.goField = goField;
  1279. this.isKey = isKey;
  1280. this.isIncrement = isIncrement;
  1281. this.isRequired = isRequired;
  1282. this.queryType = queryType;
  1283. this.vueShowType = vueShowType;
  1284. this.dictType = dictType;
  1285. this.columnName = columnName;
  1286. }
  1287. }
  1288. export class GoodsQuery{
  1289. id: number
  1290. typeId: number
  1291. goodsName: string
  1292. introductionId: number
  1293. salesVolumeStart: number
  1294. salesVolumeEnd: number
  1295. tagIds: string
  1296. static Create(){
  1297. return new GoodsQuery(null,null,null,null,null,null,null,);
  1298. }
  1299. constructor(id: number,typeId: number,goodsName: string,introductionId: number,salesVolumeStart: number,salesVolumeEnd: number,tagIds: string,) {
  1300. this.id = id;
  1301. this.typeId = typeId;
  1302. this.goodsName = goodsName;
  1303. this.introductionId = introductionId;
  1304. this.salesVolumeStart = salesVolumeStart;
  1305. this.salesVolumeEnd = salesVolumeEnd;
  1306. this.tagIds = tagIds;
  1307. }
  1308. }
  1309. export class GoodsCommodityAreaQuery{
  1310. id: number
  1311. goodsId: number
  1312. commodityAreaName: string
  1313. detailImage: string
  1314. detailIntroductionId: number
  1315. static Create(){
  1316. return new GoodsCommodityAreaQuery(null,null,null,null,null,);
  1317. }
  1318. constructor(id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
  1319. this.id = id;
  1320. this.goodsId = goodsId;
  1321. this.commodityAreaName = commodityAreaName;
  1322. this.detailImage = detailImage;
  1323. this.detailIntroductionId = detailIntroductionId;
  1324. }
  1325. }
  1326. export class GoodsCouponQuery{
  1327. id: number
  1328. couponName: string
  1329. couponDesc: string
  1330. cashBackPoint: number
  1331. cashBackPrice: number
  1332. conditionByTopic: string
  1333. conditionByType: string
  1334. conditionByGoods: string
  1335. grantCount: string
  1336. count: number
  1337. receiveType: string
  1338. validity: string
  1339. validityPeriodStart: string
  1340. validityPeriodEnd: string
  1341. static Create(){
  1342. return new GoodsCouponQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1343. }
  1344. 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,validityPeriodStart: string,validityPeriodEnd: string,) {
  1345. this.id = id;
  1346. this.couponName = couponName;
  1347. this.couponDesc = couponDesc;
  1348. this.cashBackPoint = cashBackPoint;
  1349. this.cashBackPrice = cashBackPrice;
  1350. this.conditionByTopic = conditionByTopic;
  1351. this.conditionByType = conditionByType;
  1352. this.conditionByGoods = conditionByGoods;
  1353. this.grantCount = grantCount;
  1354. this.count = count;
  1355. this.receiveType = receiveType;
  1356. this.validity = validity;
  1357. this.validityPeriodStart = validityPeriodStart;
  1358. this.validityPeriodEnd = validityPeriodEnd;
  1359. }
  1360. }
  1361. export class GoodsCouponUserQuery{
  1362. id: number
  1363. userId: number
  1364. couponId: number
  1365. collectionTime: string
  1366. state: string
  1367. static Create(){
  1368. return new GoodsCouponUserQuery(null,null,null,null,null,);
  1369. }
  1370. constructor(id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
  1371. this.id = id;
  1372. this.userId = userId;
  1373. this.couponId = couponId;
  1374. this.collectionTime = collectionTime;
  1375. this.state = state;
  1376. }
  1377. }
  1378. export class GoodsIntroductionQuery{
  1379. id: number
  1380. goodsArticleName: string
  1381. goodsArticle: string
  1382. createBy: string
  1383. createTime: string
  1384. updateBy: string
  1385. updateTime: string
  1386. static Create(){
  1387. return new GoodsIntroductionQuery(null,null,null,null,null,null,null,);
  1388. }
  1389. constructor(id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
  1390. this.id = id;
  1391. this.goodsArticleName = goodsArticleName;
  1392. this.goodsArticle = goodsArticle;
  1393. this.createBy = createBy;
  1394. this.createTime = createTime;
  1395. this.updateBy = updateBy;
  1396. this.updateTime = updateTime;
  1397. }
  1398. }
  1399. export class GoodsOrderQuery{
  1400. id: number
  1401. orderName: string
  1402. skuId: number
  1403. countStart: number
  1404. countEnd: number
  1405. priceStart: number
  1406. priceEnd: number
  1407. totalPriceStart: number
  1408. totalPriceEnd: number
  1409. contactInformation: string
  1410. couponUserId: number
  1411. state: string
  1412. createBy: number
  1413. createTime: string
  1414. otherData: string
  1415. static Create(){
  1416. return new GoodsOrderQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1417. }
  1418. constructor(id: number,orderName: string,skuId: number,countStart: number,countEnd: number,priceStart: number,priceEnd: number,totalPriceStart: number,totalPriceEnd: number,contactInformation: string,couponUserId: number,state: string,createBy: number,createTime: string,otherData: string,) {
  1419. this.id = id;
  1420. this.orderName = orderName;
  1421. this.skuId = skuId;
  1422. this.countStart = countStart;
  1423. this.countEnd = countEnd;
  1424. this.priceStart = priceStart;
  1425. this.priceEnd = priceEnd;
  1426. this.totalPriceStart = totalPriceStart;
  1427. this.totalPriceEnd = totalPriceEnd;
  1428. this.contactInformation = contactInformation;
  1429. this.couponUserId = couponUserId;
  1430. this.state = state;
  1431. this.createBy = createBy;
  1432. this.createTime = createTime;
  1433. this.otherData = otherData;
  1434. }
  1435. }
  1436. export class GoodsSkuQuery{
  1437. id: number
  1438. skuImage: string
  1439. skuName: string
  1440. price: number
  1441. historicalPrices: number
  1442. inventoryNumber: number
  1443. commodityAreaId: number
  1444. goodsId: number
  1445. createBy: string
  1446. createTimeStart: string
  1447. createTimeEnd: string
  1448. static Create(){
  1449. return new GoodsSkuQuery(null,null,null,null,null,null,null,null,null,null,null,);
  1450. }
  1451. constructor(id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTimeStart: string,createTimeEnd: string,) {
  1452. this.id = id;
  1453. this.skuImage = skuImage;
  1454. this.skuName = skuName;
  1455. this.price = price;
  1456. this.historicalPrices = historicalPrices;
  1457. this.inventoryNumber = inventoryNumber;
  1458. this.commodityAreaId = commodityAreaId;
  1459. this.goodsId = goodsId;
  1460. this.createBy = createBy;
  1461. this.createTimeStart = createTimeStart;
  1462. this.createTimeEnd = createTimeEnd;
  1463. }
  1464. }
  1465. export class GoodsSkuCardQuery{
  1466. id: number
  1467. cardName: string
  1468. state: string
  1469. count: number
  1470. totalCount: string
  1471. cardKey: string
  1472. use: string
  1473. uploadTimeStart: string
  1474. uploadTimeEnd: string
  1475. skuId: number
  1476. sort: string
  1477. static Create(){
  1478. return new GoodsSkuCardQuery(null,null,null,null,null,null,null,null,null,null,null,);
  1479. }
  1480. constructor(id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTimeStart: string,uploadTimeEnd: string,skuId: number,sort: string,) {
  1481. this.id = id;
  1482. this.cardName = cardName;
  1483. this.state = state;
  1484. this.count = count;
  1485. this.totalCount = totalCount;
  1486. this.cardKey = cardKey;
  1487. this.use = use;
  1488. this.uploadTimeStart = uploadTimeStart;
  1489. this.uploadTimeEnd = uploadTimeEnd;
  1490. this.skuId = skuId;
  1491. this.sort = sort;
  1492. }
  1493. }
  1494. export class GoodsTagQuery{
  1495. id: number
  1496. name: string
  1497. iconUrl: string
  1498. tag: string
  1499. static Create(){
  1500. return new GoodsTagQuery(null,null,null,null,);
  1501. }
  1502. constructor(id: number,name: string,iconUrl: string,tag: string,) {
  1503. this.id = id;
  1504. this.name = name;
  1505. this.iconUrl = iconUrl;
  1506. this.tag = tag;
  1507. }
  1508. }
  1509. export class GoodsTypeQuery{
  1510. id: number
  1511. sort: number
  1512. typeImage: string
  1513. typeName: string
  1514. createTimeStart: string
  1515. createTimeEnd: string
  1516. static Create(){
  1517. return new GoodsTypeQuery(null,null,null,null,null,null,);
  1518. }
  1519. constructor(id: number,sort: number,typeImage: string,typeName: string,createTimeStart: string,createTimeEnd: string,) {
  1520. this.id = id;
  1521. this.sort = sort;
  1522. this.typeImage = typeImage;
  1523. this.typeName = typeName;
  1524. this.createTimeStart = createTimeStart;
  1525. this.createTimeEnd = createTimeEnd;
  1526. }
  1527. }
  1528. export class UserQuery{
  1529. id: number
  1530. username: string
  1531. password: string
  1532. creationTime: number
  1533. loginTime: number
  1534. status: string
  1535. roleId: number
  1536. phone: string
  1537. email: string
  1538. name: string
  1539. avatar: string
  1540. recommendCode: string
  1541. inviterBy: number
  1542. static Create(){
  1543. return new UserQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1544. }
  1545. 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,) {
  1546. this.id = id;
  1547. this.username = username;
  1548. this.password = password;
  1549. this.creationTime = creationTime;
  1550. this.loginTime = loginTime;
  1551. this.status = status;
  1552. this.roleId = roleId;
  1553. this.phone = phone;
  1554. this.email = email;
  1555. this.name = name;
  1556. this.avatar = avatar;
  1557. this.recommendCode = recommendCode;
  1558. this.inviterBy = inviterBy;
  1559. }
  1560. }
  1561. export class UserWalletQuery{
  1562. id: number
  1563. userId: number
  1564. balanceStart: number
  1565. balanceEnd: number
  1566. promotionAmountStart: number
  1567. promotionAmountEnd: number
  1568. rechargeAmountStart: number
  1569. rechargeAmountEnd: number
  1570. static Create(){
  1571. return new UserWalletQuery(null,null,null,null,null,null,null,null,);
  1572. }
  1573. constructor(id: number,userId: number,balanceStart: number,balanceEnd: number,promotionAmountStart: number,promotionAmountEnd: number,rechargeAmountStart: number,rechargeAmountEnd: number,) {
  1574. this.id = id;
  1575. this.userId = userId;
  1576. this.balanceStart = balanceStart;
  1577. this.balanceEnd = balanceEnd;
  1578. this.promotionAmountStart = promotionAmountStart;
  1579. this.promotionAmountEnd = promotionAmountEnd;
  1580. this.rechargeAmountStart = rechargeAmountStart;
  1581. this.rechargeAmountEnd = rechargeAmountEnd;
  1582. }
  1583. }
  1584. export class DictDataQuery{
  1585. id: number
  1586. sort: number
  1587. dictLabel: string
  1588. dictValue: string
  1589. dictType: string
  1590. status: string
  1591. cssStyle: string
  1592. isDefault: string
  1593. remark: string
  1594. static Create(){
  1595. return new DictDataQuery(null,null,null,null,null,null,null,null,null,);
  1596. }
  1597. constructor(id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
  1598. this.id = id;
  1599. this.sort = sort;
  1600. this.dictLabel = dictLabel;
  1601. this.dictValue = dictValue;
  1602. this.dictType = dictType;
  1603. this.status = status;
  1604. this.cssStyle = cssStyle;
  1605. this.isDefault = isDefault;
  1606. this.remark = remark;
  1607. }
  1608. }
  1609. export class DictTypeQuery{
  1610. id: number
  1611. dictName: string
  1612. dictType: string
  1613. status: string
  1614. remark: string
  1615. static Create(){
  1616. return new DictTypeQuery(null,null,null,null,null,);
  1617. }
  1618. constructor(id: number,dictName: string,dictType: string,status: string,remark: string,) {
  1619. this.id = id;
  1620. this.dictName = dictName;
  1621. this.dictType = dictType;
  1622. this.status = status;
  1623. this.remark = remark;
  1624. }
  1625. }
  1626. export class ShopTopicQuery{
  1627. id: number
  1628. sort: string
  1629. parentId: number
  1630. topicPageImage: string
  1631. topicName: string
  1632. topicDesc: string
  1633. typeIds: string
  1634. static Create(){
  1635. return new ShopTopicQuery(null,null,null,null,null,null,null,);
  1636. }
  1637. constructor(id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
  1638. this.id = id;
  1639. this.sort = sort;
  1640. this.parentId = parentId;
  1641. this.topicPageImage = topicPageImage;
  1642. this.topicName = topicName;
  1643. this.topicDesc = topicDesc;
  1644. this.typeIds = typeIds;
  1645. }
  1646. }
  1647. export class ShopAdviceCarouselQuery{
  1648. id: number
  1649. name: string
  1650. toId: number
  1651. adviceType: string
  1652. sort: string
  1653. state: string
  1654. showType: string
  1655. createBy: string
  1656. createTime: string
  1657. updateBy: string
  1658. updateTime: string
  1659. imageUrl: string
  1660. toType: string
  1661. static Create(){
  1662. return new ShopAdviceCarouselQuery(null,null,null,null,null,null,null,null,null,null,null,null,null,);
  1663. }
  1664. 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,) {
  1665. this.id = id;
  1666. this.name = name;
  1667. this.toId = toId;
  1668. this.adviceType = adviceType;
  1669. this.sort = sort;
  1670. this.state = state;
  1671. this.showType = showType;
  1672. this.createBy = createBy;
  1673. this.createTime = createTime;
  1674. this.updateBy = updateBy;
  1675. this.updateTime = updateTime;
  1676. this.imageUrl = imageUrl;
  1677. this.toType = toType;
  1678. }
  1679. }
  1680. export class ShopTopicSkuQuery{
  1681. id: number
  1682. topicId: number
  1683. skuId: number
  1684. static Create(){
  1685. return new ShopTopicSkuQuery(null,null,null,);
  1686. }
  1687. constructor(id: number,topicId: number,skuId: number,) {
  1688. this.id = id;
  1689. this.topicId = topicId;
  1690. this.skuId = skuId;
  1691. }
  1692. }