models.ts 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422
  1. export interface Comment {
  2. id: number
  3. circleId: number
  4. userId: number
  5. userName: string
  6. userAvatar: string
  7. reviewContent: string
  8. upvoteCount: any
  9. replayReviewId: any
  10. reviewTime: number
  11. createTime: number
  12. replayToUserName: any
  13. replayToUserId: any
  14. replayFirstId: any
  15. upvote: boolean
  16. ownDel: boolean
  17. }
  18. export interface Task {
  19. id: number
  20. taskKey: string
  21. taskValue: string
  22. createTime: string
  23. sort: number
  24. status: number
  25. }
  26. export interface MaterialDealer {
  27. id: number
  28. logoUrl: string
  29. materialsName: string
  30. materialsType: number
  31. brandLevel: number
  32. manageType: any[]
  33. manageBrand: any[]
  34. brandType: number
  35. storeAddress: string
  36. storeName: string
  37. contactPerson: string
  38. contactPhone: string
  39. invoiceTitle: string
  40. taxpayerNumber: string
  41. invoiceAddr: string
  42. bankDeposit: string
  43. agreementFileUrl: string
  44. virtualArrival: number
  45. status: string
  46. createTime: string
  47. points: number
  48. clockPoints: string
  49. orderCount: number
  50. pointsExchangeRate: number
  51. shopList: ShopList[]
  52. /**
  53. * 累计到店次数
  54. */
  55. cumulativeStoreNum?: number
  56. bannerUrl?: string
  57. }
  58. export interface ShopList {
  59. id: number
  60. materialsId: number
  61. shopAddr: string
  62. shopName: string
  63. shopContactPerson: string
  64. shopContactPhone: string
  65. longitude: number
  66. latitude: number
  67. radius: number
  68. }
  69. export interface MaterialsList {
  70. id: number
  71. logoUrl: string
  72. materialsName: string
  73. materialsType: number
  74. brandLevel: number
  75. manageType: number
  76. manageBrand: number
  77. brandType: number
  78. invoiceTitle: string
  79. taxpayerNumber: string
  80. invoiceAddr: string
  81. bankDeposit: string
  82. virtualArrival: number
  83. status: string
  84. points: number
  85. shopList: ShopList[]
  86. clockCount: number
  87. }
  88. export interface MaterialDealerRes {
  89. brandLevel: number
  90. brandLevelName: string
  91. pointsRate: number
  92. materialsList: MaterialsList[]
  93. }
  94. export interface FodderList {
  95. createTime: number
  96. updateTime: number
  97. creator: string
  98. updater: string
  99. deleted: boolean
  100. id: number
  101. materialsId: number
  102. fodderUrl: string
  103. }
  104. export interface ProductDolist {
  105. createTime: number
  106. updateTime: number
  107. creator: string
  108. updater: string
  109. deleted: boolean
  110. id: number
  111. materialsId: number
  112. productTitleId: any
  113. productTitleName: string
  114. productImgUrl: string
  115. }
  116. export interface MaterialDealerHomePage {
  117. materialsId: any
  118. bannerUrl: string
  119. brandAdvantageUrl: string
  120. brandAdvantageDesc: string
  121. fodderList: FodderList[]
  122. productDOList: ProductDolist[]
  123. }
  124. export interface Content {
  125. id: number
  126. /**
  127. * 内容类型 - 0: 设计游学
  128. */
  129. contentType: string
  130. /**
  131. * 内容类型名称
  132. */
  133. contentTypeName: string
  134. /**
  135. * 内容分类
  136. */
  137. contentCategory: string
  138. /**
  139. * 内容分类名称
  140. */
  141. contentCategoryName: string
  142. /**
  143. * 内容标题
  144. */
  145. title: string
  146. /**
  147. * 班级
  148. */
  149. classGrade: string
  150. /**
  151. * 游学开始时间
  152. */
  153. studyStartDate: string
  154. /**
  155. * 游学结束时间
  156. */
  157. studyEndDate: string
  158. /**
  159. * 游学人数
  160. */
  161. studyPersonCount: number
  162. /**
  163. * 领队
  164. */
  165. studyLeader: string
  166. /**
  167. * 班长
  168. */
  169. studyMonitor: string
  170. bannerUrl: string
  171. /**
  172. * 内容详情
  173. */
  174. contentDetail: string
  175. /**
  176. * 期数
  177. */
  178. periodsCount: number
  179. /**
  180. * 活动,举办开始时间
  181. */
  182. hostDate: string
  183. /**
  184. * 举办方
  185. */
  186. activityHost: string
  187. /**
  188. * 赞助品牌
  189. */
  190. supportBrand: string
  191. /**
  192. * 状态 - 0: 正常, 1: 停用
  193. */
  194. status: number
  195. viewsCount: number
  196. viewCount30Day: number
  197. createTime: string
  198. }
  199. export interface Category {
  200. id: number
  201. name: string
  202. code: string
  203. sort: number
  204. parentId: any
  205. level: number
  206. children?: Category[]
  207. }
  208. /**
  209. * 活动日程
  210. */
  211. export interface Schedule {
  212. createTime: number
  213. updateTime: number
  214. creator: string
  215. updater: string
  216. deleted: boolean
  217. id: number
  218. studyId: number
  219. travelDate: number
  220. travelTime: number
  221. title: string
  222. travelDesc: string
  223. clockExplainDesc: string
  224. clockExplainUrl: string
  225. }
  226. /**
  227. * 线下活动
  228. */
  229. export interface Activity {
  230. id: number
  231. name: string
  232. activityType: string
  233. /**
  234. * 报名开始时间 or 计划报名时间
  235. */
  236. applyStartTime: string
  237. headRecommendTime: string
  238. planApplyStartTime?: string
  239. studyStartTime: string
  240. studyEndTime: string
  241. /**
  242. * 报名结束时间 or 计划报名截止时间
  243. */
  244. applyEndTime: string
  245. planApplyEndTime?: string
  246. /**
  247. * 报名状态 or 计划游学名额开关
  248. */
  249. applyStatus: string
  250. /**
  251. * 计划报名人员 or 计划游学名额
  252. */
  253. applyNumber: string
  254. /**
  255. * 游学年度
  256. */
  257. studyYear: string
  258. /**
  259. * 活动开始时间
  260. */
  261. activityStartTime: string
  262. /**
  263. * 活动结束时间
  264. */
  265. activityEndTime: string
  266. /**
  267. * 活动名额(限制,不限制)
  268. */
  269. activityAllowType: string
  270. /**
  271. * 活动名额大小
  272. */
  273. activityAllowCount: number
  274. /**
  275. * 活动地点
  276. */
  277. activityAddr: string
  278. /**
  279. * 是否需要积分(需要,不需要)
  280. */
  281. needPointsType: string
  282. /**
  283. * 需要积分大小
  284. */
  285. needPointsCount: number
  286. /**
  287. * 活动徽章
  288. */
  289. badgeId: number
  290. /**
  291. * 会员等级(多选)
  292. */
  293. memberLevel: any[]
  294. /**
  295. * banner地址
  296. */
  297. bannerUrl: string
  298. /**
  299. * 缩略图地址
  300. */
  301. thumbnailUrl: string
  302. /**
  303. * 详情页背景图地址
  304. */
  305. backgroundUrl: string
  306. /**
  307. * 活动介绍
  308. */
  309. activityDesc: string
  310. /**
  311. * 展示状态
  312. */
  313. showStatus: number
  314. /**
  315. * 是否首页推荐
  316. */
  317. headRecommend: number
  318. /**
  319. * 浏览量
  320. */
  321. viewCount: number
  322. createTime: string
  323. /**
  324. * 已报名
  325. */
  326. ifSingnUp: boolean
  327. /**
  328. * 类型补充字段
  329. */
  330. studyTravelList?: Schedule[]
  331. surplus?: number
  332. studyAllowType?: string
  333. studyAllowCount?: number
  334. planStudyEndTime?: string
  335. planStudyStartTime?: string
  336. sort?: number
  337. }
  338. export interface StudyTour {
  339. id: number
  340. name: string
  341. studyType: string
  342. /**
  343. * 计划报名时间
  344. */
  345. planApplyStartTime: number
  346. planApplyEndTime: number
  347. /**
  348. * 计划游学时间
  349. */
  350. planStudyStartTime: number
  351. planStudyEndTime: number
  352. planStudyAllowType: any
  353. planStudyAllowCount: any
  354. studyYear: string
  355. memberLevel: any
  356. needPointsType: any
  357. needPointsCount: any
  358. badgeId: any
  359. applyStartTime: any
  360. headRecommendTime: any
  361. applyEndTime: any
  362. applyStatus: string
  363. studyStartTime: any
  364. studyEndTime: any
  365. studyAllowType: any
  366. studyAllowCount: any
  367. bannerUrl: any
  368. thumbnailUrl: any
  369. backgroundUrl: any
  370. studyDesc: any
  371. isTravelPlan: any
  372. showStatus: string
  373. headRecommend: string
  374. viewCount: any
  375. createTime: number
  376. ifSingnUp: boolean
  377. studyTravelList: Schedule[]
  378. /**
  379. * 报名人数
  380. */
  381. signUpNumber: number
  382. /**
  383. * 剩余名额
  384. */
  385. surplus: number
  386. sort: number
  387. /**
  388. * 补充字段
  389. */
  390. activityStartTime?: any
  391. activityEndTime?: any
  392. activityAddr?: any
  393. activityAllowType?: string
  394. activityAllowCount?: number
  395. }
  396. /**
  397. * 游学/活动的报名信息
  398. */
  399. export interface ActivitySignUp {
  400. id: number
  401. userId: number
  402. applyTime: number
  403. applyType: number
  404. applyStatus: number
  405. applyPoints: any
  406. isJoin: string
  407. createTime: number
  408. name: string
  409. headImgUrl: string
  410. mobile: string
  411. brokerId: any
  412. brokerName: string
  413. memberLevelId: number
  414. memberLevelName: any
  415. /**
  416. * 游学ID
  417. */
  418. studyId?: number
  419. /**
  420. * 活动ID
  421. */
  422. activityId?: number
  423. avatar?: string
  424. }
  425. export interface MyStudyTour {
  426. id: number
  427. name: string
  428. studyType: string
  429. planApplyStartTime: number
  430. planApplyEndTime?: number
  431. planStudyStartTime: number
  432. planStudyEndTime?: number
  433. planStudyAllowType?: string
  434. planStudyAllowCount?: number
  435. studyYear: string
  436. memberLevel: number[]
  437. needPointsType: string
  438. needPointsCount?: number
  439. badgeId?: number
  440. applyStartTime: number
  441. headRecommendTime: number
  442. applyEndTime: number
  443. applyStatus?: number
  444. studyStartTime: number
  445. studyEndTime: number
  446. studyAllowType: string
  447. studyAllowCount: number
  448. bannerUrl: string
  449. thumbnailUrl: string
  450. backgroundUrl: string
  451. studyDesc: string
  452. isTravelPlan: number
  453. showStatus: number
  454. headRecommend: number
  455. signUpCount: any
  456. viewCount: number
  457. createTime: number
  458. ifSingnUp: boolean
  459. studyTravelDOList: {
  460. createTime: any
  461. updateTime: any
  462. creator: any
  463. updater: any
  464. deleted: any
  465. id: any
  466. studyId: number
  467. travelDate: any
  468. travelTime: number
  469. title: string
  470. travelDesc: string
  471. clockExplainDesc: string
  472. clockExplainUrl: string
  473. }[]
  474. }
  475. export interface Banner {
  476. id: number
  477. name: string
  478. modeType: BannerMode
  479. /**
  480. * 轮播图图片
  481. */
  482. bannerImgUrl: string
  483. /**
  484. * 轮播图详情类型
  485. */
  486. bannerDetailsType: string
  487. /**
  488. * 轮播图链接
  489. */
  490. bannerLinkUrl: string
  491. /**
  492. * 轮播图详情内容
  493. */
  494. bannerDetailsContent: any
  495. /**
  496. * 状态 - 0: 正常, 1: 停用
  497. */
  498. status: number
  499. /**
  500. * 浏览量
  501. */
  502. viewCount: any
  503. /**
  504. * 设计游学年份
  505. */
  506. designStudyAbroadYear: any
  507. /**
  508. * 设计游学描述
  509. */
  510. designDesc: any
  511. createTime: number
  512. }
  513. export interface Product {
  514. /* id */
  515. id: number
  516. /* 商品名称 */
  517. prodcutName: string
  518. /* 商品id */
  519. productId: string
  520. /* 商品一级类目 */
  521. oneCategory: string
  522. /* 商品一级类目 */
  523. oneCategoryName: string
  524. /* 商品二级类目 */
  525. secondCategory: string
  526. /* 商品二级类目 */
  527. secondCategoryName: string
  528. /* 商品数量是否限制 0:否 1:是 */
  529. isRestrict: number
  530. /* 商品市场价 */
  531. productPrice: string
  532. /* 商品类别 */
  533. productType: number
  534. /* 商品库存 */
  535. productRepertory: number
  536. /* 供应商id */
  537. vendorId: number
  538. /* 供应商名称 */
  539. vendorName: string
  540. /* 供应商状态,可用值:0,1 */
  541. vendorStatus: string
  542. /* 是否需要积分 0:否 1:是 */
  543. needPoints: number
  544. /* 积分大小 */
  545. points: number
  546. /* 获取方式 1:到店核销 3:其他 */
  547. gainType: number
  548. /* 兑换说明 */
  549. exchangeDesc: string
  550. /* 商品封面地址 */
  551. productCoverImgUrl: string
  552. /* 商品详情地址 */
  553. productDetailsImgUrl: string
  554. /* 图文详情 */
  555. contentDesc: string
  556. /* 状态(0正常 1停用) */
  557. status: number
  558. /* */
  559. statusStr: string
  560. /* 兑换量 */
  561. exchangeCount: number
  562. /* 会员等级ids */
  563. memberLevelIds: string
  564. /* 会员等级名称 */
  565. memberLevelName: string
  566. /* 超值划算积分 */
  567. favourablePoints: number
  568. /* 是否展示超值划算 */
  569. showFavourable: boolean
  570. /* 超值划算截止时间 */
  571. favourableEndDate: Record<string, unknown>
  572. /* 是否限购 */
  573. purchaseLimit: boolean
  574. /* 限购数量 */
  575. purchaseQuantity: number
  576. /* 创建时间 */
  577. createTime: Record<string, unknown>
  578. /* 更新时间 */
  579. updateTime: Record<string, unknown>
  580. /* 排序 */
  581. sort: number
  582. }
  583. export interface PointsOrder {
  584. id: number
  585. orderType: number
  586. item: number
  587. materialsId: any
  588. materialsBrand: any
  589. stylistId: number
  590. /**
  591. * 订单金额
  592. */
  593. orderMoney: any
  594. projectName: string
  595. pointsRate: any
  596. /**
  597. * 积分单价
  598. */
  599. points: string
  600. orderImgUrl: string
  601. orderStatus: string
  602. verifyTime: any
  603. completeTime: number
  604. turnDownTime: any
  605. cancelTime: number
  606. cancelUser?: string
  607. cancelReason: any
  608. turnDownReason: any
  609. remark: any
  610. couponId: any
  611. orderNo: string
  612. createTime: number
  613. brokerageRate: any
  614. brokerage: any
  615. orderQuantity: number
  616. payType: number
  617. /**
  618. * 实付积分
  619. */
  620. payPoints: number
  621. /**
  622. * 获取方式: 1:到店核销 3:其他
  623. */
  624. gainType?: number
  625. couponList?: {
  626. materialId: number
  627. couponImgUrl: any
  628. materialsName: string
  629. validityStartDate: number
  630. validityEndDate: number
  631. brandPoints: number
  632. }[]
  633. }
  634. export interface UserBasicInfo {
  635. id: number
  636. userId: number
  637. avatar: string
  638. name: string
  639. sex: number
  640. birthday: string
  641. mobile: string
  642. referrer: string
  643. brokerName: string
  644. employer: string
  645. companyAddress: string
  646. idCardNumber: string
  647. passportNumber: string
  648. householdAddress: string
  649. cooperationTime: string
  650. joinTime: string
  651. circle: string
  652. hobbies: string
  653. sharingIntent: number
  654. // createTime: string
  655. imageNumber: number
  656. imageUrl: string
  657. maritalStatus: number
  658. maritalStatusStr: string
  659. }
  660. export interface UserAuthInfo {
  661. id: number
  662. designerName: string
  663. gender: number
  664. mobile: string
  665. channelSource: number
  666. referrer: string
  667. employer: string
  668. spatialExpertiseType: string
  669. attachment: string
  670. auditStatus: number
  671. remark: string
  672. auditTime: number
  673. }
  674. export interface ResPageData<T> {
  675. list: T[]
  676. total: number
  677. }
  678. export interface Message {
  679. id: number
  680. title: string
  681. /**
  682. * 消息类型
  683. */
  684. messageType: number
  685. /**
  686. * 消息子类型
  687. */
  688. messageSubType: number
  689. /**
  690. * 发送会员等级(多个枚举值逗号拼接,选项值包括全部会员等级、普通会员等级、白银会员等级、黄金会员等级、白金会员等级)
  691. */
  692. sendMemberGrade: any
  693. /**
  694. * 服务号推送状态(0-不推送,1-推送,选项值为推送、不推送选择推送,则该条消息同时会通过公众号推送展示选择不推送,则该条消息不会通过公众号推送),示例值(1)
  695. */
  696. serviceNumberStatus: any
  697. /**
  698. * 消息内容类型,选项值为创建详情、添加链接,示例值(2)
  699. */
  700. messageContentType: any
  701. /**
  702. * 添加详情链接,如果消息内容类型为添加链接则该值不为空,示例值(https://www.iocoder.cn)
  703. */
  704. linkUrl: string
  705. /**
  706. * 封面连接
  707. */
  708. coverUrl: string
  709. /**
  710. * 图文详情(富文本)
  711. */
  712. detailBody: string
  713. /**
  714. * 1 已读
  715. */
  716. isRead: string
  717. triggerPort: string
  718. triggerRole: string
  719. designerId: number
  720. businessId: any
  721. createTime: number
  722. viewCount: any
  723. viewTime: any
  724. pointsDetail?: PointsDetail
  725. availableCouponsNum?: number
  726. }
  727. export interface ConfirmOrder {
  728. isShoppingCart: number
  729. userId: number
  730. list: {
  731. orderNo: any
  732. productId: string
  733. vendorId: number
  734. productName: string
  735. points: number
  736. nums: number
  737. orderImgUrl: string
  738. }[]
  739. couponList: any[]
  740. totalsPoints: number
  741. totalsCouponPoints: any
  742. totalsCurrPoints: any
  743. item: number
  744. type: any
  745. }
  746. export enum CouponStatus {
  747. // HAVE_USE(1, "已使用"),
  748. // NOT_USE(2, "未使用"),
  749. // EXPIRED(3, "已过期"),
  750. // BECAME_INVALID(4, "已失效"),
  751. // ;
  752. HAVE_USE = 1,
  753. NOT_USE = 2,
  754. EXPIRED = 3,
  755. BECAME_INVALID = 4,
  756. }
  757. export interface Coupon {
  758. id: number
  759. couponId: number
  760. userId: number
  761. sendTime: string
  762. /**
  763. * 优惠卷有效开始时间
  764. */
  765. validityStartDate: string
  766. /**
  767. * 优惠卷有效结束时间
  768. */
  769. validityEndDate: string
  770. /**
  771. * 是否有效
  772. */
  773. isValid: number
  774. isUse: number
  775. useTime: string
  776. /**
  777. * 材料商id
  778. */
  779. material: number
  780. brandId: number
  781. businessId: number
  782. productId: number
  783. createTime: string
  784. brandPoints: number
  785. couponName: string
  786. couponType: number
  787. brandIds: string
  788. productIds: string
  789. materialName: string
  790. couponImgUrl: string
  791. couponDO?: { couponDesc?: string }
  792. couponStatus: CouponStatus
  793. }
  794. export interface PointsDetail {
  795. id: number
  796. pointsType: string
  797. typeName: string
  798. pointsCategory: string
  799. categoryName: string
  800. sourceId: any
  801. name: string
  802. pointsStauts: number
  803. points: number
  804. couponPoints: any
  805. orderMoney: string
  806. materialsId: number
  807. materialsName: any
  808. materialsBrand: string
  809. stylistId: number
  810. brokerId: number
  811. stylistName: string
  812. brokerName: string
  813. generateTime: number
  814. verifyTime?: number
  815. completeTime?: number
  816. turnDownTime: any
  817. cancelTime: any
  818. cancelReason: any
  819. turnDownReason: any
  820. remark: any
  821. couponId: any
  822. orderNo: any
  823. createTime: number
  824. businessType: any
  825. customerName: string
  826. customerPhone: string
  827. orderImgUrl: any
  828. pointsRate: any
  829. commission: number
  830. creator: string
  831. creatorName: any
  832. }
  833. export interface Todo {
  834. content: string
  835. id: number
  836. status: number
  837. creator: string
  838. executionTime: string
  839. }
  840. export interface Agent {
  841. id: number
  842. brokeId: string
  843. headImgUrl: string
  844. brokerName: string
  845. password: string
  846. mobile: string
  847. status: number
  848. channelType: number
  849. designersNumber: any
  850. yearPoints: any
  851. yearOrders: any
  852. createTime: number
  853. inviteCode: string
  854. inviteCodeUrl: string
  855. customer: any
  856. customerName: string
  857. points: number
  858. }
  859. export interface Designer {
  860. id: string
  861. name: string
  862. avatar: string
  863. levelName: string
  864. points: number
  865. mobile: string
  866. accessTime: any
  867. followUp30Days: boolean
  868. generatePoints60Days: boolean
  869. expendPoints60Days: boolean
  870. focus: boolean
  871. brokerId: number
  872. /**
  873. * 0 弱绑定 1 强绑定
  874. */
  875. retryStatus?: 0 | 1
  876. }
  877. export interface DesignerBasicInfo {
  878. id: number
  879. userId: number
  880. avatar: string
  881. name: string
  882. sex: number
  883. birthday: string
  884. mobile: string
  885. referrer: string
  886. brokerName: string
  887. employer: string
  888. companyAddress: string
  889. idCardNumber: string
  890. passportNumber: string
  891. householdAddress: string
  892. cooperationTime: string
  893. joinTime: string
  894. circle: string
  895. hobbies: string
  896. sharingIntent: number
  897. // createTime: string
  898. imageNumber: number
  899. imageUrl: string
  900. maritalStatus: number
  901. maritalStatusStr: string
  902. }
  903. /**
  904. * 设计师家庭信息接口
  905. */
  906. export interface DesignerFamilyInfo {
  907. id: number
  908. userId: number
  909. /**
  910. * 家庭成员与用户的关系(例如,父母,兄弟姐妹)。
  911. */
  912. familyRelation: string
  913. /**
  914. * 家庭成员的姓名。
  915. */
  916. familyName: string
  917. /**
  918. * 家庭成员的性别。
  919. */
  920. familySex: string
  921. /**
  922. * 家庭成员的出生日期。
  923. */
  924. familyBirthday: string
  925. /**
  926. * 家庭成员的兴趣爱好。
  927. */
  928. familyInterset: string
  929. /**
  930. * 家庭成员的职业。
  931. */
  932. familyOccupation: string
  933. createTime: string
  934. }
  935. /**
  936. * 设计师奖项
  937. */
  938. export interface DesignerAward {
  939. id: number
  940. userId: number
  941. awardsName: string
  942. awardsTime: string
  943. awardsRank: string
  944. awardsFileUrl: string
  945. createTime: string
  946. }
  947. export interface DesignerEvent {
  948. name: string
  949. applyTime?: string
  950. userId?: number
  951. participationDate: string
  952. id?: number
  953. }
  954. export interface DesignerPointsStatistics {
  955. /**
  956. * 剩余积分
  957. */
  958. points: number
  959. /**
  960. * 积分变动时间
  961. */
  962. pointsTime: string
  963. /**
  964. * 累计获得积分
  965. */
  966. gainPoints: number
  967. /**
  968. * 今年获得积分
  969. */
  970. gainPointsYear: number
  971. /**
  972. * 今年消耗积分
  973. */
  974. usePoints: number
  975. /**
  976. * 消耗积分
  977. */
  978. usePointsYear: number
  979. /**
  980. * 累计跟进次数
  981. */
  982. followUpCount: number
  983. /**
  984. * 今年跟进次数
  985. */
  986. followUpYearCount: number
  987. /**
  988. * 消耗次数
  989. */
  990. usageCount: number
  991. /**
  992. * 今年消耗次数
  993. */
  994. usageYearCount: number
  995. /**
  996. * 累计获得次数
  997. */
  998. obtainedCount: number
  999. /**
  1000. * 今年获得次数
  1001. */
  1002. obtainedYearCount: number
  1003. }
  1004. export interface DesignerOrderSaleOther {
  1005. id: number
  1006. supplierName: string
  1007. brandName: string
  1008. saleTime: string
  1009. projectName: string
  1010. customerName: string
  1011. customerPhone: string
  1012. orderAmount: number
  1013. createTime: string
  1014. userId: number
  1015. }
  1016. export interface Broker {
  1017. createTime: string
  1018. updateTime: string
  1019. creator: string
  1020. updater: string
  1021. deleted: boolean
  1022. id: number
  1023. brokeId: string
  1024. inviteCode: string
  1025. inviteCodeUrl: string
  1026. headImgUrl: string
  1027. brokerName: string
  1028. password: string
  1029. mobile: string
  1030. channelType: number
  1031. status: number
  1032. points: number
  1033. }
  1034. export interface Report {
  1035. createTime: string
  1036. updateTime: string
  1037. creator: string
  1038. updater: string
  1039. deleted: boolean
  1040. id: number
  1041. verifyTime: string
  1042. verifier: number
  1043. status: string
  1044. taskId: number
  1045. brokerId: number
  1046. reason: string
  1047. remark: string
  1048. num: number
  1049. }
  1050. export interface ReportInfo {
  1051. id: number
  1052. brokerName: string
  1053. stylistId: number
  1054. /**
  1055. * 设计师姓名
  1056. */
  1057. stylistName: string
  1058. arrivalTime: number
  1059. shopName: string
  1060. receptionist: string
  1061. contactNumber: string
  1062. customerName: string
  1063. customerPhoneNumbe: string
  1064. customerAddress: string
  1065. createTime: number
  1066. reviewStatus: number
  1067. auditId: number
  1068. auditName: string
  1069. auditTime: number
  1070. reason: string
  1071. }
  1072. export interface AgentTask {
  1073. id: number
  1074. bearerId: number
  1075. bearerName: string
  1076. bearerType: string
  1077. name: string
  1078. storeQuantity: number
  1079. completedNum: number
  1080. personalCompletedNum: number
  1081. startTime: string
  1082. endTime: string
  1083. pointsReward: number
  1084. shopIds: string
  1085. shopNames: string
  1086. detail: string
  1087. taskType: string
  1088. finalType: string
  1089. roleType: string
  1090. status: string
  1091. createTime: string
  1092. receive: boolean
  1093. brokerIds: string
  1094. brokerList: Broker[]
  1095. reportList: Report[]
  1096. bearerTypeName: string
  1097. taskTypeName: string
  1098. finalTypeName: string
  1099. roleTypeName: string
  1100. statusName: string
  1101. qrList?: {
  1102. avatar: string
  1103. createTime: number
  1104. id: number
  1105. name: string
  1106. remark: string
  1107. }[]
  1108. }
  1109. export interface FollowUp {
  1110. id: number
  1111. brokerId: number
  1112. stylistId: number
  1113. stylistName: string
  1114. followTime: string
  1115. followType: string
  1116. remark: string
  1117. address: Address
  1118. imgUrl: string
  1119. isFollowFocus: string
  1120. followStatus: string
  1121. }
  1122. export interface Address {
  1123. address: string
  1124. longitude: string
  1125. latitude: string
  1126. }
  1127. export interface AgentPoint {
  1128. id: number
  1129. bizId: number
  1130. bizType: string
  1131. sourceId: number
  1132. sourceType: number
  1133. targetId: number
  1134. taskName: string
  1135. targetType: string
  1136. points: number
  1137. remark: string
  1138. createTime: string
  1139. }
  1140. export interface BrowseRecord {
  1141. /* */
  1142. createTime: Record<string, unknown>
  1143. /* */
  1144. updateTime: Record<string, unknown>
  1145. /* */
  1146. creator: string
  1147. /* */
  1148. updater: string
  1149. /* */
  1150. deleted: boolean
  1151. /* id */
  1152. id: number
  1153. /* 设计师id */
  1154. stylistId: number
  1155. /* 设计师名称 */
  1156. stylistName: string
  1157. /* 业务id */
  1158. bizId: string
  1159. /* 业务类型:分享-1,获客-2,浏览-3等具体查看BrowseTypeEnum类,可用值:1,2,3,4,5 */
  1160. bizType: string
  1161. /* 分享类型,可用值:1,2 */
  1162. shareType: string
  1163. /* 时长:单位-秒 */
  1164. duration: string
  1165. /* 创建人 */
  1166. creatorName: string
  1167. /* 备注 */
  1168. remark: string
  1169. }
  1170. /**
  1171. * 设计师动态统计
  1172. */
  1173. export interface BrowseRecordCountRes {
  1174. /* 打开次数 */
  1175. openNumber: number
  1176. /* 最近打开时间 */
  1177. openTime: string
  1178. /* 浏览时间 */
  1179. duration: number
  1180. /* 本年浏览时间 */
  1181. durationYear: number
  1182. /* 发圈次数 */
  1183. circleNumber: number
  1184. /* 本年发圈次数 */
  1185. circleNumberYear: number
  1186. /* 主页分享 */
  1187. homeShareNumber: number
  1188. /* 本年分享 */
  1189. homeShareNumberYear: number
  1190. /* 分享浏览数 */
  1191. shareViewNumber: number
  1192. /* 本年分享浏览数 */
  1193. shareViewNumberYear: number
  1194. /* 分享获客数 */
  1195. customersAcquired: number
  1196. /* 本年分享获客数 */
  1197. customersAcquiredYear: number
  1198. }
  1199. /**
  1200. * 引荐动态
  1201. */
  1202. export interface ReferralRes {
  1203. /* 推荐设计师 */
  1204. referrerStylist: number
  1205. /* 本年推荐设计师 */
  1206. thisYearReferrerStylist: string
  1207. /* 引荐加成奖励 */
  1208. referralBonus: number
  1209. /* 本年引荐加成奖励 */
  1210. thisYearReferralBonus: number
  1211. }
  1212. export enum DictType {
  1213. /**
  1214. * 擅长空间类型
  1215. */
  1216. memberSpatialExpertiseType = 'member_spatial_expertise_type',
  1217. /**
  1218. * 设计风格
  1219. */
  1220. memberDesignStyle = 'member_design_style_type',
  1221. /**
  1222. * 空间类型
  1223. */
  1224. circleSpaceType = 'member_circle_space_type',
  1225. /**
  1226. * 圈子标签
  1227. */
  1228. circleTag = 'basic_set_label_type',
  1229. /**
  1230. * 材料商品牌等级
  1231. */
  1232. memberMaterialsBrandLevel = 'member_materials_brand_level',
  1233. /**
  1234. * 材料商运营类型
  1235. */
  1236. memberMaterialsOperationType = 'member_materials_operation_type',
  1237. /**
  1238. * 内容分类-线下活动
  1239. */
  1240. offlineActivity = 'offline_activity',
  1241. /**
  1242. * 材料商-品牌-类型
  1243. */
  1244. memberMaterialsBrandType = 'member_materials_brand_type',
  1245. /**
  1246. * 材料商-经营-品牌
  1247. */
  1248. materialsManageBrand = 'member_materials_manage_brand',
  1249. /**
  1250. * 活动类型
  1251. */
  1252. MemberActivityType = 'member_activity_type',
  1253. /**
  1254. * 渠道类型
  1255. */
  1256. MemberChannelType = 'member_channel_type',
  1257. }
  1258. /**
  1259. * 徽章
  1260. */
  1261. export interface Badge {
  1262. id: number
  1263. userId: number
  1264. quantity: number
  1265. badgeId: number
  1266. badgeType: string
  1267. badgeName: string
  1268. badgeNotObtainedImage: string
  1269. badgeYesObtainedImage: string
  1270. badgeDescription: string
  1271. popUp: boolean
  1272. }
  1273. /**
  1274. * 典藏
  1275. * */
  1276. export interface Collection {
  1277. id: number
  1278. userId: number
  1279. quantity: number
  1280. badgeId: number
  1281. badgeType: string
  1282. badgeName: string
  1283. badgeNotObtainedImage: string
  1284. badgeYesObtainedImage: string
  1285. badgeDescription: string
  1286. popUp: boolean
  1287. userSize: number | string
  1288. badgeSize: number | string
  1289. }
  1290. /**
  1291. * 典藏徽章详情
  1292. * */
  1293. export interface CollectionDetail extends Collection {
  1294. badgeList: Badge[]
  1295. }
  1296. /**
  1297. * 排名
  1298. * */
  1299. export interface Rank {
  1300. rank1: number
  1301. avatar: string
  1302. name: string
  1303. acquisitionTime: string | number
  1304. }
  1305. /**
  1306. * 证书
  1307. */
  1308. export interface Certificate {
  1309. id: number
  1310. userId: number
  1311. certificateId: number
  1312. certificateName: string
  1313. studyName: string
  1314. certificateImage: string
  1315. certificateDescription: string
  1316. createTime: string
  1317. popUp: boolean
  1318. }
  1319. export enum CircleType {
  1320. moment = '1',
  1321. case = '2',
  1322. }
  1323. export enum BannerMode {
  1324. /**
  1325. * 材料商
  1326. */
  1327. Material = 1,
  1328. /**
  1329. * 设计传播
  1330. */
  1331. Spread = 2,
  1332. /**
  1333. * 品质商城
  1334. */
  1335. Mall = 3,
  1336. /**
  1337. * 设计奖项
  1338. */
  1339. DesignAwards = 4,
  1340. /**
  1341. * 设计游学
  1342. */
  1343. StudyTour = 5,
  1344. /**
  1345. * 合作商家
  1346. * */
  1347. Cooperation = 6,
  1348. }