You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
package com.yanzhen.entity ; // 定义包名, 表示该类属于com.yanzhen.entity包
import javax.validation.constraints.NotNull ; // 导入NotNull注解, 用于字段验证
import org.hibernate.validator.constraints.Length ; // 导入Length注解, 用于字符串长度验证
import com.yanzhen.utils.Entity ; // 导入Entity类, SelectionDormitory类继承自Entity类
import java.util.Date ; // 导入Date类, 用于日期处理
public class SelectionDormitory extends Entity { // 定义一个名为SelectionDormitory的类, 继承自Entity类
private Integer id ; // 定义一个私有的Integer类型的变量id
private Integer dormitoryId ; // 定义一个私有的Integer类型的变量dormitoryId
private Integer clazzId ; // 定义一个私有的Integer类型的变量clazzId
public Integer getId ( ) { // 定义一个公共方法getId, 用于获取id的值
return id ;
}
public void setId ( Integer id ) { // 定义一个公共方法setId, 用于设置id的值
this . id = id ;
}
public Integer getDormitoryId ( ) { // 定义一个公共方法getDormitoryId, 用于获取dormitoryId的值
return dormitoryId ;
}
public void setDormitoryId ( Integer dormitoryId ) { // 定义一个公共方法setDormitoryId, 用于设置dormitoryId的值
this . dormitoryId = dormitoryId ;
}
public Integer getClazzId ( ) { // 定义一个公共方法getClazzId, 用于获取clazzId的值
return clazzId ;
}
public void setClazzId ( Integer clazzId ) { // 定义一个公共方法setClazzId, 用于设置clazzId的值
this . clazzId = clazzId ;
}
}