All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.javaclub.base.domain.SysRole Maven / Gradle / Ivy

/* Automatic generated by CrudCodeGenerator wirtten by Gerald Chen
 *
 * @(#)SysRole.java	 2023-09-06
 *
 * Copyright (c) 2023 - 2099. All Rights Reserved.
 *
 */

package com.github.javaclub.base.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * SysRole 实体类
 *
 * @version $Id: SysRole.java 2023-09-06 19:11:11 Exp $
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("s_sys_role")
@ApiModel(description = "角色")
public class SysRole implements Serializable {

	private static final long serialVersionUID = 1693998671713L;

	@ApiModelProperty(value = "主键ID")
	@TableId(type = IdType.AUTO)
	private Long id;

	@ApiModelProperty(value = "角色名称")
	private String roleName;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "创建者ID")
	private Long creatorId;

	@ApiModelProperty(value = "创建时间")
	private Date createdTime;

	@ApiModelProperty(value = "修改时间")
	@TableField(update = "now()")
	private Date modifiedTime;

	@TableField(exist = false)
	private List menuIdList;

	public SysRole() {
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy