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

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

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

@Data
public class UserVo implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;
    private Integer status;
    private String username;
    private String password;
    private String nickname;
    private String email;
    private String phone;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate birthday;
    private List<DeptVo> depts;
    private List<PostVo> posts;
    private List<RoleVo> roles;
}
