hejianhao
2026-08-18 84c81837d6465ee3f768291ea1f2859e322bd1b4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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("agent_name")
    private String agentName;
 
    @TableField("region_level")
    private Integer regionLevel;
 
    @TableField("created_at")
    private LocalDateTime createdAt;
}