export interface Comment {
  id: number
  circleId: number
  userId: number
  userName: string
  userAvatar: string
  reviewContent: string
  upvoteCount: any
  replayReviewId: any
  reviewTime: number
  createTime: number
  replayToUserName: any
  replayToUserId: any
  replayFirstId: any
  upvote: boolean
  ownDel: boolean
}
export interface Task {
  id: number
  taskKey: string
  taskValue: string
  createTime: string
  sort: number
  status: number
}
export interface MaterialDealer {
  id: number
  logoUrl: string
  materialsName: string
  materialsType: number
  brandLevel: number
  manageType: number
  manageBrand: number
  brandType: number
  storeAddress: string
  storeName: string
  contactPerson: string
  contactPhone: string
  invoiceTitle: string
  taxpayerNumber: string
  invoiceAddr: string
  bankDeposit: string
  agreementFileUrl: string
  virtualArrival: number
  status: string
  createTime: string
  points: number
  clockPoints: string
  orderCount: number
}
export interface ShopList {
  id: number
  materialsId: number
  shopAddr: string
  shopName: string
  shopContactPerson: string
  shopContactPhone: string
}
export interface MaterialsList {
  id: number
  logoUrl: string
  materialsName: string
  materialsType: number
  brandLevel: number
  manageType: number
  manageBrand: number
  brandType: number
  invoiceTitle: string
  taxpayerNumber: string
  invoiceAddr: string
  bankDeposit: string
  virtualArrival: number
  status: string
  points: number
  shopList: ShopList[]
  clockCount: number
}
export interface MaterialDealerRes {
  brandLevel: number
  brandLevelName: string
  pointsRate: number
  materialsList: MaterialsList[]
}
export interface FodderList {
  createTime: number
  updateTime: number
  creator: string
  updater: string
  deleted: boolean
  id: number
  materialsId: number
  fodderUrl: string
}
export interface ProductDolist {
  createTime: number
  updateTime: number
  creator: string
  updater: string
  deleted: boolean
  id: number
  materialsId: number
  productTitleId: any
  productTitleName: string
  productImgUrl: string
}
export interface MaterialDealerDetail extends MaterialDealer {
  shopList: ShopList[]
}
export interface MaterialDealerHomePage {
  materialsId: any
  bannerUrl: string
  brandAdvantageUrl: string
  brandAdvantageDesc: string
  fodderList: FodderList[]
  productDOList: ProductDolist[]
}
export interface Content {
  id: number
  /**
   * 内容类型 - 0: 设计游学
   */
  contentType: string
  /**
   * 内容类型名称
   */
  contentTypeName: string
  /**
   * 内容分类
   */
  contentCategory: string
  /**
   * 内容分类名称
   */
  contentCategoryName: string
  /**
   * 内容标题
   */
  title: string
  /**
   * 班级
   */
  classGrade: string
  /**
   * 游学开始时间
   */
  studyStartDate: string
  /**
   * 游学结束时间
   */
  studyEndDate: string
  /**
   * 游学人数
   */
  studyPersonCount: number
  /**
   * 领队
   */
  studyLeader: string
  /**
   * 班长
   */
  studyMonitor: string
  bannerUrl: string
  /**
   * 内容详情
   */
  contentDetail: string
  /**
   * 期数
   */
  periodsCount: number
  /**
   * 活动，举办开始时间
   */
  hostDate: string
  /**
   * 举办方
   */
  activityHost: string
  /**
   * 赞助品牌
   */
  supportBrand: string
  /**
   * 状态 - 0: 正常, 1: 停用
   */
  status: number
  viewsCount: number
  viewCount30Day: number
  createTime: string
}
export interface Category {
  id: number
  name: string
  code: string
  sort: number
  parentId: any
  level: number
  children?: Category[]
}
export interface Activity {
  id: number
  name: string
  activityType: string
  /**
   * 报名开始时间 or 计划报名时间
   */
  applyStartTime: string
  studyStartTime: string
  /**
   * 报名结束时间 or 计划报名截止时间
   */
  applyEndTime: string
  /**
   * 报名状态 or 计划游学名额开关
   */
  applyStatus: string
  /**
   * 计划报名人员 or 计划游学名额
   */
  applyNumber: string
  /**
   * 游学年度
   */
  studyYear: string
  /**
   * 活动开始时间
   */
  activityStartTime: string
  /**
   * 活动结束时间
   */
  activityEndTime: string
  /**
   * 活动名额（限制，不限制）
   */
  activityAllowType: string
  /**
   * 活动名额大小
   */
  activityAllowCount: number
  /**
   * 活动地点
   */
  activityAddr: string
  /**
   * 是否需要积分（需要，不需要）
   */
  needPointsType: string
  /**
   * 需要积分大小
   */
  needPointsCount: number
  /**
   * 活动徽章
   */
  badgeId: number
  /**
   * 会员等级(多选)
   */
  memberLevel: any[]
  /**
   * banner地址
   */
  bannerUrl: string
  /**
   * 缩略图地址
   */
  thumbnailUrl: string
  /**
   * 详情页背景图地址
   */
  backgroundUrl: string
  /**
   * 活动介绍
   */
  activityDesc: string
  /**
   * 展示状态
   */
  showStatus: number
  /**
   * 是否首页推荐
   */
  headRecommend: number
  /**
   * 浏览量
   */
  viewCount: number
  createTime: string
  /**
   * 已报名
   */
  ifSingnUp: boolean
}
export interface StudyTour {
  id: number
  name: string
  studyType: string
  /**
   * 计划报名时间
   */
  planApplyStartTime: number
  planApplyEndTime: number
  /**
   * 计划游学时间
   */
  planStudyStartTime: number
  planStudyEndTime: number
  planStudyAllowType: any
  planStudyAllowCount: any
  studyYear: string
  memberLevel: any
  needPointsType: any
  needPointsCount: any
  badgeId: any
  applyStartTime: any
  applyEndTime: any
  applyStatus: string
  studyStartTime: any
  studyEndTime: any
  studyAllowType: any
  studyAllowCount: any
  bannerUrl: any
  thumbnailUrl: any
  backgroundUrl: any
  studyDesc: any
  isTravelPlan: any
  showStatus: string
  headRecommend: string
  viewCount: any
  createTime: number
  ifSingnUp: boolean
  studyTravelList: {
    createTime: number
    updateTime: number
    creator: string
    updater: string
    deleted: boolean
    id: number
    studyId: number
    travelDate: number
    travelTime: number
    title: string
    travelDesc: string
    clockExplainDesc: string
    clockExplainUrl: string
  }[]
}
export interface MyStudyTour {
  id: number
  name: string
  studyType: string
  planApplyStartTime: number
  planApplyEndTime?: number
  planStudyStartTime: number
  planStudyEndTime?: number
  planStudyAllowType?: string
  planStudyAllowCount?: number
  studyYear: string
  memberLevel: number[]
  needPointsType: string
  needPointsCount?: number
  badgeId?: number
  applyStartTime: number
  applyEndTime: number
  applyStatus?: number
  studyStartTime: number
  studyEndTime: number
  studyAllowType: string
  studyAllowCount: number
  bannerUrl: string
  thumbnailUrl: string
  backgroundUrl: string
  studyDesc: string
  isTravelPlan: number
  showStatus: number
  headRecommend: number
  signUpCount: any
  viewCount: number
  createTime: number
  ifSingnUp: boolean
  studyTravelDOList: {
    createTime: any
    updateTime: any
    creator: any
    updater: any
    deleted: any
    id: any
    studyId: number
    travelDate: any
    travelTime: number
    title: string
    travelDesc: string
    clockExplainDesc: string
    clockExplainUrl: string
  }[]
}

