package com.iailab.module.sms.dal.dataobject.demo; import com.baomidou.mybatisplus.annotation.KeySequence; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.iailab.framework.tenant.core.db.TenantBaseDO; import lombok.Data; import lombok.EqualsAndHashCode; /** * 演示表 * * @author Houzhongjian * @Description * @createTime 2024å¹´09月05æ—¥ */ @TableName("demo") @KeySequence("demo_seq") // 用于 Oracleã€PostgreSQLã€Kingbaseã€DB2ã€H2 æ•°æ®åº“的主键自增。如果是 MySQL ç‰æ•°æ®åº“,å¯ä¸å†™ã€‚ @Data @EqualsAndHashCode(callSuper = true) public class DemoDO extends TenantBaseDO { public static final Long PARENT_ID_ROOT = 0L; /** * ID */ @TableId private Long id; /** * ç¼–å· */ private String code; /** * å称 */ private String name; /** * å›¾æ ‡ */ private String icon; /** * æŽ’åº */ private Integer orderNum; /** * çŠ¶æ€ */ private Integer status; /** * 备注 */ private String remark; }