package com.ruoyi.projectManagement.pojo;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.time.LocalDateTime;
|
|
@Data
|
@TableName("project_management_roles")
|
@Schema(description = "")
|
public class Roles implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键ID
|
*/
|
@Schema(description = "主键ID")
|
private Long id;
|
/**
|
* 编号
|
*/
|
@Schema(description = "编号")
|
private String no;
|
/**
|
* 名称
|
*/
|
@Schema(description = "名称")
|
private String name;
|
/**
|
* 状态(1:启用, 0:禁用)
|
*/
|
@Schema(description = "状态(1:启用, 0:禁用)")
|
private Integer status;
|
|
@Schema(description = "创建时间")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@Schema(description = "创建用户")
|
@TableField(fill = FieldFill.INSERT)
|
private Integer createUser;
|
|
@Schema(description = "修改时间")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private LocalDateTime updateTime;
|
|
@Schema(description = "修改用户")
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Integer updateUser;
|
|
@TableField(fill = FieldFill.INSERT)
|
private Long deptId;
|
}
|