models.ts 25 KB

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