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

import cn.datax.common.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 = "sys_common_status")
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    private String remark;
    private String roleName;
    private String roleCode;
    @DictAop(code = "sys_data_scope")
    private String dataScope;
    private List<MenuVo> menus;
    private List<DeptVo> depts;
}
