CompDTO.ets 1.17 KB
import { AudioDTO } from '../content/AudioDTO';
import { ContentDTO } from '../content/ContentDTO';

export interface CompDTO {
  backgroundColor: string;
  backgroundImgUrl: string;
  cityCode: string;
  compStyle: string;
  compType: string;

  // dataSourceRequest: any[];
  districtCode: string;
  extraData?: string;
  hasAdInfo: number;
  id: number;
  imgSize: string;
  innerUrl: string;
  linkUrl: string;

  // meddleDataList: any[];
  name: string;
  objectId: string; // 跳转页面id?
  objectTitle: string; // comp标题
  // objectType?: string; // 跳转类型,枚举:
  operDataList: ContentDTO[]; // 运营数据列表【正常运营配置的强运营数据,部分推荐场景的配置(自动源兜底数据)】
  // pageId?: any;
  posterSize: string;
  posterUrl: string;
  provinceCode: string;
  sortValue: number;
  subType: string;
  imageScale: number; // 封面图比例 1-4:3, 2-16:9, 3-3:2
  audioDataList: AudioDTO[];
  titleShowPolicy: string | number;

  /**
   * 组件内容源类型  (LIVE_HORIZONTAL_CARD\LIVE_RESERVATION\LIVE_LARGE_CARD\LIVE_END\LIVE_MONTHLY_RANKING  )
   */
  dataSourceType: string;

  pageId?: string;
  objectType?: string;
}