CZT
2023-11-27 c206acfaedc69c390fb67daa81bc686f58a212ef
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
package com.ld.igds.models;
 
import com.bstek.dorado.annotation.PropertyDef;
import com.ld.igds.constant.Constant;
import lombok.Data;
import javax.persistence.*;
import java.io.Serializable;
 
/**
 * 地区区域码
 *
 * @author
 */
@Data
@Entity
@Table(name = "D_DIC_AREA")
public class DicArea implements Serializable {
 
    /**
     *
     */
    private static final long serialVersionUID = 1L;
 
    @Id
    @Column(name = "CODE_", length = 20)
    @PropertyDef(label = "编号")
    private String code;
 
    @Column(name = "NAME_", length = 50)
    @PropertyDef(label = "名称")
    private String name;
 
    @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;
}