package com.tcm.training.admin.agent.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; import java.time.LocalDateTime; @TableName("tcm_agent_region") @Getter @Setter @NoArgsConstructor public class AgentRegion { @TableId(type = IdType.AUTO) private Long id; @TableField("agent_id") private Long agentId; @TableField("region_code") private String regionCode; @TableField("region_name") private String regionName; @TableField("region_level") private Integer regionLevel; @TableField("created_at") private LocalDateTime createdAt; }