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; /** *

* *

* * @author 吴涛涛 * @since 2019-07-31 */ @TableName("tb_project_user") public class ProjectUser extends Model { 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 + "}"; } }