| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163 |
- import api, {ResponseData} from "../api.ts";
- import {BaseListVo} from "../detail/DetailApi.ts";
- export function GetBaseArticleById(id: number | string) {
- return api.GetDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<Article>>;
- }
- export function GetBaseArticleListByArticle(param: Article, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/article/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Article>>>;
- }
- export function GetBaseArticleListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/article/in", {ids: ids}, true) as Promise<ResponseData<Article[]>>;
- }
- export function SaveBaseArticle(Article: Article) {
- return api.PostDataByPath("/back/base/article", { article: Article}, true) as Promise<ResponseData<Article>>;
- }
- export function UpdateBaseArticle(Article: Article, id: number | string) {
- return api.PutDataByPath("/back/base/article", { article: Article, id: id}, true) as Promise<ResponseData<Article>>;
- }
- export function DeleteBaseArticleById(id: number | string) {
- return api.DeleteDataByPath("/back/base/article?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseArticleTagById(id: number | string) {
- return api.GetDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<ArticleTag>>;
- }
- export function GetBaseArticleTagListByArticleTag(param: ArticleTag, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/articleTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTag>>>;
- }
- export function GetBaseArticleTagListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/articleTag/in", {ids: ids}, true) as Promise<ResponseData<ArticleTag[]>>;
- }
- export function SaveBaseArticleTag(ArticleTag: ArticleTag) {
- return api.PostDataByPath("/back/base/articleTag", { articleTag: ArticleTag}, true) as Promise<ResponseData<ArticleTag>>;
- }
- export function UpdateBaseArticleTag(ArticleTag: ArticleTag, id: number | string) {
- return api.PutDataByPath("/back/base/articleTag", { articleTag: ArticleTag, id: id}, true) as Promise<ResponseData<ArticleTag>>;
- }
- export function DeleteBaseArticleTagById(id: number | string) {
- return api.DeleteDataByPath("/back/base/articleTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseArticleTopicById(id: number | string) {
- return api.GetDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<ArticleTopic>>;
- }
- export function GetBaseArticleTopicListByArticleTopic(param: ArticleTopic, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/articleTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ArticleTopic>>>;
- }
- export function GetBaseArticleTopicListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/articleTopic/in", {ids: ids}, true) as Promise<ResponseData<ArticleTopic[]>>;
- }
- export function SaveBaseArticleTopic(ArticleTopic: ArticleTopic) {
- return api.PostDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic}, true) as Promise<ResponseData<ArticleTopic>>;
- }
- export function UpdateBaseArticleTopic(ArticleTopic: ArticleTopic, id: number | string) {
- return api.PutDataByPath("/back/base/articleTopic", { articleTopic: ArticleTopic, id: id}, true) as Promise<ResponseData<ArticleTopic>>;
- }
- export function DeleteBaseArticleTopicById(id: number | string) {
- return api.DeleteDataByPath("/back/base/articleTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackAuthorityById(id: number | string) {
- return api.GetDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<BackAuthority>>;
- }
- export function GetBaseBackAuthorityListByBackAuthority(param: BackAuthority, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackAuthority>>>;
- }
- export function GetBaseBackAuthorityListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backAuthority/in", {ids: ids}, true) as Promise<ResponseData<BackAuthority[]>>;
- }
- export function SaveBaseBackAuthority(BackAuthority: BackAuthority) {
- return api.PostDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority}, true) as Promise<ResponseData<BackAuthority>>;
- }
- export function UpdateBaseBackAuthority(BackAuthority: BackAuthority, id: number | string) {
- return api.PutDataByPath("/back/base/backAuthority", { backAuthority: BackAuthority, id: id}, true) as Promise<ResponseData<BackAuthority>>;
- }
- export function DeleteBaseBackAuthorityById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackMenuById(id: number | string) {
- return api.GetDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<BackMenu>>;
- }
- export function GetBaseBackMenuListByBackMenu(param: BackMenu, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackMenu>>>;
- }
- export function GetBaseBackMenuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backMenu/in", {ids: ids}, true) as Promise<ResponseData<BackMenu[]>>;
- }
- export function SaveBaseBackMenu(BackMenu: BackMenu) {
- return api.PostDataByPath("/back/base/backMenu", { backMenu: BackMenu}, true) as Promise<ResponseData<BackMenu>>;
- }
- export function UpdateBaseBackMenu(BackMenu: BackMenu, id: number | string) {
- return api.PutDataByPath("/back/base/backMenu", { backMenu: BackMenu, id: id}, true) as Promise<ResponseData<BackMenu>>;
- }
- export function DeleteBaseBackMenuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackRoleById(id: number | string) {
- return api.GetDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<BackRole>>;
- }
- export function GetBaseBackRoleListByBackRole(param: BackRole, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backRole/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRole>>>;
- }
- export function GetBaseBackRoleListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backRole/in", {ids: ids}, true) as Promise<ResponseData<BackRole[]>>;
- }
- export function SaveBaseBackRole(BackRole: BackRole) {
- return api.PostDataByPath("/back/base/backRole", { backRole: BackRole}, true) as Promise<ResponseData<BackRole>>;
- }
- export function UpdateBaseBackRole(BackRole: BackRole, id: number | string) {
- return api.PutDataByPath("/back/base/backRole", { backRole: BackRole, id: id}, true) as Promise<ResponseData<BackRole>>;
- }
- export function DeleteBaseBackRoleById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backRole?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackRoleAuthorityById(id: number | string) {
- return api.GetDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<BackRoleAuthority>>;
- }
- export function GetBaseBackRoleAuthorityListByBackRoleAuthority(param: BackRoleAuthority, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backRoleAuthority/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleAuthority>>>;
- }
- export function GetBaseBackRoleAuthorityListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backRoleAuthority/in", {ids: ids}, true) as Promise<ResponseData<BackRoleAuthority[]>>;
- }
- export function SaveBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority) {
- return api.PostDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority}, true) as Promise<ResponseData<BackRoleAuthority>>;
- }
- export function UpdateBaseBackRoleAuthority(BackRoleAuthority: BackRoleAuthority, id: number | string) {
- return api.PutDataByPath("/back/base/backRoleAuthority", { backRoleAuthority: BackRoleAuthority, id: id}, true) as Promise<ResponseData<BackRoleAuthority>>;
- }
- export function DeleteBaseBackRoleAuthorityById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backRoleAuthority?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseBackRoleMenuById(id: number | string) {
- return api.GetDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<BackRoleMenu>>;
- }
- export function GetBaseBackRoleMenuListByBackRoleMenu(param: BackRoleMenu, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/backRoleMenu/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<BackRoleMenu>>>;
- }
- export function GetBaseBackRoleMenuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/backRoleMenu/in", {ids: ids}, true) as Promise<ResponseData<BackRoleMenu[]>>;
- }
- export function SaveBaseBackRoleMenu(BackRoleMenu: BackRoleMenu) {
- return api.PostDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu}, true) as Promise<ResponseData<BackRoleMenu>>;
- }
- export function UpdateBaseBackRoleMenu(BackRoleMenu: BackRoleMenu, id: number | string) {
- return api.PutDataByPath("/back/base/backRoleMenu", { backRoleMenu: BackRoleMenu, id: id}, true) as Promise<ResponseData<BackRoleMenu>>;
- }
- export function DeleteBaseBackRoleMenuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/backRoleMenu?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGenTableById(id: number | string) {
- return api.GetDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<GenTable>>;
- }
- export function GetBaseGenTableListByGenTable(param: GenTable, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/genTable/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTable>>>;
- }
- export function GetBaseGenTableListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/genTable/in", {ids: ids}, true) as Promise<ResponseData<GenTable[]>>;
- }
- export function SaveBaseGenTable(GenTable: GenTable) {
- return api.PostDataByPath("/back/base/genTable", { genTable: GenTable}, true) as Promise<ResponseData<GenTable>>;
- }
- export function UpdateBaseGenTable(GenTable: GenTable, id: number | string) {
- return api.PutDataByPath("/back/base/genTable", { genTable: GenTable, id: id}, true) as Promise<ResponseData<GenTable>>;
- }
- export function DeleteBaseGenTableById(id: number | string) {
- return api.DeleteDataByPath("/back/base/genTable?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGenTableColumnById(id: number | string) {
- return api.GetDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<GenTableColumn>>;
- }
- export function GetBaseGenTableColumnListByGenTableColumn(param: GenTableColumn, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/genTableColumn/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GenTableColumn>>>;
- }
- export function GetBaseGenTableColumnListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/genTableColumn/in", {ids: ids}, true) as Promise<ResponseData<GenTableColumn[]>>;
- }
- export function SaveBaseGenTableColumn(GenTableColumn: GenTableColumn) {
- return api.PostDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn}, true) as Promise<ResponseData<GenTableColumn>>;
- }
- export function UpdateBaseGenTableColumn(GenTableColumn: GenTableColumn, id: number | string) {
- return api.PutDataByPath("/back/base/genTableColumn", { genTableColumn: GenTableColumn, id: id}, true) as Promise<ResponseData<GenTableColumn>>;
- }
- export function DeleteBaseGenTableColumnById(id: number | string) {
- return api.DeleteDataByPath("/back/base/genTableColumn?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsById(id: number | string) {
- return api.GetDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<Goods>>;
- }
- export function GetBaseGoodsListByGoods(param: Goods, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goods/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<Goods>>>;
- }
- export function GetBaseGoodsListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goods/in", {ids: ids}, true) as Promise<ResponseData<Goods[]>>;
- }
- export function SaveBaseGoods(Goods: Goods) {
- return api.PostDataByPath("/back/base/goods", { goods: Goods}, true) as Promise<ResponseData<Goods>>;
- }
- export function UpdateBaseGoods(Goods: Goods, id: number | string) {
- return api.PutDataByPath("/back/base/goods", { goods: Goods, id: id}, true) as Promise<ResponseData<Goods>>;
- }
- export function DeleteBaseGoodsById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goods?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsCommodityAreaById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<GoodsCommodityArea>>;
- }
- export function GetBaseGoodsCommodityAreaListByGoodsCommodityArea(param: GoodsCommodityArea, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsCommodityArea/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCommodityArea>>>;
- }
- export function GetBaseGoodsCommodityAreaListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsCommodityArea/in", {ids: ids}, true) as Promise<ResponseData<GoodsCommodityArea[]>>;
- }
- export function SaveBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea) {
- return api.PostDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea}, true) as Promise<ResponseData<GoodsCommodityArea>>;
- }
- export function UpdateBaseGoodsCommodityArea(GoodsCommodityArea: GoodsCommodityArea, id: number | string) {
- return api.PutDataByPath("/back/base/goodsCommodityArea", { goodsCommodityArea: GoodsCommodityArea, id: id}, true) as Promise<ResponseData<GoodsCommodityArea>>;
- }
- export function DeleteBaseGoodsCommodityAreaById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsCommodityArea?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsCouponById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<GoodsCoupon>>;
- }
- export function GetBaseGoodsCouponListByGoodsCoupon(param: GoodsCoupon, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsCoupon/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCoupon>>>;
- }
- export function GetBaseGoodsCouponListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsCoupon/in", {ids: ids}, true) as Promise<ResponseData<GoodsCoupon[]>>;
- }
- export function SaveBaseGoodsCoupon(GoodsCoupon: GoodsCoupon) {
- return api.PostDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon}, true) as Promise<ResponseData<GoodsCoupon>>;
- }
- export function UpdateBaseGoodsCoupon(GoodsCoupon: GoodsCoupon, id: number | string) {
- return api.PutDataByPath("/back/base/goodsCoupon", { goodsCoupon: GoodsCoupon, id: id}, true) as Promise<ResponseData<GoodsCoupon>>;
- }
- export function DeleteBaseGoodsCouponById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsCoupon?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsCouponUserById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<GoodsCouponUser>>;
- }
- export function GetBaseGoodsCouponUserListByGoodsCouponUser(param: GoodsCouponUser, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsCouponUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsCouponUser>>>;
- }
- export function GetBaseGoodsCouponUserListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsCouponUser/in", {ids: ids}, true) as Promise<ResponseData<GoodsCouponUser[]>>;
- }
- export function SaveBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser) {
- return api.PostDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser}, true) as Promise<ResponseData<GoodsCouponUser>>;
- }
- export function UpdateBaseGoodsCouponUser(GoodsCouponUser: GoodsCouponUser, id: number | string) {
- return api.PutDataByPath("/back/base/goodsCouponUser", { goodsCouponUser: GoodsCouponUser, id: id}, true) as Promise<ResponseData<GoodsCouponUser>>;
- }
- export function DeleteBaseGoodsCouponUserById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsCouponUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsIntroductionById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<GoodsIntroduction>>;
- }
- export function GetBaseGoodsIntroductionListByGoodsIntroduction(param: GoodsIntroduction, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsIntroduction/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsIntroduction>>>;
- }
- export function GetBaseGoodsIntroductionListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsIntroduction/in", {ids: ids}, true) as Promise<ResponseData<GoodsIntroduction[]>>;
- }
- export function SaveBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction) {
- return api.PostDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction}, true) as Promise<ResponseData<GoodsIntroduction>>;
- }
- export function UpdateBaseGoodsIntroduction(GoodsIntroduction: GoodsIntroduction, id: number | string) {
- return api.PutDataByPath("/back/base/goodsIntroduction", { goodsIntroduction: GoodsIntroduction, id: id}, true) as Promise<ResponseData<GoodsIntroduction>>;
- }
- export function DeleteBaseGoodsIntroductionById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsIntroduction?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsOrderById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<GoodsOrder>>;
- }
- export function GetBaseGoodsOrderListByGoodsOrder(param: GoodsOrder, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsOrder/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsOrder>>>;
- }
- export function GetBaseGoodsOrderListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsOrder/in", {ids: ids}, true) as Promise<ResponseData<GoodsOrder[]>>;
- }
- export function SaveBaseGoodsOrder(GoodsOrder: GoodsOrder) {
- return api.PostDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder}, true) as Promise<ResponseData<GoodsOrder>>;
- }
- export function UpdateBaseGoodsOrder(GoodsOrder: GoodsOrder, id: number | string) {
- return api.PutDataByPath("/back/base/goodsOrder", { goodsOrder: GoodsOrder, id: id}, true) as Promise<ResponseData<GoodsOrder>>;
- }
- export function DeleteBaseGoodsOrderById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsOrder?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsSkuById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<GoodsSku>>;
- }
- export function GetBaseGoodsSkuListByGoodsSku(param: GoodsSku, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSku>>>;
- }
- export function GetBaseGoodsSkuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsSku/in", {ids: ids}, true) as Promise<ResponseData<GoodsSku[]>>;
- }
- export function SaveBaseGoodsSku(GoodsSku: GoodsSku) {
- return api.PostDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku}, true) as Promise<ResponseData<GoodsSku>>;
- }
- export function UpdateBaseGoodsSku(GoodsSku: GoodsSku, id: number | string) {
- return api.PutDataByPath("/back/base/goodsSku", { goodsSku: GoodsSku, id: id}, true) as Promise<ResponseData<GoodsSku>>;
- }
- export function DeleteBaseGoodsSkuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsSkuCardById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<GoodsSkuCard>>;
- }
- export function GetBaseGoodsSkuCardListByGoodsSkuCard(param: GoodsSkuCard, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsSkuCard/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsSkuCard>>>;
- }
- export function GetBaseGoodsSkuCardListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsSkuCard/in", {ids: ids}, true) as Promise<ResponseData<GoodsSkuCard[]>>;
- }
- export function SaveBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard) {
- return api.PostDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard}, true) as Promise<ResponseData<GoodsSkuCard>>;
- }
- export function UpdateBaseGoodsSkuCard(GoodsSkuCard: GoodsSkuCard, id: number | string) {
- return api.PutDataByPath("/back/base/goodsSkuCard", { goodsSkuCard: GoodsSkuCard, id: id}, true) as Promise<ResponseData<GoodsSkuCard>>;
- }
- export function DeleteBaseGoodsSkuCardById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsSkuCard?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsTagById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<GoodsTag>>;
- }
- export function GetBaseGoodsTagListByGoodsTag(param: GoodsTag, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsTag/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsTag>>>;
- }
- export function GetBaseGoodsTagListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsTag/in", {ids: ids}, true) as Promise<ResponseData<GoodsTag[]>>;
- }
- export function SaveBaseGoodsTag(GoodsTag: GoodsTag) {
- return api.PostDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag}, true) as Promise<ResponseData<GoodsTag>>;
- }
- export function UpdateBaseGoodsTag(GoodsTag: GoodsTag, id: number | string) {
- return api.PutDataByPath("/back/base/goodsTag", { goodsTag: GoodsTag, id: id}, true) as Promise<ResponseData<GoodsTag>>;
- }
- export function DeleteBaseGoodsTagById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsTag?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseGoodsTypeById(id: number | string) {
- return api.GetDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<GoodsType>>;
- }
- export function GetBaseGoodsTypeListByGoodsType(param: GoodsType, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/goodsType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<GoodsType>>>;
- }
- export function GetBaseGoodsTypeListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/goodsType/in", {ids: ids}, true) as Promise<ResponseData<GoodsType[]>>;
- }
- export function SaveBaseGoodsType(GoodsType: GoodsType) {
- return api.PostDataByPath("/back/base/goodsType", { goodsType: GoodsType}, true) as Promise<ResponseData<GoodsType>>;
- }
- export function UpdateBaseGoodsType(GoodsType: GoodsType, id: number | string) {
- return api.PutDataByPath("/back/base/goodsType", { goodsType: GoodsType, id: id}, true) as Promise<ResponseData<GoodsType>>;
- }
- export function DeleteBaseGoodsTypeById(id: number | string) {
- return api.DeleteDataByPath("/back/base/goodsType?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseUserById(id: number | string) {
- return api.GetDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<User>>;
- }
- export function GetBaseUserListByUser(param: User, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/user/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<User>>>;
- }
- export function GetBaseUserListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/user/in", {ids: ids}, true) as Promise<ResponseData<User[]>>;
- }
- export function SaveBaseUser(User: User) {
- return api.PostDataByPath("/back/base/user", { user: User}, true) as Promise<ResponseData<User>>;
- }
- export function UpdateBaseUser(User: User, id: number | string) {
- return api.PutDataByPath("/back/base/user", { user: User, id: id}, true) as Promise<ResponseData<User>>;
- }
- export function DeleteBaseUserById(id: number | string) {
- return api.DeleteDataByPath("/back/base/user?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseUserWalletById(id: number | string) {
- return api.GetDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<UserWallet>>;
- }
- export function GetBaseUserWalletListByUserWallet(param: UserWallet, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/userWallet/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<UserWallet>>>;
- }
- export function GetBaseUserWalletListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/userWallet/in", {ids: ids}, true) as Promise<ResponseData<UserWallet[]>>;
- }
- export function SaveBaseUserWallet(UserWallet: UserWallet) {
- return api.PostDataByPath("/back/base/userWallet", { userWallet: UserWallet}, true) as Promise<ResponseData<UserWallet>>;
- }
- export function UpdateBaseUserWallet(UserWallet: UserWallet, id: number | string) {
- return api.PutDataByPath("/back/base/userWallet", { userWallet: UserWallet, id: id}, true) as Promise<ResponseData<UserWallet>>;
- }
- export function DeleteBaseUserWalletById(id: number | string) {
- return api.DeleteDataByPath("/back/base/userWallet?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseDictDataById(id: number | string) {
- return api.GetDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<DictData>>;
- }
- export function GetBaseDictDataListByDictData(param: DictData, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/dictData/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictData>>>;
- }
- export function GetBaseDictDataListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/dictData/in", {ids: ids}, true) as Promise<ResponseData<DictData[]>>;
- }
- export function SaveBaseDictData(DictData: DictData) {
- return api.PostDataByPath("/back/base/dictData", { dictData: DictData}, true) as Promise<ResponseData<DictData>>;
- }
- export function UpdateBaseDictData(DictData: DictData, id: number | string) {
- return api.PutDataByPath("/back/base/dictData", { dictData: DictData, id: id}, true) as Promise<ResponseData<DictData>>;
- }
- export function DeleteBaseDictDataById(id: number | string) {
- return api.DeleteDataByPath("/back/base/dictData?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseDictTypeById(id: number | string) {
- return api.GetDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<DictType>>;
- }
- export function GetBaseDictTypeListByDictType(param: DictType, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/dictType/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<DictType>>>;
- }
- export function GetBaseDictTypeListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/dictType/in", {ids: ids}, true) as Promise<ResponseData<DictType[]>>;
- }
- export function SaveBaseDictType(DictType: DictType) {
- return api.PostDataByPath("/back/base/dictType", { dictType: DictType}, true) as Promise<ResponseData<DictType>>;
- }
- export function UpdateBaseDictType(DictType: DictType, id: number | string) {
- return api.PutDataByPath("/back/base/dictType", { dictType: DictType, id: id}, true) as Promise<ResponseData<DictType>>;
- }
- export function DeleteBaseDictTypeById(id: number | string) {
- return api.DeleteDataByPath("/back/base/dictType?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseManageUserById(id: number | string) {
- return api.GetDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<ManageUser>>;
- }
- export function GetBaseManageUserListByManageUser(param: ManageUser, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/manageUser/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ManageUser>>>;
- }
- export function GetBaseManageUserListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/manageUser/in", {ids: ids}, true) as Promise<ResponseData<ManageUser[]>>;
- }
- export function SaveBaseManageUser(ManageUser: ManageUser) {
- return api.PostDataByPath("/back/base/manageUser", { manageUser: ManageUser}, true) as Promise<ResponseData<ManageUser>>;
- }
- export function UpdateBaseManageUser(ManageUser: ManageUser, id: number | string) {
- return api.PutDataByPath("/back/base/manageUser", { manageUser: ManageUser, id: id}, true) as Promise<ResponseData<ManageUser>>;
- }
- export function DeleteBaseManageUserById(id: number | string) {
- return api.DeleteDataByPath("/back/base/manageUser?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopTopicById(id: number | string) {
- return api.GetDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<ShopTopic>>;
- }
- export function GetBaseShopTopicListByShopTopic(param: ShopTopic, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopTopic/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopic>>>;
- }
- export function GetBaseShopTopicListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopTopic/in", {ids: ids}, true) as Promise<ResponseData<ShopTopic[]>>;
- }
- export function SaveBaseShopTopic(ShopTopic: ShopTopic) {
- return api.PostDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic}, true) as Promise<ResponseData<ShopTopic>>;
- }
- export function UpdateBaseShopTopic(ShopTopic: ShopTopic, id: number | string) {
- return api.PutDataByPath("/back/base/shopTopic", { shopTopic: ShopTopic, id: id}, true) as Promise<ResponseData<ShopTopic>>;
- }
- export function DeleteBaseShopTopicById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopTopic?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopAdviceCarouselById(id: number | string) {
- return api.GetDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function GetBaseShopAdviceCarouselListByShopAdviceCarousel(param: ShopAdviceCarousel, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopAdviceCarousel>>>;
- }
- export function GetBaseShopAdviceCarouselListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel/in", {ids: ids}, true) as Promise<ResponseData<ShopAdviceCarousel[]>>;
- }
- export function SaveBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel) {
- return api.PostDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function UpdateBaseShopAdviceCarousel(ShopAdviceCarousel: ShopAdviceCarousel, id: number | string) {
- return api.PutDataByPath("/back/base/shopAdviceCarousel", { shopAdviceCarousel: ShopAdviceCarousel, id: id}, true) as Promise<ResponseData<ShopAdviceCarousel>>;
- }
- export function DeleteBaseShopAdviceCarouselById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopAdviceCarousel?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export function GetBaseShopTopicSkuById(id: number | string) {
- return api.GetDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function GetBaseShopTopicSkuListByShopTopicSku(param: ShopTopicSku, pageNum = 1, pageSize = 10) {
- return api.PostDataByPath("/back/base/shopTopicSku/list", {param: param,pageNum: pageNum,pageSize: pageSize}, true) as Promise<ResponseData<BaseListVo<ShopTopicSku>>>;
- }
- export function GetBaseShopTopicSkuListByIds(ids: number[] | string[]) {
- return api.PostDataByPath("/back/base/shopTopicSku/in", {ids: ids}, true) as Promise<ResponseData<ShopTopicSku[]>>;
- }
- export function SaveBaseShopTopicSku(ShopTopicSku: ShopTopicSku) {
- return api.PostDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function UpdateBaseShopTopicSku(ShopTopicSku: ShopTopicSku, id: number | string) {
- return api.PutDataByPath("/back/base/shopTopicSku", { shopTopicSku: ShopTopicSku, id: id}, true) as Promise<ResponseData<ShopTopicSku>>;
- }
- export function DeleteBaseShopTopicSkuById(id: number | string) {
- return api.DeleteDataByPath("/back/base/shopTopicSku?id=" + id, {}, true) as Promise<ResponseData<any>>;
- }
- export class Article{
-
- 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
- static Create(){
- return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.articleTitle = articleTitle;
- this.articleContent = articleContent;
- this.state = state;
- this.articleTagIds = articleTagIds;
- this.articleTopicId = articleTopicId;
- this.image = image;
- this.publishTime = publishTime;
- this.eyeFill = eyeFill;
- this.likeCount = likeCount;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.articleDesc = articleDesc;
-
- }
- }
- export class ArticleTag{
-
- id: number
- tagName: string
- tagDesc: string
- tagTextColor: string
- tagBackgroundColor: string
- static Create(){
- return new ArticleTag(null,null,null,null,null,);
- }
- constructor( id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) {
- this.id = id;
- this.tagName = tagName;
- this.tagDesc = tagDesc;
- this.tagTextColor = tagTextColor;
- this.tagBackgroundColor = tagBackgroundColor;
-
- }
- }
- export class ArticleTopic{
-
- id: number
- image: string
- topicName: string
- topicDesc: string
- static Create(){
- return new ArticleTopic(null,null,null,null,);
- }
- constructor( id: number,image: string,topicName: string,topicDesc: string,) {
- this.id = id;
- this.image = image;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
-
- }
- }
- export class BackAuthority{
-
- id: number
- authorityName: string
- authorityPath: string
- method: string
- state: string
- authorityVerification: string
- createTime: string
- static Create(){
- return new BackAuthority(null,null,null,null,null,null,null,);
- }
- constructor( id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
- this.id = id;
- this.authorityName = authorityName;
- this.authorityPath = authorityPath;
- this.method = method;
- this.state = state;
- this.authorityVerification = authorityVerification;
- this.createTime = createTime;
-
- }
- }
- export class BackMenu{
-
- id: number
- backMenuName: string
- backMenuPater: number
- sort: number
- icon: string
- remark: string
- backRouterPath: string
- state: string
- static Create(){
- return new BackMenu(null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
- this.id = id;
- this.backMenuName = backMenuName;
- this.backMenuPater = backMenuPater;
- this.sort = sort;
- this.icon = icon;
- this.remark = remark;
- this.backRouterPath = backRouterPath;
- this.state = state;
-
- }
- }
- export class BackRole{
-
- id: number
- roleName: string
- static Create(){
- return new BackRole(null,null,);
- }
- constructor( id: number,roleName: string,) {
- this.id = id;
- this.roleName = roleName;
-
- }
- }
- export class BackRoleAuthority{
-
- id: number
- roleId: number
- authorityId: number
- static Create(){
- return new BackRoleAuthority(null,null,null,);
- }
- constructor( id: number,roleId: number,authorityId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.authorityId = authorityId;
-
- }
- }
- export class BackRoleMenu{
-
- id: number
- roleId: number
- menuId: number
- static Create(){
- return new BackRoleMenu(null,null,null,);
- }
- constructor( id: number,roleId: number,menuId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.menuId = menuId;
-
- }
- }
- export class GenTable{
-
- id: number
- tableName: string
- tableComment: string
- name: string
- routerName: string
- remark: string
- static Create(){
- return new GenTable(null,null,null,null,null,null,);
- }
- constructor( id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
- this.id = id;
- this.tableName = tableName;
- this.tableComment = tableComment;
- this.name = name;
- this.routerName = routerName;
- this.remark = remark;
-
- }
- }
- export class GenTableColumn{
-
- 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
- static Create(){
- return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.tableId = tableId;
- this.sort = sort;
- this.columnComment = columnComment;
- this.columnType = columnType;
- this.goType = goType;
- this.goField = goField;
- this.isKey = isKey;
- this.isIncrement = isIncrement;
- this.isRequired = isRequired;
- this.queryType = queryType;
- this.vueShowType = vueShowType;
- this.dictType = dictType;
- this.columnName = columnName;
-
- }
- }
- export class Goods{
-
- id: number
- typeId: number
- goodsName: string
- introductionId: number
- salesVolume: number
- tagIds: string
- static Create(){
- return new Goods(null,null,null,null,null,null,);
- }
- constructor( id: number,typeId: number,goodsName: string,introductionId: number,salesVolume: number,tagIds: string,) {
- this.id = id;
- this.typeId = typeId;
- this.goodsName = goodsName;
- this.introductionId = introductionId;
- this.salesVolume = salesVolume;
- this.tagIds = tagIds;
-
- }
- }
- export class GoodsCommodityArea{
-
- id: number
- goodsId: number
- commodityAreaName: string
- detailImage: string
- detailIntroductionId: number
- static Create(){
- return new GoodsCommodityArea(null,null,null,null,null,);
- }
- constructor( id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
- this.id = id;
- this.goodsId = goodsId;
- this.commodityAreaName = commodityAreaName;
- this.detailImage = detailImage;
- this.detailIntroductionId = detailIntroductionId;
-
- }
- }
- export class GoodsCoupon{
-
- 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
- static Create(){
- return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.couponName = couponName;
- this.couponDesc = couponDesc;
- this.cashBackPoint = cashBackPoint;
- this.cashBackPrice = cashBackPrice;
- this.conditionByTopic = conditionByTopic;
- this.conditionByType = conditionByType;
- this.conditionByGoods = conditionByGoods;
- this.grantCount = grantCount;
- this.count = count;
- this.receiveType = receiveType;
- this.validity = validity;
- this.validityPeriod = validityPeriod;
-
- }
- }
- export class GoodsCouponUser{
-
- id: number
- userId: number
- couponId: number
- collectionTime: string
- state: string
- static Create(){
- return new GoodsCouponUser(null,null,null,null,null,);
- }
- constructor( id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
- this.id = id;
- this.userId = userId;
- this.couponId = couponId;
- this.collectionTime = collectionTime;
- this.state = state;
-
- }
- }
- export class GoodsIntroduction{
-
- id: number
- goodsArticleName: string
- goodsArticle: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- static Create(){
- return new GoodsIntroduction(null,null,null,null,null,null,null,);
- }
- constructor( id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
- this.id = id;
- this.goodsArticleName = goodsArticleName;
- this.goodsArticle = goodsArticle;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
-
- }
- }
- export class GoodsOrder{
-
- id: number
- orderName: string
- skuId: number
- count: number
- price: number
- totalPrice: number
- contactInformation: string
- couponUserId: number
- state: string
- createBy: number
- createTime: string
- otherData: string
- static Create(){
- return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.orderName = orderName;
- this.skuId = skuId;
- this.count = count;
- this.price = price;
- this.totalPrice = totalPrice;
- this.contactInformation = contactInformation;
- this.couponUserId = couponUserId;
- this.state = state;
- this.createBy = createBy;
- this.createTime = createTime;
- this.otherData = otherData;
-
- }
- }
- export class GoodsSku{
-
- id: number
- skuImage: string
- skuName: string
- price: number
- historicalPrices: number
- inventoryNumber: number
- commodityAreaId: number
- goodsId: number
- createBy: string
- createTime: string
- static Create(){
- return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
- this.id = id;
- this.skuImage = skuImage;
- this.skuName = skuName;
- this.price = price;
- this.historicalPrices = historicalPrices;
- this.inventoryNumber = inventoryNumber;
- this.commodityAreaId = commodityAreaId;
- this.goodsId = goodsId;
- this.createBy = createBy;
- this.createTime = createTime;
-
- }
- }
- export class GoodsSkuCard{
-
- id: number
- cardName: string
- state: string
- count: number
- totalCount: string
- cardKey: string
- use: string
- uploadTime: string
- skuId: number
- sort: string
- static Create(){
- return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
- this.id = id;
- this.cardName = cardName;
- this.state = state;
- this.count = count;
- this.totalCount = totalCount;
- this.cardKey = cardKey;
- this.use = use;
- this.uploadTime = uploadTime;
- this.skuId = skuId;
- this.sort = sort;
-
- }
- }
- export class GoodsTag{
-
- id: number
- name: string
- iconUrl: string
- tag: string
- static Create(){
- return new GoodsTag(null,null,null,null,);
- }
- constructor( id: number,name: string,iconUrl: string,tag: string,) {
- this.id = id;
- this.name = name;
- this.iconUrl = iconUrl;
- this.tag = tag;
-
- }
- }
- export class GoodsType{
-
- id: number
- sort: number
- typeImage: string
- typeName: string
- createTime: string
- static Create(){
- return new GoodsType(null,null,null,null,null,);
- }
- constructor( id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
- this.id = id;
- this.sort = sort;
- this.typeImage = typeImage;
- this.typeName = typeName;
- this.createTime = createTime;
-
- }
- }
- export class User{
-
- 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
- static Create(){
- return new User(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.name = name;
- this.avatar = avatar;
- this.recommendCode = recommendCode;
- this.inviterBy = inviterBy;
-
- }
- }
- export class UserWallet{
-
- id: number
- userId: number
- balance: number
- promotionAmount: number
- rechargeAmount: number
- static Create(){
- return new UserWallet(null,null,null,null,null,);
- }
- constructor( id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
- this.id = id;
- this.userId = userId;
- this.balance = balance;
- this.promotionAmount = promotionAmount;
- this.rechargeAmount = rechargeAmount;
-
- }
- }
- export class DictData{
-
- id: number
- sort: number
- dictLabel: string
- dictValue: string
- dictType: string
- status: string
- cssStyle: string
- isDefault: string
- remark: string
- static Create(){
- return new DictData(null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
- this.id = id;
- this.sort = sort;
- this.dictLabel = dictLabel;
- this.dictValue = dictValue;
- this.dictType = dictType;
- this.status = status;
- this.cssStyle = cssStyle;
- this.isDefault = isDefault;
- this.remark = remark;
-
- }
- }
- export class DictType{
-
- id: number
- dictName: string
- dictType: string
- status: string
- remark: string
- static Create(){
- return new DictType(null,null,null,null,null,);
- }
- constructor( id: number,dictName: string,dictType: string,status: string,remark: string,) {
- this.id = id;
- this.dictName = dictName;
- this.dictType = dictType;
- this.status = status;
- this.remark = remark;
-
- }
- }
- export class ManageUser{
-
- id: number
- name: string
- username: string
- password: string
- creationTime: number
- loginTime: number
- status: string
- roleId: number
- phone: string
- email: string
- avatar: string
- static Create(){
- return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor( id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
- this.id = id;
- this.name = name;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.avatar = avatar;
-
- }
- }
- export class ShopTopic{
-
- id: number
- sort: string
- parentId: number
- topicPageImage: string
- topicName: string
- topicDesc: string
- typeIds: string
- static Create(){
- return new ShopTopic(null,null,null,null,null,null,null,);
- }
- constructor( id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
- this.id = id;
- this.sort = sort;
- this.parentId = parentId;
- this.topicPageImage = topicPageImage;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
- this.typeIds = typeIds;
-
- }
- }
- export class ShopAdviceCarousel{
-
- 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
- static Create(){
- return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.name = name;
- this.toId = toId;
- this.adviceType = adviceType;
- this.sort = sort;
- this.state = state;
- this.showType = showType;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.imageUrl = imageUrl;
- this.toType = toType;
-
- }
- }
- export class ShopTopicSku{
-
- id: number
- topicId: number
- skuId: number
- static Create(){
- return new ShopTopicSku(null,null,null,);
- }
- constructor( id: number,topicId: number,skuId: number,) {
- this.id = id;
- this.topicId = topicId;
- this.skuId = skuId;
-
- }
- }
- export class ArticleQuery{
-
- 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
- static Create(){
- return new Article(null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.articleTitle = articleTitle;
- this.articleContent = articleContent;
- this.state = state;
- this.articleTagIds = articleTagIds;
- this.articleTopicId = articleTopicId;
- this.image = image;
- this.publishTime = publishTime;
- this.eyeFill = eyeFill;
- this.likeCount = likeCount;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.articleDesc = articleDesc;
-
- }
- }
- export class ArticleTagQuery{
-
- id: number
- tagName: string
- tagDesc: string
- tagTextColor: string
- tagBackgroundColor: string
- static Create(){
- return new ArticleTag(null,null,null,null,null,);
- }
- constructor(id: number,tagName: string,tagDesc: string,tagTextColor: string,tagBackgroundColor: string,) {
- this.id = id;
- this.tagName = tagName;
- this.tagDesc = tagDesc;
- this.tagTextColor = tagTextColor;
- this.tagBackgroundColor = tagBackgroundColor;
-
- }
- }
- export class ArticleTopicQuery{
-
- id: number
- image: string
- topicName: string
- topicDesc: string
- static Create(){
- return new ArticleTopic(null,null,null,null,);
- }
- constructor(id: number,image: string,topicName: string,topicDesc: string,) {
- this.id = id;
- this.image = image;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
-
- }
- }
- export class BackAuthorityQuery{
-
- id: number
- authorityName: string
- authorityPath: string
- method: string
- state: string
- authorityVerification: string
- createTime: string
- static Create(){
- return new BackAuthority(null,null,null,null,null,null,null,);
- }
- constructor(id: number,authorityName: string,authorityPath: string,method: string,state: string,authorityVerification: string,createTime: string,) {
- this.id = id;
- this.authorityName = authorityName;
- this.authorityPath = authorityPath;
- this.method = method;
- this.state = state;
- this.authorityVerification = authorityVerification;
- this.createTime = createTime;
-
- }
- }
- export class BackMenuQuery{
-
- id: number
- backMenuName: string
- backMenuPater: number
- sort: number
- icon: string
- remark: string
- backRouterPath: string
- state: string
- static Create(){
- return new BackMenu(null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,backMenuName: string,backMenuPater: number,sort: number,icon: string,remark: string,backRouterPath: string,state: string,) {
- this.id = id;
- this.backMenuName = backMenuName;
- this.backMenuPater = backMenuPater;
- this.sort = sort;
- this.icon = icon;
- this.remark = remark;
- this.backRouterPath = backRouterPath;
- this.state = state;
-
- }
- }
- export class BackRoleQuery{
-
- id: number
- roleName: string
- static Create(){
- return new BackRole(null,null,);
- }
- constructor(id: number,roleName: string,) {
- this.id = id;
- this.roleName = roleName;
-
- }
- }
- export class BackRoleAuthorityQuery{
-
- id: number
- roleId: number
- authorityId: number
- static Create(){
- return new BackRoleAuthority(null,null,null,);
- }
- constructor(id: number,roleId: number,authorityId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.authorityId = authorityId;
-
- }
- }
- export class BackRoleMenuQuery{
-
- id: number
- roleId: number
- menuId: number
- static Create(){
- return new BackRoleMenu(null,null,null,);
- }
- constructor(id: number,roleId: number,menuId: number,) {
- this.id = id;
- this.roleId = roleId;
- this.menuId = menuId;
-
- }
- }
- export class GenTableQuery{
-
- id: number
- tableName: string
- tableComment: string
- name: string
- routerName: string
- remark: string
- static Create(){
- return new GenTable(null,null,null,null,null,null,);
- }
- constructor(id: number,tableName: string,tableComment: string,name: string,routerName: string,remark: string,) {
- this.id = id;
- this.tableName = tableName;
- this.tableComment = tableComment;
- this.name = name;
- this.routerName = routerName;
- this.remark = remark;
-
- }
- }
- export class GenTableColumnQuery{
-
- 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
- static Create(){
- return new GenTableColumn(null,null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.tableId = tableId;
- this.sort = sort;
- this.columnComment = columnComment;
- this.columnType = columnType;
- this.goType = goType;
- this.goField = goField;
- this.isKey = isKey;
- this.isIncrement = isIncrement;
- this.isRequired = isRequired;
- this.queryType = queryType;
- this.vueShowType = vueShowType;
- this.dictType = dictType;
- this.columnName = columnName;
-
- }
- }
- export class GoodsQuery{
-
- id: number
- typeId: number
- goodsName: string
- introductionId: number
- salesVolumeStart: number
- salesVolumeEnd: number
- tagIds: string
- static Create(){
- return new Goods(null,null,null,null,null,null,);
- }
- constructor(id: number,typeId: number,goodsName: string,introductionId: number,salesVolumeStart: number,salesVolumeEnd: number,tagIds: string,) {
- this.id = id;
- this.typeId = typeId;
- this.goodsName = goodsName;
- this.introductionId = introductionId;
- this.salesVolumeStart = salesVolumeStart;
- this.salesVolumeEnd = salesVolumeEnd;
- this.tagIds = tagIds;
-
- }
- }
- export class GoodsCommodityAreaQuery{
-
- id: number
- goodsId: number
- commodityAreaName: string
- detailImage: string
- detailIntroductionId: number
- static Create(){
- return new GoodsCommodityArea(null,null,null,null,null,);
- }
- constructor(id: number,goodsId: number,commodityAreaName: string,detailImage: string,detailIntroductionId: number,) {
- this.id = id;
- this.goodsId = goodsId;
- this.commodityAreaName = commodityAreaName;
- this.detailImage = detailImage;
- this.detailIntroductionId = detailIntroductionId;
-
- }
- }
- export class GoodsCouponQuery{
-
- 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
- static Create(){
- return new GoodsCoupon(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.couponName = couponName;
- this.couponDesc = couponDesc;
- this.cashBackPoint = cashBackPoint;
- this.cashBackPrice = cashBackPrice;
- this.conditionByTopic = conditionByTopic;
- this.conditionByType = conditionByType;
- this.conditionByGoods = conditionByGoods;
- this.grantCount = grantCount;
- this.count = count;
- this.receiveType = receiveType;
- this.validity = validity;
- this.validityPeriod = validityPeriod;
-
- }
- }
- export class GoodsCouponUserQuery{
-
- id: number
- userId: number
- couponId: number
- collectionTime: string
- state: string
- static Create(){
- return new GoodsCouponUser(null,null,null,null,null,);
- }
- constructor(id: number,userId: number,couponId: number,collectionTime: string,state: string,) {
- this.id = id;
- this.userId = userId;
- this.couponId = couponId;
- this.collectionTime = collectionTime;
- this.state = state;
-
- }
- }
- export class GoodsIntroductionQuery{
-
- id: number
- goodsArticleName: string
- goodsArticle: string
- createBy: string
- createTime: string
- updateBy: string
- updateTime: string
- static Create(){
- return new GoodsIntroduction(null,null,null,null,null,null,null,);
- }
- constructor(id: number,goodsArticleName: string,goodsArticle: string,createBy: string,createTime: string,updateBy: string,updateTime: string,) {
- this.id = id;
- this.goodsArticleName = goodsArticleName;
- this.goodsArticle = goodsArticle;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
-
- }
- }
- export class GoodsOrderQuery{
-
- id: number
- orderName: string
- skuId: number
- count: number
- price: number
- totalPrice: number
- contactInformation: string
- couponUserId: number
- state: string
- createBy: number
- createTime: string
- otherData: string
- static Create(){
- return new GoodsOrder(null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.orderName = orderName;
- this.skuId = skuId;
- this.count = count;
- this.price = price;
- this.totalPrice = totalPrice;
- this.contactInformation = contactInformation;
- this.couponUserId = couponUserId;
- this.state = state;
- this.createBy = createBy;
- this.createTime = createTime;
- this.otherData = otherData;
-
- }
- }
- export class GoodsSkuQuery{
-
- id: number
- skuImage: string
- skuName: string
- price: number
- historicalPrices: number
- inventoryNumber: number
- commodityAreaId: number
- goodsId: number
- createBy: string
- createTime: string
- static Create(){
- return new GoodsSku(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,skuImage: string,skuName: string,price: number,historicalPrices: number,inventoryNumber: number,commodityAreaId: number,goodsId: number,createBy: string,createTime: string,) {
- this.id = id;
- this.skuImage = skuImage;
- this.skuName = skuName;
- this.price = price;
- this.historicalPrices = historicalPrices;
- this.inventoryNumber = inventoryNumber;
- this.commodityAreaId = commodityAreaId;
- this.goodsId = goodsId;
- this.createBy = createBy;
- this.createTime = createTime;
-
- }
- }
- export class GoodsSkuCardQuery{
-
- id: number
- cardName: string
- state: string
- count: number
- totalCount: string
- cardKey: string
- use: string
- uploadTime: string
- skuId: number
- sort: string
- static Create(){
- return new GoodsSkuCard(null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,cardName: string,state: string,count: number,totalCount: string,cardKey: string,use: string,uploadTime: string,skuId: number,sort: string,) {
- this.id = id;
- this.cardName = cardName;
- this.state = state;
- this.count = count;
- this.totalCount = totalCount;
- this.cardKey = cardKey;
- this.use = use;
- this.uploadTime = uploadTime;
- this.skuId = skuId;
- this.sort = sort;
-
- }
- }
- export class GoodsTagQuery{
-
- id: number
- name: string
- iconUrl: string
- tag: string
- static Create(){
- return new GoodsTag(null,null,null,null,);
- }
- constructor(id: number,name: string,iconUrl: string,tag: string,) {
- this.id = id;
- this.name = name;
- this.iconUrl = iconUrl;
- this.tag = tag;
-
- }
- }
- export class GoodsTypeQuery{
-
- id: number
- sort: number
- typeImage: string
- typeName: string
- createTime: string
- static Create(){
- return new GoodsType(null,null,null,null,null,);
- }
- constructor(id: number,sort: number,typeImage: string,typeName: string,createTime: string,) {
- this.id = id;
- this.sort = sort;
- this.typeImage = typeImage;
- this.typeName = typeName;
- this.createTime = createTime;
-
- }
- }
- export class UserQuery{
-
- 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
- static Create(){
- return new User(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.name = name;
- this.avatar = avatar;
- this.recommendCode = recommendCode;
- this.inviterBy = inviterBy;
-
- }
- }
- export class UserWalletQuery{
-
- id: number
- userId: number
- balance: number
- promotionAmount: number
- rechargeAmount: number
- static Create(){
- return new UserWallet(null,null,null,null,null,);
- }
- constructor(id: number,userId: number,balance: number,promotionAmount: number,rechargeAmount: number,) {
- this.id = id;
- this.userId = userId;
- this.balance = balance;
- this.promotionAmount = promotionAmount;
- this.rechargeAmount = rechargeAmount;
-
- }
- }
- export class DictDataQuery{
-
- id: number
- sort: number
- dictLabel: string
- dictValue: string
- dictType: string
- status: string
- cssStyle: string
- isDefault: string
- remark: string
- static Create(){
- return new DictData(null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,sort: number,dictLabel: string,dictValue: string,dictType: string,status: string,cssStyle: string,isDefault: string,remark: string,) {
- this.id = id;
- this.sort = sort;
- this.dictLabel = dictLabel;
- this.dictValue = dictValue;
- this.dictType = dictType;
- this.status = status;
- this.cssStyle = cssStyle;
- this.isDefault = isDefault;
- this.remark = remark;
-
- }
- }
- export class DictTypeQuery{
-
- id: number
- dictName: string
- dictType: string
- status: string
- remark: string
- static Create(){
- return new DictType(null,null,null,null,null,);
- }
- constructor(id: number,dictName: string,dictType: string,status: string,remark: string,) {
- this.id = id;
- this.dictName = dictName;
- this.dictType = dictType;
- this.status = status;
- this.remark = remark;
-
- }
- }
- export class ManageUserQuery{
-
- id: number
- name: string
- username: string
- password: string
- creationTime: number
- loginTime: number
- status: string
- roleId: number
- phone: string
- email: string
- avatar: string
- static Create(){
- return new ManageUser(null,null,null,null,null,null,null,null,null,null,null,);
- }
- constructor(id: number,name: string,username: string,password: string,creationTime: number,loginTime: number,status: string,roleId: number,phone: string,email: string,avatar: string,) {
- this.id = id;
- this.name = name;
- this.username = username;
- this.password = password;
- this.creationTime = creationTime;
- this.loginTime = loginTime;
- this.status = status;
- this.roleId = roleId;
- this.phone = phone;
- this.email = email;
- this.avatar = avatar;
-
- }
- }
- export class ShopTopicQuery{
-
- id: number
- sort: string
- parentId: number
- topicPageImage: string
- topicName: string
- topicDesc: string
- typeIds: string
- static Create(){
- return new ShopTopic(null,null,null,null,null,null,null,);
- }
- constructor(id: number,sort: string,parentId: number,topicPageImage: string,topicName: string,topicDesc: string,typeIds: string,) {
- this.id = id;
- this.sort = sort;
- this.parentId = parentId;
- this.topicPageImage = topicPageImage;
- this.topicName = topicName;
- this.topicDesc = topicDesc;
- this.typeIds = typeIds;
-
- }
- }
- export class ShopAdviceCarouselQuery{
-
- 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
- static Create(){
- return new ShopAdviceCarousel(null,null,null,null,null,null,null,null,null,null,null,null,null,);
- }
- 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,) {
- this.id = id;
- this.name = name;
- this.toId = toId;
- this.adviceType = adviceType;
- this.sort = sort;
- this.state = state;
- this.showType = showType;
- this.createBy = createBy;
- this.createTime = createTime;
- this.updateBy = updateBy;
- this.updateTime = updateTime;
- this.imageUrl = imageUrl;
- this.toType = toType;
-
- }
- }
- export class ShopTopicSkuQuery{
-
- id: number
- topicId: number
- skuId: number
- static Create(){
- return new ShopTopicSku(null,null,null,);
- }
- constructor(id: number,topicId: number,skuId: number,) {
- this.id = id;
- this.topicId = topicId;
- this.skuId = skuId;
-
- }
- }
|