content: package org.ruoyi.system.domain.bo;
  
  import io.github.linpeilie.annotations.AutoMapper;
  import jakarta.validation.constraints.NotBlank;
  import jakarta.validation.constraints.NotNull;
  import lombok.Data;
  import lombok.EqualsAndHashCode;
  import org.ruoyi.common.core.validate.AddGroup;
  import org.ruoyi.common.core.validate.EditGroup;
  import org.ruoyi.core.domain.BaseEntity;
  import org.ruoyi.system.domain.SysNoticeState;
  
  /**
   * 用户阅读状态业务对象 sys_notice_state
   *
   * @author Lion Li
   * @date 2024-05-11
   */
  @Data
  @EqualsAndHashCode(callSuper = true)
  @AutoMapper(target = SysNoticeState.class, reverseConvertGenerate = false)
  public class SysNoticeStateBo extends BaseEntity {
  
      /**
       * ID
       */
      @NotNull(message = "ID不能为空", groups = { EditGroup.class })
      private Long id;
  
      /**
       * 用户ID
       */
      @NotNull(message = "用户ID不能为空", groups = { AddGroup.class, EditGroup.class })
      private Long userId;
  
      /**
       * 公告ID
       */
      @NotNull(message = "公告ID不能为空", groups = { AddGroup.class, EditGroup.class })
      private Long noticeId;
  
      /**
       * 阅读状态（0未读 1已读）
       */
      @NotBlank(message = "阅读状态（0未读 1已读）不能为空", groups = { AddGroup.class, EditGroup.class })
      private String readStatus;
  
      /**
       * 备注
       */
      @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
      private String remark;
  
  
  }
  