package cn.com.origin.autocodemanager.common;

public interface AutoCodeManagerPropertyName {
	// Cd9_TreeAndListCodeNode
	public final static String TreeAndListCodeNode_isContainsChildren = "isContainsChildren" ;// 是否包含子节点
	public final static String TreeAndListCodeNode_uid = "uid" ;//  uid
	public final static String TreeAndListCodeNode_node_index = "cd9_node_index"; // Integer 节点序号
	public final static String TreeAndListCodeNode_node_type = "cd9_node_type";// String 节点名称
	public final static String TreeAndListCodeNode_node_name = "cd9_node_name";// String 节点名称
	public final static String TreeAndListCodeNode_node_value = "cd9_node_value"; // String 节点值
	public final static String TreeAndListCodeNode_node_desc = "cd9_node_desc"; // String 节点描述
	public final static String TreeAndListCodeNode_code_style = "cd9_code_style"; // String 编码格式
	public final static String TreeAndListCodeNode_code_length = "cd9_code_length"; // int 编码长度
	public final static String TreeAndListCodeNode_is_root = "cd9_is_root";// boolean 是否是根节点
	public final static String TreeAndListCodeNode_rule_node = "cd9_rule_node";// boolean 是否是根节点
	public final static String TreeAndListCodeNode_reference_nodes = "cd9_reference_nodes"; // 引用的节点

	public final static String TreeAndListCodeNode_is_lock = "cd9_is_lock";// boolean 是否锁定
	public final static String TreeAndListCodeNode_create_date = "cd9_create_date";// Date 创建日期
	public final static String TreeAndListCodeNode_last_revise_date = "cd9_last_revise_date";// Date 最后修改日期
	public final static String TreeAndListCodeNode_create_user = "cd9_create_user";// TypeReference 创建者
	public final static String TreeAndListCodeNode_last_revise_user = "cd9_last_revise_user";// TypeReference 最后修改者

	public final static String TreeAndListCodeNode_seq_begin_value = "cd9_seq_begin_value"; // Integer 流水码初始值
	public final static String TreeAndListCodeNode_seq_max_value = "cd9_seq_max_value"; // Integer 流水码最大值
	public final static String TreeAndListCodeNode_seq_length = "cd9_seq_length"; // Integer 流水码长度
	public final static String TreeAndListCodeNode_isDefaultSelected = "cd9_isDefaultSelected"; // boolean 是否为默认选中（针对列表）

	String[] searchTreeAndListCodeNodePropNames  = { 
			AutoCodeManagerPropertyName.TreeAndListCodeNode_node_name,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_node_type,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_node_value, 
			AutoCodeManagerPropertyName.TreeAndListCodeNode_node_desc,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_code_style,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_rule_node,
			
			AutoCodeManagerPropertyName.TreeAndListCodeNode_is_root, 
			AutoCodeManagerPropertyName.TreeAndListCodeNode_is_lock,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_isDefaultSelected,
			
			AutoCodeManagerPropertyName.TreeAndListCodeNode_create_date,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_last_revise_date,
			
			AutoCodeManagerPropertyName.TreeAndListCodeNode_create_user, 
			AutoCodeManagerPropertyName.TreeAndListCodeNode_last_revise_user,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_isContainsChildren
	 };
	
	String[] searchSegmentPropNames  = { 
			AutoCodeManagerPropertyName.TreeAndListCodeNode_node_name,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_node_type,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_is_root, 
			AutoCodeManagerPropertyName.TreeAndListCodeNode_is_lock,
			AutoCodeManagerPropertyName.TreeAndListCodeNode_isContainsChildren
	 };
	
	// Cd9_CodeRelation
	public final static String CodeRelation_parent_node = "cd9_parent_nodes"; // TypeReference 父节点
	public final static String CodeRelation_current_node = "cd9_current_node"; // TypeReference 当前节点
	public final static String CodeRelation_children_nodes = "cd9_children_nodes"; // TypeReference 子节点

	public final static String CodeRelation_create_date = "cd9_create_date";// Date 创建日期
	public final static String CodeRelation_create_user = "cd9_create_user";// TypeReference 创建者

