models.ts 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350
  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: number
  33. manageBrand: number
  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. }
  622. export interface UserBasicInfo {
  623. id: number
  624. userId: number
  625. avatar: string
  626. name: string
  627. sex: number
  628. birthday: string
  629. mobile: string
  630. referrer: string
  631. brokerName: string
  632. employer: string
  633. companyAddress: string
  634. idCardNumber: string
  635. passportNumber: string
  636. householdAddress: string
  637. cooperationTime: string
  638. joinTime: string
  639. circle: string
  640. hobbies: string
  641. sharingIntent: number
  642. createTime: string
  643. imageNumber: number
  644. imageUrl: string
  645. maritalStatus: number
  646. maritalStatusStr: string
  647. }
  648. export interface UserAuthInfo {
  649. id: number
  650. designerName: string
  651. gender: number
  652. mobile: string
  653. channelSource: number
  654. referrer: string
  655. employer: string
  656. spatialExpertiseType: string
  657. attachment: string
  658. auditStatus: number
  659. remark: string
  660. auditTime: number
  661. }
  662. export interface ResPageData<T> {
  663. list: T[]
  664. total: number
  665. }
  666. export interface Message {
  667. id: number
  668. title: string
  669. /**
  670. * 消息类型
  671. */
  672. messageType: number
  673. /**
  674. * 消息子类型
  675. */
  676. messageSubType: number
  677. /**
  678. * 发送会员等级(多个枚举值逗号拼接,选项值包括全部会员等级、普通会员等级、白银会员等级、黄金会员等级、白金会员等级)
  679. */
  680. sendMemberGrade: any
  681. /**
  682. * 服务号推送状态(0-不推送,1-推送,选项值为推送、不推送选择推送,则该条消息同时会通过公众号推送展示选择不推送,则该条消息不会通过公众号推送),示例值(1)
  683. */
  684. serviceNumberStatus: any
  685. /**
  686. * 消息内容类型,选项值为创建详情、添加链接,示例值(2)
  687. */
  688. messageContentType: any
  689. /**
  690. * 添加详情链接,如果消息内容类型为添加链接则该值不为空,示例值(https://www.iocoder.cn)
  691. */
  692. linkUrl: string
  693. /**
  694. * 封面连接
  695. */
  696. coverUrl: string
  697. /**
  698. * 图文详情(富文本)
  699. */
  700. detailBody: string
  701. /**
  702. * 1 已读
  703. */
  704. isRead: string
  705. triggerPort: string
  706. triggerRole: string
  707. designerId: number
  708. businessId: any
  709. createTime: number
  710. viewCount: any
  711. viewTime: any
  712. pointsDetail?: PointsDetail
  713. }
  714. export interface ConfirmOrder {
  715. isShoppingCart: number
  716. userId: number
  717. list: {
  718. orderNo: any
  719. productId: string
  720. vendorId: number
  721. productName: string
  722. points: number
  723. nums: number
  724. orderImgUrl: string
  725. }[]
  726. couponList: any[]
  727. totalsPoints: number
  728. totalsCouponPoints: any
  729. totalsCurrPoints: any
  730. item: number
  731. type: any
  732. }
  733. export enum CouponStatus {
  734. // HAVE_USE(1, "已使用"),
  735. // NOT_USE(2, "未使用"),
  736. // EXPIRED(3, "已过期"),
  737. // BECAME_INVALID(4, "已失效"),
  738. // ;
  739. HAVE_USE = 1,
  740. NOT_USE = 2,
  741. EXPIRED = 3,
  742. BECAME_INVALID = 4
  743. }
  744. export interface Coupon {
  745. id: number
  746. couponId: number
  747. userId: number
  748. sendTime: string
  749. /**
  750. * 优惠卷有效开始时间
  751. */
  752. validityStartDate: string
  753. /**
  754. * 优惠卷有效结束时间
  755. */
  756. validityEndDate: string
  757. /**
  758. * 是否有效
  759. */
  760. isValid: number
  761. isUse: number
  762. useTime: string
  763. /**
  764. * 材料商id
  765. */
  766. material: number
  767. brandId: number
  768. buinessId: number
  769. productId: number
  770. createTime: string
  771. brandPoints: number
  772. couponName: string
  773. couponType: number
  774. brandIds: string
  775. productIds: string
  776. materialName: string
  777. couponImgUrl: string
  778. couponDO?: { couponDesc?: string }
  779. couponStatus: CouponStatus
  780. }
  781. export interface PointsDetail {
  782. id: number
  783. pointsType: string
  784. typeName: string
  785. pointsCategory: string
  786. categoryName: string
  787. sourceId: any
  788. name: string
  789. pointsStauts: number
  790. points: number
  791. couponPoints: any
  792. orderMoney: string
  793. materialsId: number
  794. materialsName: any
  795. materialsBrand: string
  796. stylistId: number
  797. brokerId: number
  798. stylistName: string
  799. brokerName: string
  800. generateTime: number
  801. verifyTime?: number
  802. completeTime?: number
  803. turnDownTime: any
  804. cancelTime: any
  805. cancelReason: any
  806. turnDownReason: any
  807. remark: any
  808. couponId: any
  809. orderNo: any
  810. createTime: number
  811. businessType: any
  812. customerName: string
  813. customerPhone: string
  814. orderImgUrl: any
  815. pointsRate: any
  816. commission: number
  817. creator: string
  818. creatorName: any
  819. }
  820. export interface Todo {
  821. content: string
  822. id: number
  823. status: number
  824. creator: string
  825. executionTime: string
  826. }
  827. export interface Agent {
  828. id: number
  829. brokeId: string
  830. headImgUrl: string
  831. brokerName: string
  832. password: string
  833. mobile: string
  834. status: number
  835. channelType: number
  836. designersNumber: any
  837. yearPoints: any
  838. yearOrders: any
  839. createTime: number
  840. inviteCode: string
  841. customer: any
  842. customerName: string
  843. points: number
  844. }
  845. export interface Designer {
  846. id: string
  847. name: string
  848. avatar: string
  849. levelName: string
  850. points: number
  851. mobile: string
  852. accessTime: any
  853. followUp30Days: boolean
  854. generatePoints60Days: boolean
  855. expendPoints60Days: boolean
  856. focus: boolean
  857. brokerId: number
  858. /**
  859. * 0 弱绑定 1 强绑定
  860. */
  861. retryStatus?: 0 | 1
  862. }
  863. export interface DesignerBasicInfo {
  864. id: number
  865. userId: number
  866. avatar: string
  867. name: string
  868. sex: number
  869. birthday: string
  870. mobile: string
  871. referrer: string
  872. brokerName: string
  873. employer: string
  874. companyAddress: string
  875. idCardNumber: string
  876. passportNumber: string
  877. householdAddress: string
  878. cooperationTime: string
  879. joinTime: string
  880. circle: string
  881. hobbies: string
  882. sharingIntent: number
  883. createTime: string
  884. imageNumber: number
  885. imageUrl: string
  886. maritalStatus: number
  887. maritalStatusStr: string
  888. }
  889. /**
  890. * 设计师家庭信息接口
  891. */
  892. export interface DesignerFamilyInfo {
  893. id: number
  894. userId: number
  895. /**
  896. * 家庭成员与用户的关系(例如,父母,兄弟姐妹)。
  897. */
  898. familyRelation: string
  899. /**
  900. * 家庭成员的姓名。
  901. */
  902. familyName: string
  903. /**
  904. * 家庭成员的性别。
  905. */
  906. familySex: string
  907. /**
  908. * 家庭成员的出生日期。
  909. */
  910. familyBirthday: string
  911. /**
  912. * 家庭成员的兴趣爱好。
  913. */
  914. familyInterset: string
  915. /**
  916. * 家庭成员的职业。
  917. */
  918. familyOccupation: string
  919. createTime: string
  920. }
  921. /**
  922. * 设计师奖项
  923. */
  924. export interface DesignerAward {
  925. id: number
  926. userId: number
  927. awardsName: string
  928. awardsTime: string
  929. awardsRank: string
  930. awardsFileUrl: string
  931. createTime: string
  932. }
  933. export interface DesignerEvent {
  934. name: string
  935. applyTime?: string
  936. userId?: number
  937. participationDate: string
  938. id?: number
  939. }
  940. export interface DesignerPointsStatistics {
  941. /**
  942. * 剩余积分
  943. */
  944. points: number
  945. /**
  946. * 积分变动时间
  947. */
  948. pointsTime: string
  949. /**
  950. * 累计获得积分
  951. */
  952. gainPoints: number
  953. /**
  954. * 今年获得积分
  955. */
  956. gainPointsYear: number
  957. /**
  958. * 今年消耗积分
  959. */
  960. usePoints: number
  961. /**
  962. * 消耗积分
  963. */
  964. usePointsYear: number
  965. /**
  966. * 累计跟进次数
  967. */
  968. followUpCount: number
  969. /**
  970. * 今年跟进次数
  971. */
  972. followUpYearCount: number
  973. /**
  974. * 消耗次数
  975. */
  976. usageCount: number
  977. /**
  978. * 今年消耗次数
  979. */
  980. usageYearCount: number
  981. /**
  982. * 累计获得次数
  983. */
  984. obtainedCount: number
  985. /**
  986. * 今年获得次数
  987. */
  988. obtainedYearCount: number
  989. }
  990. export interface DesignerOrderSaleOther {
  991. id: number
  992. supplierName: string
  993. brandName: string
  994. saleTime: string
  995. projectName: string
  996. customerName: string
  997. customerPhone: string
  998. orderAmount: number
  999. createTime: string
  1000. userId: number
  1001. }
  1002. export interface Broker {
  1003. createTime: string
  1004. updateTime: string
  1005. creator: string
  1006. updater: string
  1007. deleted: boolean
  1008. id: number
  1009. brokeId: string
  1010. inviteCode: string
  1011. inviteCodeUrl: string
  1012. headImgUrl: string
  1013. brokerName: string
  1014. password: string
  1015. mobile: string
  1016. channelType: number
  1017. status: number
  1018. points: number
  1019. }
  1020. export interface Report {
  1021. createTime: string
  1022. updateTime: string
  1023. creator: string
  1024. updater: string
  1025. deleted: boolean
  1026. id: number
  1027. verifyTime: string
  1028. verifier: number
  1029. status: string
  1030. taskId: number
  1031. brokerId: number
  1032. reason: string
  1033. remark: string
  1034. num: number
  1035. }
  1036. export interface ReportInfo {
  1037. id: number
  1038. brokerName: string
  1039. stylistId: number
  1040. /**
  1041. * 设计师姓名
  1042. */
  1043. stylistName: string
  1044. arrivalTime: number
  1045. shopName: string
  1046. receptionist: string
  1047. contactNumber: string
  1048. customerName: string
  1049. customerPhoneNumbe: string
  1050. customerAddress: string
  1051. createTime: number
  1052. reviewStatus: number
  1053. auditId: number
  1054. auditName: string
  1055. auditTime: number
  1056. reason: string
  1057. }
  1058. export interface AgentTask {
  1059. id: number
  1060. bearerId: number
  1061. bearerName: string
  1062. bearerType: string
  1063. name: string
  1064. storeQuantity: number
  1065. completedNum: number
  1066. personalCompletedNum: number
  1067. startTime: string
  1068. endTime: string
  1069. pointsReward: number
  1070. shopIds: string
  1071. shopNames: string
  1072. detail: string
  1073. taskType: string
  1074. finalType: string
  1075. roleType: string
  1076. status: string
  1077. createTime: string
  1078. receive: boolean
  1079. brokerIds: string
  1080. brokerList: Broker[]
  1081. reportList: Report[]
  1082. bearerTypeName: string
  1083. taskTypeName: string
  1084. finalTypeName: string
  1085. roleTypeName: string
  1086. statusName: string
  1087. qrList?: {
  1088. avatar: string
  1089. createTime: number
  1090. id: number
  1091. name: string
  1092. remark: string
  1093. }[]
  1094. }
  1095. export interface FollowUp {
  1096. id: number
  1097. brokerId: number
  1098. stylistId: number
  1099. stylistName: string
  1100. followTime: string
  1101. followType: string
  1102. remark: string
  1103. address: Address
  1104. imgUrl: string
  1105. isFollowFocus: string
  1106. followStatus: string
  1107. }
  1108. export interface Address {
  1109. address: string
  1110. longitude: string
  1111. latitude: string
  1112. }
  1113. export interface AgentPoint {
  1114. id: number
  1115. bizId: number
  1116. bizType: string
  1117. sourceId: number
  1118. sourceType: number
  1119. targetId: number
  1120. taskName: string
  1121. targetType: string
  1122. points: number
  1123. remark: string
  1124. createTime: string
  1125. }
  1126. export interface BrowseRecord {
  1127. /* */
  1128. createTime: Record<string, unknown>
  1129. /* */
  1130. updateTime: Record<string, unknown>
  1131. /* */
  1132. creator: string
  1133. /* */
  1134. updater: string
  1135. /* */
  1136. deleted: boolean
  1137. /* id */
  1138. id: number
  1139. /* 设计师id */
  1140. stylistId: number
  1141. /* 设计师名称 */
  1142. stylistName: string
  1143. /* 业务id */
  1144. bizId: string
  1145. /* 业务类型:分享-1,获客-2,浏览-3等具体查看BrowseTypeEnum类,可用值:1,2,3,4,5 */
  1146. bizType: string
  1147. /* 分享类型,可用值:1,2 */
  1148. shareType: string
  1149. /* 时长:单位-秒 */
  1150. duration: string
  1151. /* 创建人 */
  1152. creatorName: string
  1153. /* 备注 */
  1154. remark: string
  1155. }
  1156. /**
  1157. * 设计师动态统计
  1158. */
  1159. export interface BrowseRecordCountRes {
  1160. /* 打开次数 */
  1161. openNumber: number
  1162. /* 最近打开时间 */
  1163. openTime: string
  1164. /* 浏览时间 */
  1165. duration: number
  1166. /* 本年浏览时间 */
  1167. durationYear: number
  1168. /* 发圈次数 */
  1169. circleNumber: number
  1170. /* 本年发圈次数 */
  1171. circleNumberYear: number
  1172. /* 主页分享 */
  1173. homeShareNumber: number
  1174. /* 本年分享 */
  1175. homeShareNumberYear: number
  1176. /* 分享浏览数 */
  1177. shareViewNumber: number
  1178. /* 本年分享浏览数 */
  1179. shareViewNumberYear: number
  1180. /* 分享获客数 */
  1181. customersAcquired: number
  1182. /* 本年分享获客数 */
  1183. customersAcquiredYear: number
  1184. }
  1185. export enum DictType {
  1186. /**
  1187. * 擅长空间类型
  1188. */
  1189. memberSpatialExpertiseType = 'member_spatial_expertise_type',
  1190. /**
  1191. * 设计风格
  1192. */
  1193. memberDesignStyle = 'member_design_style_type',
  1194. /**
  1195. * 空间类型
  1196. */
  1197. circleSpaceType = 'member_circle_space_type',
  1198. /**
  1199. * 圈子标签
  1200. */
  1201. circleTag = 'basic_set_label_type',
  1202. /**
  1203. * 材料商品牌等级
  1204. */
  1205. memberMaterialsBrandLevel = 'member_materials_brand_level',
  1206. /**
  1207. * 材料商运营类型
  1208. */
  1209. memberMaterialsOperationType = 'member_materials_operation_type',
  1210. /**
  1211. * 内容分类-线下活动
  1212. */
  1213. offlineActivity = 'offline_activity',
  1214. /**
  1215. * 材料商-品牌-类型
  1216. */
  1217. memberMaterialsBrandType = 'member_materials_brand_type',
  1218. /**
  1219. * 材料商-经营-品牌
  1220. */
  1221. materialsManageBrand = 'member_materials_manage_brand',
  1222. /**
  1223. * 活动类型
  1224. */
  1225. MemberActivityType = 'member_activity_type',
  1226. }
  1227. /**
  1228. * 徽章
  1229. */
  1230. export interface Badge {
  1231. id: number
  1232. userId: number
  1233. quantity: number
  1234. badgeId: number
  1235. badgeType: string
  1236. badgeName: string
  1237. badgeNotObtainedImage: string
  1238. badgeYesObtainedImage: string
  1239. badgeDescription: string
  1240. popUp: boolean
  1241. }
  1242. /**
  1243. * 证书
  1244. */
  1245. export interface Certificate {
  1246. id: number
  1247. userId: number
  1248. certificateId: number
  1249. certificateName: string
  1250. studyName: string
  1251. certificateImage: string
  1252. certificateDescription: string
  1253. createTime: string
  1254. popUp: boolean
  1255. }
  1256. export enum CircleType {
  1257. moment = '1',
  1258. case = '2',
  1259. }
  1260. export enum BannerMode {
  1261. /**
  1262. * 材料商
  1263. */
  1264. Material = 1,
  1265. /**
  1266. * 设计传播
  1267. */
  1268. Spread = 2,
  1269. /**
  1270. * 品质商城
  1271. */
  1272. Mall = 3,
  1273. /**
  1274. * 设计奖项
  1275. */
  1276. DesignAwards = 4,
  1277. /**
  1278. * 设计游学
  1279. */
  1280. StudyTour = 5,
  1281. }