models.ts 25 KB

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