package com.agileboot.system.post.dto;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @author valarchie
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UpdatePostDTO extends AddPostDTO {

    @NotNull(message = "岗位ID不能为空")
    @Positive
    private Long postId;

}
