SysUser.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. package com.ctsi.user.entity;
  2. import com.baomidou.mybatisplus.annotation.TableLogic;
  3. import io.swagger.annotations.ApiModel;
  4. import io.swagger.annotations.ApiModelProperty;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import com.baomidou.mybatisplus.annotation.TableId;
  7. import java.io.Serializable;
  8. /**
  9. * 用户表;
  10. * @author : machaoyi
  11. * @date : 2024-1-10
  12. */
  13. @ApiModel(value = "用户表",description = "")
  14. @TableName("sys_user")
  15. public class SysUser implements Serializable,Cloneable{
  16. /** 主键id */
  17. @ApiModelProperty(value = "主键id",notes = "")
  18. @TableId
  19. private Long id ;
  20. /** 用户名 */
  21. @ApiModelProperty(value = "用户名",notes = "")
  22. private String userName ;
  23. /** 密码 */
  24. @ApiModelProperty(value = "密码",notes = "")
  25. private String password ;
  26. /** 逻辑删除 */
  27. @ApiModelProperty(value = "逻辑删除",notes = "")
  28. @TableLogic
  29. private Integer delFlag ;
  30. /** 主键id */
  31. public Long getId(){
  32. return this.id;
  33. }
  34. /** 主键id */
  35. public void setId(Long id){
  36. this.id=id;
  37. }
  38. /** 用户名 */
  39. public String getUserName(){
  40. return this.userName;
  41. }
  42. /** 用户名 */
  43. public void setUserName(String userName){
  44. this.userName=userName;
  45. }
  46. /** 密码 */
  47. public String getPassword(){
  48. return this.password;
  49. }
  50. /** 密码 */
  51. public void setPassword(String password){
  52. this.password=password;
  53. }
  54. /** 逻辑删除 */
  55. public Integer getDelFlag(){
  56. return this.delFlag;
  57. }
  58. /** 逻辑删除 */
  59. public void setDelFlag(Integer delFlag){
  60. this.delFlag=delFlag;
  61. }
  62. }