51 lines
937 B
Java
51 lines
937 B
Java
package com.cdzy.activity.model;
|
|
|
|
import com.mybatisflex.annotation.Id;
|
|
import com.mybatisflex.annotation.KeyType;
|
|
import com.mybatisflex.annotation.Table;
|
|
import java.io.Serializable;
|
|
|
|
import java.io.Serial;
|
|
|
|
import com.mybatisflex.core.keygen.KeyGenerators;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
/**
|
|
* 实体类。
|
|
*
|
|
* @author attiya
|
|
* @since 2025-09-18
|
|
*/
|
|
@Data
|
|
@Builder
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
@Table("bulletin")
|
|
public class Bulletin implements Serializable {
|
|
|
|
@Serial
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Id(keyType = KeyType.Generator, value = KeyGenerators.snowFlakeId)
|
|
private Long bulletinId;
|
|
|
|
/**
|
|
* 公告标题
|
|
*/
|
|
private String bulletinTitle;
|
|
|
|
/**
|
|
* 封面
|
|
*/
|
|
private String bulletinCover;
|
|
|
|
/**
|
|
* 内容
|
|
*/
|
|
private String bulletinDescription;
|
|
|
|
}
|