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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

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

@Data
@ApiModel(value = "NestBusinessOpenManageAddBatchDTO", description = "NestBusinessOpenManageAddBatchDTO")
@Valid
public class NestBusinessOpenManageAddBatchDTO  {

    /**
     * 业务id
     */
    @NotNull(message = "业务id不能为空")
    @ApiModelProperty(name = "businessId", value = "业务id",required = true)
    private Long businessId;
    /**
     * 客户id
     */
    @NotNull(message = "客户id不能为空")
    @ApiModelProperty(name = "customerId", value = "客户id",required = true)
    private Long customerId;

    /**
     * 启动日期
     */
    @ApiModelProperty(name = "startDate", value = "启动日期")
    @NotNull(message = "启动日期不能为空")
    private Date startDate;
    /**
     * 有限日期
     */
    @ApiModelProperty(name = "expireDate", value = "有限日期")
    @NotNull(message = "有限日期不能为空")
    private Date expireDate;
    @NotNull(message = "功能点id不能为空")
    @ApiModelProperty(value = "功能点id集合",required = true)
    private List<Long> featureIdList;
}
