123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124 |
- package com.hssx.cloudmodel.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableField;
- import java.io.Serializable;
- /**
- * <p>
- *
- * </p>
- *
- * @author 吴涛涛
- * @since 2019-07-31
- */
- @TableName("tb_project_user")
- public class ProjectUser extends Model<ProjectUser> {
- private static final long serialVersionUID=1L;
- /**
- * 主键
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 项目id
- */
- @TableField("project_id")
- private Integer projectId;
- /**
- * 用户id
- */
- @TableField("user_id")
- private Integer userId;
- /**
- * 所属公司id
- */
- @TableField("subordinate")
- private Integer subordinate;
- /**
- * 账号类型
- */
- @TableField("role_type")
- private Integer roleType;
- /**
- * 所属方类型 0-资产方 1-生产方
- */
- @TableField("subordinate_type")
- private Integer subordinateType;
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public Integer getProjectId() {
- return projectId;
- }
- public void setProjectId(Integer projectId) {
- this.projectId = projectId;
- }
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public Integer getSubordinate() {
- return subordinate;
- }
- public void setSubordinate(Integer subordinate) {
- this.subordinate = subordinate;
- }
- public Integer getRoleType() {
- return roleType;
- }
- public void setRoleType(Integer roleType) {
- this.roleType = roleType;
- }
- public Integer getSubordinateType() {
- return subordinateType;
- }
- public void setSubordinateType(Integer subordinateType) {
- this.subordinateType = subordinateType;
- }
- @Override
- protected Serializable pkVal() {
- return this.id;
- }
- @Override
- public String toString() {
- return "ProjectUser{" +
- "id=" + id +
- ", projectId=" + projectId +
- ", userId=" + userId +
- ", subordinate=" + subordinate +
- ", roleType=" + roleType +
- ", subordinateType=" + subordinateType +
- "}";
- }
- }
|