package com.dsh.other.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableLogic; import lombok.Getter; import lombok.Setter; import java.util.Date; /** 二维码短链接实体,对应表 t_qr_link。 */ @Getter @Setter @TableName("t_qr_link") public class QrLink { @TableId(type = IdType.ID_WORKER) private Long id; @TableField("shortCode") private String shortCode; private String type; @TableField("storeId") private Integer storeId; @TableField("siteId") private Integer siteId; @TableField("bookingId") private Integer bookingId; private String name; private String channel; @TableField("pageName") private String pageName; @TableField("expiresAt") private Date expiresAt; private Integer enabled; /** 逻辑删除标识:0-正常,1-删除。 */ @TableLogic @TableField("isDeleted") private Integer isDeleted; /** 创建时间。 */ @TableField("createTime") private Date createTime; @TableField("updateTime") private Date updateTime; }