package com.writeoff.module.ocr.dto;

import java.util.Map;

public class IdCardOcrResponse {
    private Map<String, Object> raw;
    private Normalized normalized;

    public Map<String, Object> getRaw() {
        return raw;
    }

    public void setRaw(Map<String, Object> raw) {
        this.raw = raw;
    }

    public Normalized getNormalized() {
        return normalized;
    }

    public void setNormalized(Normalized normalized) {
        this.normalized = normalized;
    }

    public static class Normalized {
        private String idCardSide;
        private String name;
        private String idNo;
        private String gender;
        private String ethnicity;
        private String birth;
        private String address;
        private String issueAuthority;
        private String signDate;
        private String expiryDate;

        public String getIdCardSide() {
            return idCardSide;
        }

        public void setIdCardSide(String idCardSide) {
            this.idCardSide = idCardSide;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIdNo() {
            return idNo;
        }

        public void setIdNo(String idNo) {
            this.idNo = idNo;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getEthnicity() {
            return ethnicity;
        }

        public void setEthnicity(String ethnicity) {
            this.ethnicity = ethnicity;
        }

        public String getBirth() {
            return birth;
        }

        public void setBirth(String birth) {
            this.birth = birth;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getIssueAuthority() {
            return issueAuthority;
        }

        public void setIssueAuthority(String issueAuthority) {
            this.issueAuthority = issueAuthority;
        }

        public String getSignDate() {
            return signDate;
        }

        public void setSignDate(String signDate) {
            this.signDate = signDate;
        }

        public String getExpiryDate() {
            return expiryDate;
        }

        public void setExpiryDate(String expiryDate) {
            this.expiryDate = expiryDate;
        }
    }
}

