1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- package com.ruoyi.sim.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;
- /**
- * 用户附加对象 sim_add_on_user
- *
- * @author tom
- * @date 2024-12-11
- */
- public class AddOnUser extends BaseEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 用户ID
- */
- private Long userId;
- /**
- * 专业ID
- */
- @Excel(name = "专业ID")
- private Long majorId;
- public void setUserId(Long userId) {
- this.userId = userId;
- }
- public Long getUserId() {
- return userId;
- }
- public void setMajorId(Long majorId) {
- this.majorId = majorId;
- }
- public Long getMajorId() {
- return majorId;
- }
- @Override
- public String toString() {
- return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
- .append("userId", getUserId())
- .append("majorId", getMajorId())
- .append("createBy", getCreateBy())
- .append("createTime", getCreateTime())
- .append("updateBy", getUpdateBy())
- .append("updateTime", getUpdateTime())
- .append("remark", getRemark())
- .toString();
- }
- }
|