package com.ruoyi.system.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.ruoyi.common.annotation.Excel;
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
/**
|
* 专业对象 cj_major
|
*
|
* @author ruoyi
|
* @date 2026-09-03
|
*/
|
public class CjMajor extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 专业ID */
|
private Long majorId;
|
|
/** 所属学院ID */
|
private Long collegeId;
|
|
/** 所属学院名称(非表字段,导入/导出/展示用) */
|
@Excel(name = "所属学院")
|
private String collegeName;
|
|
/** 专业名称 */
|
@Excel(name = "专业名称")
|
private String majorName;
|
|
/** 显示顺序 */
|
private Long orderNum;
|
|
/** 状态(0正常 1停用) */
|
@Excel(name = "状态(0正常 1停用)")
|
private String status;
|
|
/** 删除标志(0存在 2删除) */
|
private String delFlag;
|
|
public void setMajorId(Long majorId)
|
{
|
this.majorId = majorId;
|
}
|
|
public Long getMajorId()
|
{
|
return majorId;
|
}
|
|
public void setCollegeId(Long collegeId)
|
{
|
this.collegeId = collegeId;
|
}
|
|
public Long getCollegeId()
|
{
|
return collegeId;
|
}
|
|
public void setCollegeName(String collegeName)
|
{
|
this.collegeName = collegeName;
|
}
|
|
public String getCollegeName()
|
{
|
return collegeName;
|
}
|
|
public void setMajorName(String majorName)
|
{
|
this.majorName = majorName;
|
}
|
|
public String getMajorName()
|
{
|
return majorName;
|
}
|
|
public void setOrderNum(Long orderNum)
|
{
|
this.orderNum = orderNum;
|
}
|
|
public Long getOrderNum()
|
{
|
return orderNum;
|
}
|
|
public void setStatus(String status)
|
{
|
this.status = status;
|
}
|
|
public String getStatus()
|
{
|
return status;
|
}
|
|
public void setDelFlag(String delFlag)
|
{
|
this.delFlag = delFlag;
|
}
|
|
public String getDelFlag()
|
{
|
return delFlag;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("majorId", getMajorId())
|
.append("collegeId", getCollegeId())
|
.append("majorName", getMajorName())
|
.append("orderNum", getOrderNum())
|
.append("status", getStatus())
|
.append("delFlag", getDelFlag())
|
.append("createBy", getCreateBy())
|
.append("createTime", getCreateTime())
|
.append("updateBy", getUpdateBy())
|
.append("updateTime", getUpdateTime())
|
.append("remark", getRemark())
|
.toString();
|
}
|
}
|