

package com.hdkj.lt.core.sys.model.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdkj.lt.base.model.entity.FhzgBaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel("用户角色对应表")
@TableName("SYS_USER_ROLE")
@Data
public class SysUserRole implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("用户编码")
    @TableField("USER_ID")
    private Long userId;
    @ApiModelProperty("授予的角色编码")
    @TableField("GRANTED_ROLE")
    private Long grantedRole;
    @ApiModelProperty("是否允许权限授权")
    @TableField("ADMIN_OPTION")
    private String adminOption;
    @ApiModelProperty("创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;
    @ApiModelProperty("最后一次修改时间")
    @TableField("LAST_TIME")
    private LocalDateTime lastTime;
    @ApiModelProperty("创建人")
    @TableField("CREATOR")
    private Long creator;
    @ApiModelProperty("最后一次修改人")
    @TableField("LAST_EDITOR")
    private Long lastEditor;
}
