package com.bohuikeji.delivery.backstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bohuikeji.frame.module.admin.annotation.TableNewField;
import com.bohuikeji.frame.module.admin.annotation.TableQueryField;
import com.bohuikeji.frame.module.admin.annotation.TableShowField;
import com.bohuikeji.frame.module.admin.base.EntityBase;
import com.bohuikeji.frame.module.admin.entity.web.block.SelectBlock;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 高德key表
 * </p>
 *
 * @author 10552
 * @since 2019-08-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="TGaodeKey对象", description="高德key")
@TableName("t_gaode_key")
public class TGaodeKey extends EntityBase<TGaodeKey> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value="keyId")
    @TableId(value = "key_id", type = IdType.AUTO)
    @TableShowField(value = "ID",id = true)
    @TableNewField(show = false)
    private Integer keyId;

    @ApiModelProperty(value = "应用名字")
    @TableField("key_name")
    @TableShowField("应用名字")
    @TableQueryField
    @TableNewField
    private String keyName;

    @ApiModelProperty(value = "web服务")
    @TableField("web_key")
    @TableShowField(value = "web服务",show = false)
    private String webKey;

    @ApiModelProperty(value = "安卓服务")
    @TableField("android_key")
    @TableShowField(value = "安卓服务",show = false)
    private String androidKey;

    @ApiModelProperty(value = "安卓服务")
    @TableField("kh_android_key")
    @TableShowField(value = "安卓服务",show = false)
    private String khAndroid_key;

    @ApiModelProperty(value = "微信key")
    @TableField("vx_key")
    @TableShowField(value = "微信key",show = false)
    private String vxKey;


    @ApiModelProperty(value = "账号")
    @TableField("account")
    @TableShowField(value = "账号",show = false)
    private String account;


    @ApiModelProperty(value = "密码")
    @TableField("pwd")
    @TableShowField("密码")
    @TableNewField(block = SelectBlock.class)
    @TableQueryField(show = false)
    private String pwd;


    @ApiModelProperty(value = "登陆人")
    @TableField("account_name")
    @TableShowField("登陆人")
    @TableNewField
    private String accountName;


}
