package cn.ey.biz.module.system.controller.admin.appuser.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.Date;

@ApiModel("管理后台 - 应用用户信息 Request VO")
@Data
public class AppUserPageRespVO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 客户端编码
     */
    private String clientId;
    /**
     * 应用编码
     */
    private String appId;
    /**
     * 密钥
     */
    private String appSecret;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Max(value = 1, message = "状态最大为1")
    @Min(value = 0, message = "状态最小为0")
    private Integer status;

    @Size(max = 100, message = "更新人员不能超过100个字符")
    private String updater;

    private String remark;

}
