|
|
@@ -0,0 +1,84 @@ |
|
|
|
package com.ningdatech.pmapi.user.entity; |
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableId; |
|
|
|
import com.baomidou.mybatisplus.annotation.TableName; |
|
|
|
import java.io.Serializable; |
|
|
|
import java.time.LocalDateTime; |
|
|
|
import io.swagger.annotations.ApiModel; |
|
|
|
import io.swagger.annotations.ApiModelProperty; |
|
|
|
|
|
|
|
/** |
|
|
|
* <p> |
|
|
|
* 角色表 |
|
|
|
* </p> |
|
|
|
* |
|
|
|
* @author Liuxinxin |
|
|
|
* @since 2023-01-05 |
|
|
|
*/ |
|
|
|
@TableName("nd_role_info") |
|
|
|
@ApiModel(value = "RoleInfo对象", description = "角色表") |
|
|
|
public class RoleInfo implements Serializable { |
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L; |
|
|
|
|
|
|
|
@TableId(value = "id", type = IdType.AUTO) |
|
|
|
private Long id; |
|
|
|
|
|
|
|
@ApiModelProperty("角色名称") |
|
|
|
private String name; |
|
|
|
|
|
|
|
@ApiModelProperty("备注") |
|
|
|
private String description; |
|
|
|
|
|
|
|
private LocalDateTime createOn; |
|
|
|
|
|
|
|
private LocalDateTime updateOn; |
|
|
|
|
|
|
|
public Long getId() { |
|
|
|
return id; |
|
|
|
} |
|
|
|
|
|
|
|
public void setId(Long id) { |
|
|
|
this.id = id; |
|
|
|
} |
|
|
|
public String getName() { |
|
|
|
return name; |
|
|
|
} |
|
|
|
|
|
|
|
public void setName(String name) { |
|
|
|
this.name = name; |
|
|
|
} |
|
|
|
public String getDescription() { |
|
|
|
return description; |
|
|
|
} |
|
|
|
|
|
|
|
public void setDescription(String description) { |
|
|
|
this.description = description; |
|
|
|
} |
|
|
|
public LocalDateTime getCreateOn() { |
|
|
|
return createOn; |
|
|
|
} |
|
|
|
|
|
|
|
public void setCreateOn(LocalDateTime createOn) { |
|
|
|
this.createOn = createOn; |
|
|
|
} |
|
|
|
public LocalDateTime getUpdateOn() { |
|
|
|
return updateOn; |
|
|
|
} |
|
|
|
|
|
|
|
public void setUpdateOn(LocalDateTime updateOn) { |
|
|
|
this.updateOn = updateOn; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public String toString() { |
|
|
|
return "RoleInfo{" + |
|
|
|
"id=" + id + |
|
|
|
", name=" + name + |
|
|
|
", description=" + description + |
|
|
|
", createOn=" + createOn + |
|
|
|
", updateOn=" + updateOn + |
|
|
|
"}"; |
|
|
|
} |
|
|
|
} |