package com.gxwebsoft.oa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 代码仓库
 *
 * @author 科技小王子
 * @since 2024-10-18 18:27:01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OaAssetsCode对象", description = "代码仓库")
public class OaAssetsCode implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "服务器ID")
    private Integer assetsId;

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

    @ApiModelProperty(value = "英文标识")
    private String code;

    @ApiModelProperty(value = "仓库地址")
    private String gitUrl;

    @ApiModelProperty(value = "仓库品牌")
    private String brand;

    @ApiModelProperty(value = "置顶状态")
    private String isTop;

    @ApiModelProperty(value = "详情内容")
    private String content;

    @ApiModelProperty(value = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @ApiModelProperty(value = "描述")
    private String comments;

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "可见用户")
    private String userIds;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    private String status;

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

    @ApiModelProperty(value = "租户id")
    private Integer tenantId;

    @ApiModelProperty(value = "应用名称")
    @TableField(exist = false)
    private String tenantName;

    @ApiModelProperty(value = "应用图标")
    @TableField(exist = false)
    private String logo;

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

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

}
