package com.eleadmin.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 链接
 *
 * @author gxwebsoft.com
 * @since 2020-03-14 11:29:04
 */
@Data
@ApiModel(description = "链接")
@TableName("oa_link")
public class Link implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Integer linkId;

    @ApiModelProperty(value = "链接名称")
    private String linkName;

    @ApiModelProperty(value = "链接地址")
    private String linkUrl;

    @ApiModelProperty(value = "下载地址")
    private String linkDown;

    @ApiModelProperty(value = "路由地址")
    private String linkPath;

    @ApiModelProperty(value = "路径路径")
    private String linkComponent;

    @ApiModelProperty(value = "链接类型")
    private String type;

    @ApiModelProperty(value = "链接类别")
    private String category;

    @ApiModelProperty(value = "链接图标")
    private String linkIcon;

    @ApiModelProperty(value = "访问账号")
    private String linkAccount;

    @ApiModelProperty(value = "访问密码")
    private String linkPassword;

    @ApiModelProperty(value = "点击次数")
    private Integer clicks;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "排序号")
    private Integer sortNumber;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

}
