import { List } from '@kit.ArkTS';
export interface ItemModel {
   count:number;
   title:string;
   uuid:string;
   end_date:string;
   begin_date:string;
   sort:string;
  // status （0 无直播 1 待直播 2 直播中 3 已结束）
   status:string;
   location:string;
   type:string;
   path:string;
   content:string;
  // liveimg （直播图片）
   liveimg:string;
  // liveurl （直播地址）
   liveurl:string;
  // spareurl （备用地址）
   spareurl:string;
   tags:string;
}
export interface MeetingModel {
  code:string;
  message:string;
  totalPage:number;
  pageNumber:number;
  pageSize:number;
  totalRow:number;
  pages:number;
  list: ItemModel[] ;
}
export interface MeetingModels {
  code:string;
  message:string;
  data:MeetingModel

}
export class MeetingItemModel implements ItemModel
{
  count: number=0;
  title: string='';
  uuid: string='';
  end_date: string='';
  begin_date: string='';
  sort: string='';
  status: string='';
  location: string='';
  type: string='';
  path: string='';
  content: string='';
  liveimg: string='';
  liveurl: string='';
  spareurl: string='';
  tags: string='';

  constructor(model:ItemModel) {
    this.count = model.count;
    this.title = model.title;
    this.uuid = model.uuid;
    this.end_date = model.end_date;
    this.begin_date = model.begin_date;
    this.sort = model.sort;
    this.status = model.status;
    this.location = model.location;
    this.type = model.type;
    this.path = model.path;
    this.content = model.content;
    this.liveimg = model.liveimg;
    this.liveurl = model.liveurl;
    this.spareurl = model.spareurl;
    this.tags = model.tags;
  }


}
