package entity;

import com.et.ar.ActiveRecordBase;
import com.et.ar.annotations.BelongsTo;
import com.et.ar.annotations.Column;
import com.et.ar.annotations.Id;
import com.et.ar.annotations.Table;

@Table(name="m_byrow")
public class Byrow extends ActiveRecordBase{
	
	@Id private Integer id;
	@Column private Integer class_id;
	@Column private Integer teacher_id;
	@Column private Integer course_id;
	@Column private Integer room_id;
	
	@BelongsTo(foreignKey="teacher_id")
    private User teacher;
	
	@BelongsTo(foreignKey="room_id")
    private Room room;
	
	@BelongsTo(foreignKey="course_id")
    private Course course;
	
	@BelongsTo(foreignKey="class_id")
    private MyClass myclass;
	
	@Column private Integer col_value;
	@Column private Integer row_value;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	
	public Integer getCol_value() {
		return col_value;
	}
	public void setCol_value(Integer col_value) {
		this.col_value = col_value;
	}
	public Integer getRow_value() {
		return row_value;
	}
	public void setRow_value(Integer row_value) {
		this.row_value = row_value;
	}


	public Integer getClass_id() {
		return class_id;
	}
	public void setClass_id(Integer class_id) {
		this.class_id = class_id;
	}
	
	public Integer getTeacher_id() {
		return teacher_id;
	}
	public void setTeacher_id(Integer teacher_id) {
		this.teacher_id = teacher_id;
	}
	public User getTeacher() {
		return teacher;
	}
	public void setTeacher(User teacher) {
		this.teacher = teacher;
	}

	public Course getCourse() {
		return course;
	}
	public void setCourse(Course course) {
		this.course = course;
	}
	public MyClass getMyclass() {
		return myclass;
	}
	public void setMyclass(MyClass myclass) {
		this.myclass = myclass;
	}
	public Integer getCourse_id() {
		return course_id;
	}
	public void setCourse_id(Integer course_id) {
		this.course_id = course_id;
	}
	public Integer getRoom_id() {
		return room_id;
	}
	public void setRoom_id(Integer room_id) {
		this.room_id = room_id;
	}
	public Room getRoom() {
		return room;
	}
	public void setRoom(Room room) {
		this.room = room;
	}
	
}
最近下载更多
haozhilang  LV9 2024年7月24日
2036495585  LV9 2023年9月26日
卢本伟不开挂  LV4 2023年9月3日
lovezyp  LV1 2023年4月20日
weilaizhisheng  LV21 2022年11月19日
心悦君兮君不知258  LV5 2022年8月30日
梦奇渊  LV7 2022年6月24日
14445555  LV2 2022年5月31日
最代码-宋家辉  LV61 2022年5月26日
testuser1234567  LV24 2022年5月23日
最近浏览更多
sjwc88  LV3 2024年12月13日
krispeng  LV14 2024年9月3日
somexi 2024年8月23日
暂无贡献等级
haozhilang  LV9 2024年7月24日
Song3LL 2024年7月23日
暂无贡献等级
enterprise 2024年5月28日
暂无贡献等级
2109170085 2024年5月21日
暂无贡献等级
微信网友_6906962132258816  LV7 2024年5月15日
ll时空幻境  LV1 2024年4月22日
提灯寻白鹿  LV3 2024年3月27日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友