package com.yuchen.saas.park.api.dto.property;

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

import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2024/1/3 10:56
 * @Description 更新已读状态Dto
 */
@Data
@ApiModel(value = "PropertyEnterpriseRegisterUpdateDto对象", description = "更新已读状态Dto")
public class PropertyEnterpriseRegisterUpdateDto {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    @NotNull(message = "主键ID不能为空")
    private Long id;
    /**
     * 是否已读(1:未读 2:已读)
     */
    @ApiModelProperty(name = "status", value = "是否已读(1:未读 2:已读)")
    @NotNull(message = "状态不能为空")
    private Integer status;

}
