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

com.zznote.basecommon.entity.system.TRoleDept Maven / Gradle / Ivy

The newest version!
package com.zznote.basecommon.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
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.NoArgsConstructor;

import java.io.Serializable;

/**
 * 角色和部门关联表
 * 
 * @author zhangzhen
 * @email [email protected]
 * @date 2022-04-12 17:04:17
 */
@Data
@NoArgsConstructor
@TableName("t_role_dept")
@ApiModel("角色和部门关联")
public class TRoleDept implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 角色ID
	 */
	@TableId(type = IdType.INPUT)
	@ApiModelProperty(value = "角色ID")
	private Long roleId;

	/**
	 * 部门ID
	 */
	@ApiModelProperty(value = "部门ID")
	private Long deptId;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy