This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
package com.yunhai.userbase.model;
|
||||
|
||||
import com.bestsch.openapi.UserSysRole;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
*功能描述 :操作人信息
|
||||
* @author chenx
|
||||
* @date 2026/1/5 13:31
|
||||
* @description
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
public class Operator {
|
||||
private Integer userId;
|
||||
private Integer schoolSid;
|
||||
private Integer roleId;
|
||||
private Date createTime=new Date();
|
||||
|
||||
public static Operator of(UserSysRole curRole){
|
||||
return new Operator(curRole.getUserId(),curRole.getSchId(),curRole.getRoleId(),new Date());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user