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;
|
}
|