Package org.openurp.base.model
Class AbstractBaseInfo
java.lang.Object
org.beangle.commons.entity.pojo.NumberIdObject<T>
- All Implemented Interfaces:
Serializable,Comparable<BaseInfo>,org.beangle.commons.entity.Entity<Integer>,BaseInfo
- Direct Known Subclasses:
Building,Campus,Department,Room
@MappedSuperclass
public abstract class AbstractBaseInfo
extends NumberIdTimeObject<Integer>
implements BaseInfo
基础信息基类
提供部门、校区、教学楼、教室等四个信息的公共部分,
一共7个属性,其中id为非业务主键,code为业务编码
提供部门、校区、教学楼、教室等四个信息的公共部分,
一共7个属性,其中id为非业务主键,code为业务编码
- See Also:
- Serialized Form
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Date生效时间protected String基础信息编码protected Date失效时间protected String基础信息英文名protected String基础信息名称protected String备注protected String基础信息简称Fields inherited from class org.openurp.base.model.NumberIdTimeObject
updatedAtFields inherited from class org.beangle.commons.entity.pojo.NumberIdObject
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint获得起始时间getCode()获得代码getEndOn()获得结束日期获得英文名getName()获得名称获得备注获得简称voidsetBeginOn(Date beginOn)设置起始日期void设置代码void设置结束日期void设置英文名void设置名称void设置备注voidsetShortName(String shortName)设置简称toString()Methods inherited from class org.openurp.base.model.NumberIdTimeObject
getUpdatedAt, setUpdatedAtMethods inherited from class org.beangle.commons.entity.pojo.NumberIdObject
equals, getId, hashCode, isPersisted, isTransient, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.openurp.base.model.BaseInfo
getUpdatedAt, setUpdatedAtMethods inherited from interface org.beangle.commons.entity.Entity
getId, isPersisted, isTransient, setId
-
Field Details
-
code
基础信息编码 -
name
基础信息名称 -
enName
基础信息英文名 -
shortName
基础信息简称 -
remark
备注 -
beginOn
生效时间 -
endOn
失效时间
-
-
Constructor Details
-
AbstractBaseInfo
public AbstractBaseInfo() -
AbstractBaseInfo
-
-
Method Details
-
getCode
Description copied from interface:BaseInfo获得代码 -
setCode
Description copied from interface:BaseInfo设置代码 -
getEnName
Description copied from interface:BaseInfo获得英文名 -
setEnName
Description copied from interface:BaseInfo设置英文名 -
getName
Description copied from interface:BaseInfo获得名称 -
setName
Description copied from interface:BaseInfo设置名称 -
getRemark
Description copied from interface:BaseInfo获得备注 -
setRemark
Description copied from interface:BaseInfo设置备注 -
getShortName
Description copied from interface:BaseInfo获得简称- Specified by:
getShortNamein interfaceBaseInfo- Returns:
- 简称
-
setShortName
Description copied from interface:BaseInfo设置简称- Specified by:
setShortNamein interfaceBaseInfo- Parameters:
shortName- 简称
-
getBeginOn
Description copied from interface:BaseInfo获得起始时间- Specified by:
getBeginOnin interfaceBaseInfo- Returns:
- 起始日期
-
setBeginOn
Description copied from interface:BaseInfo设置起始日期- Specified by:
setBeginOnin interfaceBaseInfo
-
getEndOn
Description copied from interface:BaseInfo获得结束日期 -
setEndOn
Description copied from interface:BaseInfo设置结束日期 -
compareTo
- Specified by:
compareToin interfaceComparable<BaseInfo>- See Also:
Comparable.compareTo(Object)
-
toString
- Overrides:
toStringin classObject- See Also:
Object.toString()
-