init: UserBaseService (backend + deploy + scripts)
ci-userbase-service / build-and-push (push) Successful in 40s

This commit is contained in:
chenxing
2026-08-10 14:50:22 +08:00
commit 4ec19486e0
234 changed files with 15604 additions and 0 deletions
@@ -0,0 +1,29 @@
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());
}
}