package com.gxwebsoft.cms.entity;

import cn.hutool.core.date.DateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 服务器时间
 *
 * @author 科技小王子
 * @since 2024-05-02 12:22:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "服务器时间", description = "服务器当前时间及日期")
public class ServerTimeVO implements Serializable {
  private static final long serialVersionUID = 1L;

  @ApiModelProperty(value = "今天日期")
  private String today;

  @ApiModelProperty(value = "今天是周几")
  private DateTime date;

  @ApiModelProperty(value = "当前时间(时)")
  private Integer hour;

  @ApiModelProperty(value = "当前时间(分)")
  private Integer minute;

  @ApiModelProperty(value = "当期时间(时分)")
  private String hourMinute;

  @ApiModelProperty(value = "是否已过时间")
  private Integer isAfter;

  @ApiModelProperty(value = "是否含有未支付订单")
  private Boolean hasNoPayOrder;

}
