package com.jerry.crm.classes.domain;

import java.util.Date;

import com.jerry.crm.coursetype.domain.CrmCourseType;

public class CrmClasses {

	/*
	 * CREATE TABLE `crm_class` ( `classId` varchar(50) NOT NULL PRIMARY KEY,
	 * `courseTypeId` varchar(255) DEFAULT NULL,
	 * 
	 * `name` varchar(50) DEFAULT NULL, `beginTime` datetime DEFAULT NULL,
	 * `endTime` datetime DEFAULT NULL,
	 * 
	 * `status` varchar(20) DEFAULT NULL, `totalCount` int(11) DEFAULT NULL,
	 * `upgradeCount` int(11) DEFAULT NULL,
	 * 
	 * `changeCount` int(11) DEFAULT NULL, `runoffCount` int(11) DEFAULT NULL,
	 * `remark` varchar(500) DEFAULT NULL,
	 * 
	 * `uploadTime` datetime DEFAULT NULL, `uploadPath` varchar(200) DEFAULT
	 * NULL, `uploadFilename` varchar(100) DEFAULT NULL,
	 * 
	 * CONSTRAINT FOREIGN KEY (`courseTypeId`) REFERENCES `crm_course_type`
	 * (`courseTypeId`) ) ;
	 */
	private String classId;

	private String name; // ¿Î³ÌÃû³Æ
	private Date beginTime; // ¿ª°àÊ±¼ä
	private Date endTime; // ½áÒµÊ±¼ä

	private String status; // ×´Ì¬
	private Integer totalCount; // ×ÜÈËÊý
	private Integer upgradeCount; // Éý¼¶Êý

	private Integer changeCount; // ×ª°àÊý
	private Integer runoffCount; // Á÷Ê§Êý
	private String remark; // ÃèÊö

	private Date uploadTime; // ÉÏ´«Ê±¼ä
	private String uploadPath; // ÉÏ´«¿Î±íÂ·¾¶
	private String uploadFilename; // ÉÏ´«¿Î±íÃû³Æ

	// ¶à¶ÔÒ»£º¶à¸ö°à¼¶ ¿ÉÒÔ¶ÔÓ¦ Ò»¸ö¿Î³ÌÀà±ð
	private CrmCourseType courseType;

	public String getClassId() {
		return classId;
	}

	public void setClassId(String classId) {
		this.classId = classId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getUpgradeCount() {
		return upgradeCount;
	}

	public void setUpgradeCount(Integer upgradeCount) {
		this.upgradeCount = upgradeCount;
	}

	public Integer getChangeCount() {
		return changeCount;
	}

	public void setChangeCount(Integer changeCount) {
		this.changeCount = changeCount;
	}

	public Integer getRunoffCount() {
		return runoffCount;
	}

	public void setRunoffCount(Integer runoffCount) {
		this.runoffCount = runoffCount;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getUploadTime() {
		return uploadTime;
	}

	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}

	public String getUploadPath() {
		return uploadPath;
	}

	public void setUploadPath(String uploadPath) {
		this.uploadPath = uploadPath;
	}

	public String getUploadFilename() {
		return uploadFilename;
	}

	public void setUploadFilename(String uploadFilename) {
		this.uploadFilename = uploadFilename;
	}

	public CrmCourseType getCourseType() {
		return courseType;
	}

	public void setCourseType(CrmCourseType courseType) {
		this.courseType = courseType;
	}

}
