package com.hhh.cloud.framework.example.client.entity;

import java.time.LocalDate;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 3hhjs
 * @since 2020-12-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysClient implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 秘钥
     */
    private String clientKey;

    /**
     * 客户服务端IP地址
     */
    private String clientIp;

    /**
     * 客户服务端名称
     */
    private String clientName;

    /**
     * 客户服务端所有者
     */
    private String owner;

    /**
     * 用户码
     */
    private String secret;

    /**
     * 状态:1、可用；2、禁用
     */
    private String status;

    /**
     * 登记日期
     */
    private LocalDate createdDate;

    /**
     * 逻辑删除0：默认1：删除
     */
    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private String[] statusArr;
}