export interface Banner {
  id: number
  name: string
  modeType: BannerMode
  /**
   * 轮播图图片
   */
  bannerImgUrl: string
  /**
   * 轮播图详情类型
   */
  bannerDetailsType: string
  /**
   * 轮播图链接
   */
  bannerLinkUrl: string
  /**
   * 轮播图详情内容
   */
  bannerDetailsContent: any
  /**
   * 状态 - 0: 正常, 1: 停用
   */
  status: number
  /**
   * 浏览量
   */
  viewCount: any
  /**
   * 设计游学年份
   */
  designStudyAbroadYear: any
  /**
   * 设计游学描述
   */
  designDesc: any
  createTime: number
}
export interface PointsOrder {
  id: number
  orderType: number
  item: number
  materialsId: any
  materialsBrand: any
  stylistId: number
  /**
   * 订单金额
   */
  orderMoney: any
  projectName: string
  pointsRate: any
  /**
   * 积分单价
   */
  points: string
  orderImgUrl: string
  orderStatus: string
  verifyTime: any
  completeTime: number
  turnDownTime: any
  cancelTime: number
  cancelReason: any
  turnDownReason: any
  remark: any
  couponId: any
  orderNo: string
  createTime: number
  brokerageRate: any
  brokerage: any
  orderQuantity: number
  payType: number
  /**
   * 实付积分
   */
  payPoints: number
  /**
   * 获取方式: 1:到店核销 3:其他
   */
  gainType?: number
}
export interface UserAuthInfo {
  id: number
  designerName: string
  gender: number
  mobile: string
  channelSource: number
  referrer: string
  employer: string
  spatialExpertiseType: number
  attachment: string
  auditStatus: number
  remark: string
  auditTime: number
}
export interface ResPageData<T> {
  list: T[]
  total: number
}
export interface Message {
  id: number
  title: string
  /**
   * 消息类型
   */
  messageType: number
  /**
   * 消息子类型
   */
  messageSubType: number
  /**
   * 发送会员等级(多个枚举值逗号拼接,选项值包括全部会员等级、普通会员等级、白银会员等级、黄金会员等级、白金会员等级)
   */
  sendMemberGrade: any
  /**
   * 服务号推送状态(0-不推送，1-推送,选项值为推送、不推送选择推送，则该条消息同时会通过公众号推送展示选择不推送，则该条消息不会通过公众号推送),示例值(1)
   */
  serviceNumberStatus: any
  /**
   * 消息内容类型,选项值为创建详情、添加链接,示例值(2)
   */
  messageContentType: any
  /**
   * 添加详情链接,如果消息内容类型为添加链接则该值不为空,示例值(https://www.iocoder.cn)
   */
  linkUrl: string
  /**
   * 封面连接
   */
  coverUrl: string
  /**
   * 图文详情(富文本)
   */
  detailBody: string
  /**
   *  1 已读
   */
  isRead: string
  triggerPort: string
  triggerRole: string
  designerId: number
  businessId: any
  createTime: number
  viewCount: any
  viewTime: any
  pointsDetail?: PointsDetail
}
export interface Coupon {
  id: number
  couponId: number
  userId: number
  sendTime: string
  /**
   * 优惠卷有效开始时间
   */
  validityStartDate: string
  /**
   * 优惠卷有效结束时间
   */
  validityEndDate: string
  /**
   * 是否有效
   */
  isValid: number
  isUse: number
  useTime: string
  /**
   * 材料商id
   */
  material: number
  brandId: number
  buinessId: number
  productId: number
  createTime: string
  brandPoints: number
  couponName: string
  couponType: number
  brandIds: string
  productIds: string
  materialName: string
  couponImgUrl: string
}
export interface PointsDetail {
  id: number
  pointsType: string
  typeName: string
  pointsCategory: string
  categoryName: string
  sourceId: any
  name: string
  pointsStauts: number
  points: number
  couponPoints: any
  orderMoney: string
  materialsId: number
  materialsName: any
  materialsBrand: string
  stylistId: number
  brokerId: number
  stylistName: string
  brokerName: string
  generateTime: number
  verifyTime?: number
  completeTime?: number
  turnDownTime: any
  cancelTime: any
  cancelReason: any
  turnDownReason: any
  remark: any
  couponId: any
  orderNo: any
  createTime: number
  businessType: any
  customerName: string
  customerPhone: string
  orderImgUrl: any
  pointsRate: any
  commission: number
  creator: string
  creatorName: any
}

