package com.microservices.zone.member.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 置顶项目信息返回对象
 *
 * @author otto
 */
@Data
@ApiModel("置顶项目信息")
public class ZonePointsTopProjectVo {

    @ApiModelProperty("项目聚合主键")
    private Long id;

    @ApiModelProperty("专区ID")
    private Long zoneId;

    @ApiModelProperty("项目名称")
    private String name;

    @ApiModelProperty("gitlink项目完整路径")
    private String fullName;

    @ApiModelProperty("gitlink项目ID")
    private Long gitlinkProjectId;

    @ApiModelProperty("是否积分置顶（0代表不是 1代表是）")
    private String isPointsTop;

    @ApiModelProperty("置顶过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiryTime;
}
