/*
 * @Author       : WuWei
 * @LastEditors  : WuWei
 * @Date         : 2023-06-27 14:44:41
 * @LastEditTime : 2023-07-11 10:06:36
 * @Description  : Do not edit
 */

import 'package:app_package/app_package.dart';
import '../../src/models/notice_model.dart';
import '../models/notice_type_model.dart';

abstract class NoticeService {
  Future<ResModel<PagingModel<NoticeModel>>> getNoticeList(data);
  Future<ResModel<NoticeModel>> getNoticeDetail(String? noticeId);
  Future<String?> saveToDraft(Map<String, String?> postParams);
  Future<String?> editDraft(Map<String, String?> postParams);
  Future<String?> publishNotice(String? noticeId);
  Future<ResModel<List<NoticeTypeModel>>> getTypeList();
}