export enum DictType {
  /**
   *  擅长空间类型
   */
  memberSpatialExpertiseType = 'member_spatial_expertise_type',
  /**
   * 设计风格
   */
  memberDesignStyle = 'member_design_style_type',
  /**
   * 圈子标签
   */
  circleTag = 'basic_set_label_type',
  /**
   * 材料商品牌等级
   */
  memberMaterialsBrandLevel = 'member_materials_brand_level',
  /**
   * 材料商运营类型
   */
  memberMaterialsOperationType = 'member_materials_operation_type',
  /**
   * 内容分类-线下活动
   */
  offlineActivity = 'offline_activity',
  /**
   * 材料商-品牌-类型
   */
  memberMaterialsBrandType = 'member_materials_brand_type',
  /**
   * 材料商-经营-品牌
   */
  materialsManageBrand = 'member_materials_manage_brand',
  /**
   * 活动类型
   */
  MemberActivityType = 'member_activity_type',
}
export enum CircleType {
  moment = '1',
  case = '2',
}
export enum BannerMode {
  /**
   * 材料商
   */
  Material = 1,
  /**
   * 设计传播
   */
  Spread = 2,
  /**
   * 品质商城
   */
  Mall = 3,
  /**
   * 设计奖项
   */
  DesignAwards = 4,
  /**
   * 设计游学
   */
  StudyTour = 5,
}
