package com.casic.missiles.model.system;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("sys_user")
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @TableField("dept_id")
    @ApiModelProperty(value = "部门id", dataType = "String")
    private String deptId;

    @TableField(exist = false)
    @ApiModelProperty(value = "部门名称", dataType = "String")
    private String deptName;

    @TableField("name")
    @ApiModelProperty(value = "姓名", dataType = "String")
    private String name;

    @TableField("account")
    @ApiModelProperty(value = "账户", dataType = "String")
    private String account;

}
