/*
 * ********************************************************************************************************************
 *
 *                      :*$@@%$*:                         ;:                ;;    ;;
 *                    :@@%!  :!@@%:                       %!             ;%%@@%$ =@@@@@@@%;     @%@@@%%%%@@@@@
 *                   :@%;       :$=                       %%$$$%$$         ;$$  ;$@=   !@$
 *                   =@!                                  %!              @ $=;%   !@@@%:      !$$$$$$$$$$$$$$=
 *                   =@*                                  %!              @ $= % %@=   =%@!      %=
 *              *$%%! @@=        ;=$%%%$*:                %!              @ $= % =%%%%%%@$      *%:         =%
 *            %@@!:    !@@@%=$@@@@%!  :*@@$:              %!              @ $= % $*     ;@      @*          :%*
 *          ;@@!          ;!!!;:         ;@%:      =======@%========*     @ $$ % $%*****$@     :@$=*********=@$
 *          $@*   ;@@@%=!:                *@*
 *          =@$    ;;;!=%@@@@=!           =@!
 *           %@$:      =@%: :*@@@*       %@=                    Copyright (c) 2016-2019.  北京上格云技术有限公司
 *            ;%@@$=$@@%*       *@@@$=%@@%;
 *               ::;::             ::;::                                              All rights reserved.
 *
 * ********************************************************************************************************************
 */

package com.persagy.server.models.responses

import com.fasterxml.jackson.annotation.JsonProperty
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

/**
 * token审核应答
 *
 * @author  庞利祥(sybotan@126.com)
 */
@ApiModel(description = "token审核应答")
class TokenCheckResponse : BaseResponse("success"){
    /** id */
    @ApiModelProperty(value = "id", required = true)
    var id: String? = null

    /** 用户名 */
    @ApiModelProperty(value = "用户名", required = true)
    @JsonProperty(value = "username")
    var userName: String? = null

    /** 密码 */
    @ApiModelProperty(value = "密码", required = true)
    var password: String? = null

    /** 真实姓名 */
    @ApiModelProperty(value = "真实姓名")
    @JsonProperty(value = "realname")
    var realName: String? = null

    /** 手机号码 */
    @ApiModelProperty(value = "手机号码，全局唯一")
    var phone: String? = null

    /** 邮箱 */
    @ApiModelProperty(value = "邮箱，全局唯一")
    var mail: String? = null

    /** 身份证号码 */
    @ApiModelProperty(value = "身份证号码，全局唯一")
    var certno: String? = null

    /** 项目ID列表 */
    @ApiModelProperty(value = "项目ID列表")
    var projects: ArrayList<String>? = null

    /** app列表 */
    @ApiModelProperty(value = "app列表")
    var apps: ArrayList<String>? = null
} // Class TokenCheckResponse
