class ScrapBillModel {
  ScrapBillModel(
      {this.id,
      this.createDate,
      this.billCode,
      this.billType,
      this.attachment,
      this.status,
      this.detailCount,
      this.userId,
      this.companyName,
      this.orgCode,
      this.departmentName,
      this.departmentOrgcode,
      this.img});

  String id;
  String createDate;
  String billCode;
  dynamic billType;
  dynamic attachment;
  dynamic status;
  dynamic detailCount;
  String userId;
  String companyName;
  String orgCode;
  String departmentName;
  String departmentOrgcode;
  String img;

  factory ScrapBillModel.fromJson(Map<String, dynamic> json) => ScrapBillModel(
        id: json["id"],
        createDate: json["createDate"],
        billCode: json["billCode"],
        billType: json["billType"],
        attachment: json["attachment"],
        status: json["status"],
        detailCount: json["detailCount"],
        userId: json["userId"],
        companyName: json["companyName"],
        orgCode: json["orgCode"],
        departmentName: json["departmentName"],
        departmentOrgcode: json["departmentOrgcode"],
        img: json['img'],
      );

  Map<String, dynamic> toJson() => {
        "id": id,
        "createDate": createDate,
        "billCode": billCode,
        "billType": billType,
        "attachment": attachment,
        "status": status,
        "detailCount": detailCount,
        "userId": userId,
        "companyName": companyName,
        "orgCode": orgCode,
        "departmentName": departmentName,
        "departmentOrgcode": departmentOrgcode,
        "img": img,
      };
}
