czt
2025-06-09 13b6ad41f0b057f8405f7976a990e9057547443a
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
45
46
47
48
49
50
51
52
53
package com.fzzy.igds.dzhwk.domain;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.fzzy.igds.dzhwk.constant.Constant;
import lombok.Data;
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
 
/**
 * 地区区域码
 *
 * @author
 */
@Data
@Entity
@Table(name = "D_DIC_AREA")
public class DicArea implements Serializable {
 
    public static String SORT_PROP = "code";
 
    @Id
    @Column(name = "CODE_", length = 20)
    @PropertyDef(label = "编号")
    private String code;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "名称")
    private String name;
 
    @Column(name = "PARENT_CODE_", length = 20)
    @PropertyDef(label = "父编号", description = "省级默认为0")
    private String parentCode;
 
    @Column(name = "TYPE_", length = 50)
    @PropertyDef(label = "类型", description = "1-省;2-市;3-区县")
    private String type;
 
    @PropertyDef(label = "简拼")
    @Column(name = "SIMPLE_", length = 20)
    private String simple;
 
    @PropertyDef(label = "是否禁用")
    @Column(name = "DISABLED_TAG_", length = 1)
    private String disabledTag = Constant.YN_N;
 
    @Column(name = "REMARK_", length = 200)
    @PropertyDef(label = "备注信息")
    private String remark;
}