You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
978 B
35 lines
978 B
package com.example.demo.domain.vo;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* @program: gold-java
|
|
* @ClassName RoleVo
|
|
* @description:
|
|
* @author: Double
|
|
* @create: 2025−07-15 11:45
|
|
* @Version 1.0
|
|
**/
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
public class RoleVo implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
private Integer id; // 角色id
|
|
private String roleName; // 角色名
|
|
private String roleKey; // 角色标识符
|
|
private Integer priority;//优先级
|
|
private String fatherId;//上级角色id
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
|
private Date createTime; // 创建时间
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
|
|
private Date updateTime; // 更新时间
|
|
}
|