| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- package com.ctsi.SysRole.entity;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.ctsi.utils.LongtoStringSerialize;
- import com.fasterxml.jackson.databind.annotation.JsonSerialize;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import java.io.Serializable;
- import java.util.Date;
- /**
- * 角色表;
- * @author : machaoyi
- * @date : 2024-1-11
- */
- @ApiModel(value = "角色表",description = "")
- @TableName("sys_role")
- public class SysRole implements Serializable,Cloneable{
- /** 主键id */
- @ApiModelProperty(value = "主键id",notes = "")
- @TableId
- @JsonSerialize(using = LongtoStringSerialize.class)
- private Long id ;
- /** 创建人userid */
- @ApiModelProperty(value = "创建人userid",notes = "")
- private Long createdBy ;
- /** 创建时间 */
- @ApiModelProperty(value = "创建时间",notes = "")
- private Date createdTime ;
- /** 逻辑删除 */
- @ApiModelProperty(value = "逻辑删除",notes = "")
- private Integer delFlag ;
- /** 角色名称 */
- @ApiModelProperty(value = "角色名称",notes = "")
- private String roleName ;
- /** 主键id */
- public Long getId(){
- return this.id;
- }
- /** 主键id */
- public void setId(Long id){
- this.id=id;
- }
- /** 创建人userid */
- public Long getCreatedBy(){
- return this.createdBy;
- }
- /** 创建人userid */
- public void setCreatedBy(Long createdBy){
- this.createdBy=createdBy;
- }
- /** 创建时间 */
- public Date getCreatedTime(){
- return this.createdTime;
- }
- /** 创建时间 */
- public void setCreatedTime(Date createdTime){
- this.createdTime=createdTime;
- }
- /** 逻辑删除 */
- public Integer getDelFlag(){
- return this.delFlag;
- }
- /** 逻辑删除 */
- public void setDelFlag(Integer delFlag){
- this.delFlag=delFlag;
- }
- /** 角色名称 */
- public String getRoleName(){
- return this.roleName;
- }
- /** 角色名称 */
- public void setRoleName(String roleName){
- this.roleName=roleName;
- }
- }
|