| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- package com.ctsi.SysUser.entity;
- import com.baomidou.mybatisplus.annotation.TableLogic;
- import com.ctsi.utils.LongtoStringSerialize;
- import com.fasterxml.jackson.databind.annotation.JsonSerialize;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.TableId;
- import java.io.Serializable;
- /**
- * 用户表;
- * @author : machaoyi
- * @date : 2024-1-10
- */
- @ApiModel(value = "用户表",description = "")
- @TableName("sys_user")
- public class SysUser implements Serializable,Cloneable{
- /** 主键id */
- @ApiModelProperty(value = "主键id",notes = "")
- @TableId
- @JsonSerialize(using = LongtoStringSerialize.class)
- private Long id ;
- /** 用户名 */
- @ApiModelProperty(value = "用户名",notes = "")
- private String userName ;
- /** 密码 */
- @ApiModelProperty(value = "密码",notes = "")
- private String password ;
- /** 逻辑删除 */
- @ApiModelProperty(value = "逻辑删除",notes = "")
- @TableLogic
- private Integer delFlag ;
- /** 主键id */
- public Long getId(){
- return this.id;
- }
- /** 主键id */
- public void setId(Long id){
- this.id=id;
- }
- /** 用户名 */
- public String getUserName(){
- return this.userName;
- }
- /** 用户名 */
- public void setUserName(String userName){
- this.userName=userName;
- }
- /** 密码 */
- public String getPassword(){
- return this.password;
- }
- /** 密码 */
- public void setPassword(String password){
- this.password=password;
- }
- /** 逻辑删除 */
- public Integer getDelFlag(){
- return this.delFlag;
- }
- /** 逻辑删除 */
- public void setDelFlag(Integer delFlag){
- this.delFlag=delFlag;
- }
- }
|