package org.dromara.system.domain.dto.projectnews;

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

import java.io.Serial;
import java.io.Serializable;

/**
 * @author lilemy
 * @date 2025/4/28 11:53
 */
@Data
public class BusProjectNewsUpdateReq implements Serializable {

    @Serial
    private static final long serialVersionUID = -5988430319051945969L;

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空")
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 附件
     */
    private String file;

}
