package com.yuchen.saas.manage.system.api.vo;

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

import javax.validation.constraints.NotNull;
import java.util.Date;

/**

 * @author miaoqs
 * @since 2023-09-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "NestBusinessOpenListVO", description = "NestBusinessOpenListVO")
public class NestBusinessOpenListVO extends NestBusinessListVO{

    /**
     * 开通id
     */
    @ApiModelProperty(name = "businessOpenId", value = "开通id")
    private Long businessOpenId;
    /**
     * 启动日期
     */
    @ApiModelProperty(name = "startDate", value = "启动日期")
    @NotNull(message = "启动日期不能为空")
    private Date startDate;
    /**
     * 有限日期
     */
    @ApiModelProperty(name = "expireDate", value = "有限日期")
    @NotNull(message = "有限日期不能为空")
    private Date expireDate;
}
