package com.junmp.jyzb.api.bean.dto.printDto;

import lombok.Data;

@Data
public class LoginV2Dto {

    //用户id
    private String id;

    private String username;

    private Boolean enabled;

    private String password;

    private BaseJpOrganizationSmallDto baseJpOrganization;

    private String token;

    private BaseJpPoliceman policeman;

    @Data
    public static class BaseJpOrganizationSmallDto{
        //id
        private String id;
        private String name;
        private String code;
        private String findCode;
        //是否有采购权
        private String show;
        private String dName;
        //经度
        private String longitude;
        //维度
        private String latitude;
    }

    @Data
    public static class BaseJpPoliceman{
        private String id;
        private String policeCode;
        private String name;
    }

}
