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

com.zznote.basecommon.entity.system.TUserPost 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
@ApiModel("用户和岗位关联")
@TableName("t_user_post")
public class TUserPost implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 用户ID
	 */
	@TableId(type = IdType.INPUT)
	@ApiModelProperty(value = "用户ID")
	private Long userId;

	/**
	 * 岗位ID
	 */
	@ApiModelProperty(value = "岗位ID")
	private Long postId;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy