package Bean;
import javax.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "class", schema = "homework_system", catalog = "")
public class ClassEntity {
    private int classId;
    private String name;
    private Integer sumNum;
    @Id
    @Column(name = "class_id")
    public int getClassId() {
        return classId;
    }
    public void setClassId(int classId) {
        this.classId = classId;
    }
    @Basic
    @Column(name = "name")
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    @Basic
    @Column(name = "sum_num")
    public Integer getSumNum() {
        return sumNum;
    }
    public void setSumNum(Integer sumNum) {
        this.sumNum = sumNum;
    }
    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ClassEntity that = (ClassEntity) o;
        return classId == that.classId &&
                Objects.equals(name, that.name) &&
                Objects.equals(sumNum, that.sumNum);
    }
    @Override
    public int hashCode() {
        return Objects.hash(classId, name, sumNum);
    }
}
 最近下载更多
最近下载更多
                
                lizhenmrt     LV4
                2022年12月12日
            
            
        
                这不是一只柚子吗     LV6
                2021年5月24日
            
            
        
                feiyang991128     LV4
                2021年5月12日
            
            
        
                hao liong     LV2
                2021年5月3日
            
            
        
                wensidy     LV10
                2021年4月27日
            
            
        
                hahaman     LV5
                2021年4月25日
            
            
        
                lili010126     LV8
                2021年4月2日
            
            
        
                184773349     LV8
                2021年3月6日
            
            
        
                cxy2956     LV1
                2021年1月10日
            
            
        
                李晓晗     LV1
                2021年1月7日
            
            
         最近浏览更多
最近浏览更多
                
                微信网友_6381844322979840    
                9月27日
            
            
                    暂无贡献等级
            
        
                shunlun8855     LV1
                2024年10月29日
            
            
        
                FAST_98C4    
                2024年9月9日
            
            
                    暂无贡献等级
            
        
                破剑茶寮     LV4
                2024年6月26日
            
            
        
                WBelong     LV8
                2024年3月6日
            
            
        
                asddwh     LV13
                2023年12月29日
            
            
        
                微信网友_6790506018131968     LV1
                2023年12月23日
            
            
        
                wkq888     LV17
                2023年11月27日
            
            
        
                958546428     LV3
                2023年11月10日
            
            
        
                mhymhy123     LV1
                2023年10月20日
            
            
        
 
     
                 
                