12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- package com.flyer.foster.entity;
- import com.baomidou.mybatisplus.annotation.FieldFill;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableLogic;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.baomidou.mybatisplus.annotation.Version;
- import java.io.Serializable;
- import java.time.LocalDateTime;
- import lombok.Getter;
- import lombok.Setter;
- /**
- * <p>
- * 悄悄话
- * </p>
- *
- * @author flyer
- * @since 2024-05-09
- */
- @Getter
- @Setter
- @TableName("tb_whisper")
- public class Whisper implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * 主键
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 文案内容
- */
- private String content;
- /**
- * 状态-{0.不可用 1.可用}
- */
- private Integer status;
- /**
- * 租户号
- */
- private Integer tenantId;
- /**
- * 乐观锁
- */
- @Version
- private Integer version;
- /**
- * 是否删除
- */
- @TableLogic
- private Integer isDeleted;
- /**
- * 创建人
- */
- @TableField(fill = FieldFill.INSERT)
- private String createdBy;
- /**
- * 创建时间
- */
- @TableField(fill = FieldFill.INSERT)
- private LocalDateTime createdTime;
- /**
- * 更新人
- */
- @TableField(fill = FieldFill.UPDATE)
- private String updatedBy;
- /**
- * 更新时间
- */
- @TableField(fill = FieldFill.UPDATE)
- private LocalDateTime updatedTime;
- }
|