export const channelTypeOptions = [
  { label: '学校', value: 'SCHOOL' },
  { label: '机构', value: 'ORGANIZATION' },
  { label: '个人', value: 'PERSONAL' },
  { label: '网络', value: 'NETWORK' },
  { label: '其他', value: 'OTHER' }
];

export const channelStatusOptions = [
  { label: '正常', value: '0', elTagType: 'success' },
  { label: '停用', value: '1', elTagType: 'danger' }
];

export interface ChannelVO extends BaseEntity {
  id: number | string;
  channelName: string;
  channelType: string;
  referrer: string;
  contactPhone: string;
  commissionRate: number;
  commissionAmount: number;
  studentCount: number;
  convertedCount: number;
  status: string;
  remark: string;
}

export interface ChannelQuery extends PageQuery {
  channelName: string;
  channelType: string;
  referrer: string;
  status: string;
}

export interface ChannelForm {
  id?: number | string;
  channelName?: string;
  channelType?: string;
  referrer?: string;
  contactPhone?: string;
  commissionRate?: number;
  commissionAmount?: number;
  studentCount?: number;
  convertedCount?: number;
  status?: string;
  remark?: string;
}
