java.lang.Object
io.github.xezzon.zeroweb.dict.domain.Dict
All Implemented Interfaces:
io.github.xezzon.tao.dict.IDict, io.github.xezzon.tao.tree.TreeNode<Dict,String>, io.github.xezzon.zeroweb.common.jpa.IEntity<String>, II18nMessage

@Entity public class Dict extends Object implements io.github.xezzon.zeroweb.common.jpa.IEntity<String>, io.github.xezzon.tao.dict.IDict, io.github.xezzon.tao.tree.TreeNode<Dict,String>, II18nMessage
字典 字典是一组提供给用户选择的值。
Author:
xezzon
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    int
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.github.xezzon.tao.dict.IDict

    getCode, getLabel, getTag

    Methods inherited from interface io.github.xezzon.zeroweb.common.jpa.IEntity

    getId

    Methods inherited from interface io.github.xezzon.zeroweb.locale.event.II18nMessage

    eq

    Methods inherited from interface io.github.xezzon.tao.tree.TreeNode

    getChildren, getId, getParentId, isLeaf, setChildren
  • Field Details

  • Constructor Details

    • Dict

      public Dict()
  • Method Details

    • getOrdinal

      public int getOrdinal()
      Specified by:
      getOrdinal in interface io.github.xezzon.tao.dict.IDict
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface II18nMessage
      Returns:
      命名空间
    • getMessageKey

      public String getMessageKey()
      Specified by:
      getMessageKey in interface II18nMessage
      Returns:
      国际化内容