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.

42 lines
1.3 KiB

This file contains ambiguous Unicode characters!

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;
import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.yanzhen.utils.Entity;
import java.util.Date;
public class NoticeReceive extends Entity{// 定义一个名为NoticeReceive的类继承自Entity类
private Integer id; // 定义一个私有的Integer类型的变量id
private Integer noticeId;// 定义一个私有的Integer类型的变量noticeId
private Integer buildingId;// 定义一个私有的Integer类型的变量buildingId
public Integer getId() {
return id;// 定义一个公共方法getId用于获取id的值
}
public void setId(Integer id) {
this.id = id;// 定义一个公共方法setId用于设置id的值
}
public Integer getNoticeId() {
return noticeId;// 定义一个公共方法getNoticeId用于获取noticeId的值
}
public void setNoticeId(Integer noticeId) {
this.noticeId = noticeId;// 定义一个公共方法setNoticeId用于设置noticeId的值
}
public Integer getBuildingId() {
return buildingId;// 定义一个公共方法getBuildingId用于获取buildingId的值
}
public void setBuildingId(Integer buildingId) {
this.buildingId = buildingId;// 定义一个公共方法setBuildingId用于设置buildingId的值
}
}