SysUserRoleAddVO.java 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.ctsi.SysUserRole.entity;
  2. import com.baomidou.mybatisplus.annotation.TableName;
  3. import io.swagger.annotations.ApiModel;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import java.io.Serializable;
  6. import java.util.List;
  7. /**
  8. * 用户角色表;
  9. * @author : machaoyi
  10. * @date : 2024-1-11
  11. */
  12. @ApiModel(value = "用户角色表新增VO",description = "")
  13. @TableName("sys_user_role")
  14. public class SysUserRoleAddVO implements Serializable,Cloneable{
  15. /** 用户id */
  16. @ApiModelProperty(value = "用户id",notes = "")
  17. private Long userId ;
  18. /** 角色id */
  19. @ApiModelProperty(value = "角色id",notes = "")
  20. private List<Long> roleId ;
  21. /** 用户id */
  22. public Long getUserId(){
  23. return this.userId;
  24. }
  25. /** 用户id */
  26. public void setUserId(Long userId){
  27. this.userId=userId;
  28. }
  29. public List<Long> getRoleId() {
  30. return roleId;
  31. }
  32. public void setRoleId(List<Long> roleId) {
  33. this.roleId = roleId;
  34. }
  35. }