Notice.java 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the dreamlu.net developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: Chill 庄骞 (smallchill@163.com)
  16. */
  17. package org.springblade.modules.desk.entity;
  18. import com.baomidou.mybatisplus.annotation.TableName;
  19. import io.swagger.annotations.ApiModelProperty;
  20. import lombok.Data;
  21. import lombok.EqualsAndHashCode;
  22. import org.springblade.core.tenant.mp.TenantEntity;
  23. import java.util.Date;
  24. /**
  25. * 实体类
  26. *
  27. * @author Chill
  28. */
  29. @Data
  30. @EqualsAndHashCode(callSuper = true)
  31. @TableName("blade_notice")
  32. public class Notice extends TenantEntity {
  33. private static final long serialVersionUID = 1L;
  34. /**
  35. * 标题
  36. */
  37. @ApiModelProperty(value = "标题")
  38. private String title;
  39. /**
  40. * 通知类型
  41. */
  42. @ApiModelProperty(value = "通知类型")
  43. private Integer category;
  44. /**
  45. * 发布日期
  46. */
  47. @ApiModelProperty(value = "发布日期")
  48. private Date releaseTime;
  49. /**
  50. * 内容
  51. */
  52. @ApiModelProperty(value = "内容")
  53. private String content;
  54. }