@ -28,15 +28,10 @@ public class ArchivesDictionary extends BaseEntity implements Serializable {
@Column ( name = "category_id" )
private String categoryId ;
@ManyToOne
@ApiModelProperty ( value = "系统字典id" )
@Column ( name = "sys_dictionary_id" )
private String sysDictionaryId ;
/ / @OneToMany ( mappedBy = "" , cascade = { CascadeType . PERSIST , CascadeType . REMOVE } )
/ / private List < Category > category_id ;
/ / @OneToMany ( mappedBy = "archivesDictionary" , cascade = { CascadeType . PERSIST , CascadeType . REMOVE } )
/ / private List < Dictionary > sysDictionaryId ;
@JoinColumn ( name = "dictionary_config_id" )
private Dictionary dictionaryConfig ;
@ApiModelProperty ( value = "字段名称" )
@Column ( name = "field_name" )
@ -154,11 +149,11 @@ public class ArchivesDictionary extends BaseEntity implements Serializable {
if ( this = = o ) return true ;
if ( o = = null | | getClass ( ) ! = o . getClass ( ) ) return false ;
ArchivesDictionary that = ( ArchivesDictionary ) o ;
return Objects . equals ( id , that . id ) & & Objects . equals ( categoryId , that . categoryId ) & & Objects . equals ( sysDictionaryId , that . sysDictionaryId ) & & Objects . equals ( fieldName , that . fieldName ) & & Objects . equals ( fieldCnName , that . fieldCnName ) & & Objects . equals ( isDefaultValue , that . isDefaultValue ) & & Objects . equals ( isInputClass , that . isInputClass ) & & Objects . equals ( isDataType , that . isDataType ) & & Objects . equals ( isDataTypeDetails , that . isDataTypeDetails ) & & Objects . equals ( isColumnLength , that . isColumnLength ) & & Objects . equals ( isColumnType , that . isColumnType ) & & Objects . equals ( isSequence , that . isSequence ) & & Objects . equals ( isType , that . isType ) & & Objects . equals ( isSystem , that . isSystem ) & & Objects . equals ( isLine , that . isLine ) & & Objects . equals ( isInput , that . isInput ) & & Objects . equals ( isRequired , that . isRequired ) & & Objects . equals ( isAutomatic , that . isAutomatic ) & & Objects . equals ( isAdd , that . isAdd ) & & Objects . equals ( isSearch , that . isSearch ) & & Objects . equals ( isInherit , that . isInherit ) & & Objects . equals ( isFilling , that . isFilling ) & & Objects . equals ( fillingDigit , that . fillingDigit ) & & Objects . equals ( isRepeat , that . isRepeat ) & & Objects . equals ( isDisplay , that . isDisplay ) & & Objects . equals ( displayOrder , that . displayOrder ) & & Objects . equals ( isDisplayformat , that . isDisplayformat ) & & Objects . equals ( displayformatType , that . displayformatType ) & & Objects . equals ( editLength , that . editLength ) & & Objects . equals ( displayLength , that . displayLength ) ;
return Objects . equals ( id , that . id ) & & Objects . equals ( categoryId , that . categoryId ) & & Objects . equals ( dictionaryConfig , that . dictionaryConfig ) & & Objects . equals ( fieldName , that . fieldName ) & & Objects . equals ( fieldCnName , that . fieldCnName ) & & Objects . equals ( isDefaultValue , that . isDefaultValue ) & & Objects . equals ( isInputClass , that . isInputClass ) & & Objects . equals ( isDataType , that . isDataType ) & & Objects . equals ( isDataTypeDetails , that . isDataTypeDetails ) & & Objects . equals ( isColumnLength , that . isColumnLength ) & & Objects . equals ( isColumnType , that . isColumnType ) & & Objects . equals ( isSequence , that . isSequence ) & & Objects . equals ( isType , that . isType ) & & Objects . equals ( isSystem , that . isSystem ) & & Objects . equals ( isLine , that . isLine ) & & Objects . equals ( isInput , that . isInput ) & & Objects . equals ( isRequired , that . isRequired ) & & Objects . equals ( isAutomatic , that . isAutomatic ) & & Objects . equals ( isAdd , that . isAdd ) & & Objects . equals ( isSearch , that . isSearch ) & & Objects . equals ( isInherit , that . isInherit ) & & Objects . equals ( isFilling , that . isFilling ) & & Objects . equals ( fillingDigit , that . fillingDigit ) & & Objects . equals ( isRepeat , that . isRepeat ) & & Objects . equals ( isDisplay , that . isDisplay ) & & Objects . equals ( displayOrder , that . displayOrder ) & & Objects . equals ( isDisplayformat , that . isDisplayformat ) & & Objects . equals ( displayformatType , that . displayformatType ) & & Objects . equals ( editLength , that . editLength ) & & Objects . equals ( displayLength , that . displayLength ) ;
}
@Override
public int hashCode ( ) {
return Objects . hash ( id , categoryId , sysDictionaryId , fieldName , fieldCnName , isDefaultValue , isInputClass , isDataType , isDataTypeDetails , isColumnLength , isColumnType , isSequence , isType , isSystem , isLine , isInput , isRequired , isAutomatic , isAdd , isSearch , isInherit , isFilling , fillingDigit , isRepeat , isDisplay , displayOrder , isDisplayformat , displayformatType , editLength , displayLength ) ;
return Objects . hash ( id , categoryId , dictionaryConfig , fieldName , fieldCnName , isDefaultValue , isInputClass , isDataType , isDataTypeDetails , isColumnLength , isColumnType , isSequence , isType , isSystem , isLine , isInput , isRequired , isAutomatic , isAdd , isSearch , isInherit , isFilling , fillingDigit , isRepeat , isDisplay , displayOrder , isDisplayformat , displayformatType , editLength , displayLength ) ;
}
}