package com.srs.comprehensive.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Objects;

@Data
@AllArgsConstructor
@TableName("V_StudentScore")
public class CphStuScoreMiddle {
    @TableField("XQID")
    private Long XQID;
    @TableField("XND")
    private String XNDM;
    @TableField("XQMC")
    private String XQDM;
    @TableField("XH")
    private String XH;
    @TableField("XM")
    private String XM;
    @TableField("KCDM")
    private String KCDM;
    @TableField("KCMC")
    private String KCMC;
    @TableField("XSHDXF")
    private BigDecimal XF;
    @TableField("XSHDJD")
    private BigDecimal JD;
    @TableField("CJ")
    private String CJ;
    @TableField("FZLX")
    private Long FZLX;

    @TableField("passed")
    private String passed;

//    public CphStuScoreMiddle(String XH,String KCDM){
//        this.XH=XH;
//        this.KCDM=KCDM;
//    }
//
//    @Override
//    public boolean equals(Object o) {
//        if (this == o) return true;
//        if (o == null || getClass() != o.getClass()) return false;
//        CphStuScoreMiddle person = (CphStuScoreMiddle) o;
//        return Objects.equals(XH, person.XH) &&
//                KCDM.equals(person.KCDM);
//    }
//
//    @Override
//    public int hashCode() {
//        return Objects.hash(XH, KCDM);
//    }
//
//    @Override
//    public String toString() {
//        return "CphStuScoreMiddle{" +
//                "XH='" + XH + '\'' +
//                ", KCDM=" + KCDM +
//                '}';
//    }
}
