package com.kioor.modules.mp.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.kioor.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 公众号账号管理
*
* @author Mark sunlightcs@gmail.com
*/
@Data
@ApiModel(value = "公众号账号管理")
public class MpAccountDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "AppID")
    private String appId;

    @ApiModelProperty(value = "AppSecret")
    private String appSecret;

    @ApiModelProperty(value = "Token")
    private String token;

    @ApiModelProperty(value = "EncodingAESKey")
    private String aesKey;

    @ApiModelProperty(value = "创建者")
    private Long creator;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;
}