package com.highdatas.srs.entity; import com.baomidou.mybatisplus.activerecord.Model; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; /** *

* *

* * @author kimi * @since 2020-01-18 */ @TableName("sys_role") public class SysRole extends Model { private static final long serialVersionUID = 1L; private String id; private String departid; private String code; private String name; public String getId() { return id; } public SysRole setId(String id) { this.id = id; return this; } public String getDepartid() { return departid; } public SysRole setDepartid(String departid) { this.departid = departid; return this; } public String getCode() { return code; } public SysRole setCode(String code) { this.code = code; return this; } public String getName() { return name; } public SysRole setName(String name) { this.name = name; return this; } @Override protected Serializable pkVal() { return this.id; } @Override public String toString() { return "SysRole{" + "id=" + id + ", departid=" + departid + ", code=" + code + ", name=" + name + "}"; } }