	// Cd9_ClassificationCodeNode
	public final static String ClassificationCodeNode_node_index = "cd9_node_index"; // Integer 节点序号
	public final static String ClassificationCodeNode_node_name = "cd9_node_name";// String 节点名称
	public final static String ClassificationCodeNode_segment = "cd9_segment";// String 所含码段
	public final static String ClassificationCodeNode_create_date = "cd9_create_date";// Date 创建日期
	public final static String ClassificationCodeNode_last_revise_date = "cd9_last_revise_date";// Date 最后修改日期
	public final static String ClassificationCodeNode_create_user = "cd9_create_user";// TypeReference 创建者
	public final static String ClassificationCodeNode_last_revise_user = "cd9_last_revise_user";// TypeReference 最后修改者
	public final static String ClassificationCodeNode_grant_users = "cd9_grant_users";// TypeReference 授权用户
	public final static String ClassificationCodeNode_grant_roles = "cd9_grant_roles";// TypeReference 授权角色
	public final static String ClassificationCodeNode_grant_groups = "cd9_grant_groups";// TypeReference 授权组

	// type
	public final static String ItemName = "item";
	public final static String RootNodeName = "root";
	public final static String TreeName = "tree";
	public final static String ListName = "list";
	public final static String CodeGroupName = "codeGroup";
	public final static String TreeNodeName = "treeNode";
	public final static String ListPropertyNodeName = "listPropertyNode";
	public final static String ListPropertyValueNodeName = "listPropertyValueNode";
	
	public final static String ComponentName = "component";
	public final static String OrganizationName = "organization";
	public final static String SegmentName = "segment";
	public final static String GroupName = "group";
	public final static String RoleName = "role";
	public final static String UserName = "user";
	public final static String LockName = "lock";
	public final static String AddChildrenTreeNodeName = "AddChildrenTreeNode";
	public final static String AddTreeNodeName = "AddTreeNode";
	public final static String AddRuleRootNodeName = "AddRuleRootNode";
	public final static String AddRuleGroupNodeName = "AddRuleGroupNode";

	// Item
	public final static String Item_Desc = "object_desc";
	public final static String Item_generateID = "cd9_generateID";
	public final static String Item_codeDesc = "cd9_codeDesc";
	public final static String Item_isLock = "cd9_isLock";
	public final static String Item_codePattern = "cd9_codePattern";
	public final static String Item_codeRuleName = "cd9_codeRuleName";
	public final static String Item_codeID = "cd9_codeID";
	public final static String Item_codeStyle = "cd9_codeStyle";
	public final static String Item_uom_tag = "uom_tag";

	
	
	// Item Revision
	public final static String ItemRevision_isLock = "cd9_isLock";

	// codeStyle
	public final static String Code_seq = "[L]";
	public final static String Code_pattern = "[T]";
	public final static String Code_year2 = "[YY]";
	public final static String Code_year4 = "[YYYY]";
	public final static String Code_mouth2 = "[MM]";
	public final static String Code_mouth1 = "[M]";
	public final static String Code_date2 = "[DD]";
	public final static String Code_date1 = "[D]";

	// Cd9_CodeCounter
	public final static String CodeCounter_index = "cd9_index";
	public final static String CodeCounter_name = "cd9_name";
	public final static String CodeCounter_recycleID = "cd9_recycleID";
	public final static String CodeCounter_isUsed = "cd9_isUsed";
	public final static String CodeCounter_createDate = "cd9_createDate";
	public final static String CodeCounter_createUser = "cd9_createUser";
	public final static String CodeCounter_last_revise_date = "cd9_last_revise_date";// Date 最后修改日期
	public final static String CodeCounter_last_revise_user = "cd9_last_revise_user";

	// Cd9_CodeNextID
	public final static String Counter_name = "cd9_name";
	public final static String Counter_nextID = "cd9_nextID";

	// 有关导入导出
	public final static String CodeClassfication = "CodeClassfication";
	public final static String CodeTree = "CodeTree";
	public final static String CodeListName = "CodeListName";
	public final static String CodeListValue = "CodeListValue";

//	public final static String[] TreeAndListCodeNode_Titles = { "层号", "类型", "名称", "码值", "备注", "编码样式", "编码长度", "流水码初始值", "流水码最大值", "是否为根节点", "是否锁定", "创建日期", "最后修改日期", "创建者", "最后修改者" };
	
	 public final static String[] TreeAndListCodeNode_Titles = { "层号", "类型", "名称", "码值", "备注", "是否为默认值", "编码样式", "编码长度", "流水码初始值", "流水码最大值", "是否为根节点", "是否锁定", "创建日期", "最后修改日期", "创建者", "最后修改者" };
	public final static String[] ClassificationCodeNode_Titles = { "层号", "类型", "名称", "码值", "备注", "编码格式", "是否为根节点", "是否锁定", "创建日期", "最后修改日期", "创建者", "最后修改者" };
	public final static String[] CodeSequence_Titles = { "层号", "名称", "初始值", "最大值", "长度", "步长", "不包含数字", "是否锁定", "创建日期", "最后修改日期", "创建者", "最后修改者" };

}
