hejianhao
2026-09-01 4b4d225c0f8456b8918dc79eec2e093485746d0f
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
41
42
43
44
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;
}
    /** 代理ID。 */
    /** 行政区域编码。 */
    /** 行政区域名称。 */
    /** 行政区域层级。 */
    /** 创建时间。 */