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