package org.example.mybatisplus.model.auto;

import java.util.List;

import org.springframework.data.mongodb.core.mapping.Document;


import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 纳税A级响应数据
 *
 * @author snows
 * @date 2024/10/15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Document(collection = "ent_risk_qxb_credit_grade_info")
public class EntRiskQxbCreditGradeInfo extends EasierMongoEntity {

    private static final long serialVersionUID = -4131034949129209317L;

    /**
     * 企业名称
     */
    private String name;

    /**
     * 企业统一社会信用代码
     */
    private String creditNo;

    /**
     * 信用等级列
     */
    private List<GradeList> gradeList;

    @Data
    public static class GradeList {
        /**
         * 信用年份
         */
        private String year;

        /**
         * 信用等级
         */
        private String grade;

    }
}
