package com.bonus.material.purchase.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : 阮世耀
 * @version : 1.0
 * @PackagePath: com.bonus.material.purchase.dto
 * @CreateTime: 2024-10-21  14:37
 * @Description: 新购验收任务通知人员Dto
 */
@Data
@ToString
public class PurchaseNoticePersonDto {

    /**
     * 是否配件验收，0 是
     */
    private Integer isPartFlag;

    /**
     * 电话号码
     */
    @NotEmpty(message = "电话号码不能为空")
    @ApiModelProperty(value = "电话号码")
    private List<String> phoneNumbers;

    /**
     * 短信内容
     */
    @NotNull(message = "短信内容不能为空")
    @ApiModelProperty(value = "短信内容")
    private String content;

    /**
     * 任务id
     */
    @NotNull(message = "任务id不能为空")
    @ApiModelProperty(value = "任务id")
    private Long taskId;
}
