package cn.datax.service.system.api.vo;

import cn.datax.common.dictionary.annotation.DictAop;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

@Data
public class RoleVo implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;
    @DictAop(code = "status")
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    private String roleName;
    private String roleCode;
    @DictAop(code = "dataScope")
    private Integer dataScope;
    private List<MenuVo> menus;
    private List<DeptVo> depts;
}
