package com.ylx.project.domain.dto;

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

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("项目编辑DTO")
public class ProjectUpdateDTO extends ProjectAddDTO implements Serializable {
    private static final long serialVersionUID = -3968072909449484824L;

    @NotNull(message = "项目ID不能为空")
    @ApiModelProperty("id")
    private Long id;

}
