| | |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.FieldStrategy; |
| | | import com.highdatas.mdm.pojo.Operate; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | |
| | | |
| | | private Boolean editble; |
| | | private transient Boolean refused; |
| | | private transient String menuName; |
| | | private transient String menuId; |
| | | |
| | | private transient Object number; |
| | | private transient AntianaphylaxisType desensitizationType; |
| | | private transient Object initialPosition; |
| | | private transient BlurryType initialDirection; |
| | | |
| | | |
| | | |
| | | |
| | | public AntianaphylaxisType getDesensitizationType() { |
| | | return desensitizationType; |
| | | } |
| | | |
| | | public void setDesensitizationType(AntianaphylaxisType desensitizationType) { |
| | | this.desensitizationType = desensitizationType; |
| | | } |
| | | |
| | | public Object getNumber() { |
| | | return number; |
| | | } |
| | | |
| | | public void setNumber(Object number) { |
| | | this.number = number; |
| | | } |
| | | |
| | | public Object getInitialPosition() { |
| | | return initialPosition; |
| | | } |
| | | |
| | | public void setInitialPosition(Object initialPosition) { |
| | | this.initialPosition = initialPosition; |
| | | } |
| | | |
| | | public BlurryType getInitialDirection() { |
| | | return initialDirection; |
| | | } |
| | | |
| | | public void setInitialDirection(BlurryType initialDirection) { |
| | | this.initialDirection = initialDirection; |
| | | } |
| | | |
| | | public String getMenuName() { |
| | | return menuName; |
| | | } |
| | | |
| | | public SysField setMenuName(String menuName) { |
| | | this.menuName = menuName; |
| | | return this; |
| | | } |
| | | |
| | | public String getMenuId() { |
| | | return menuId; |
| | | } |
| | | |
| | | public SysField setMenuId(String menuId) { |
| | | this.menuId = menuId; |
| | | return this; |
| | | } |
| | | |
| | | @TableField(strategy = FieldStrategy.IGNORED) |
| | | private Operate operate; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public int hashCode() { |
| | | int hash = 0; |
| | | if (!StringUtils.isEmpty(tableName)) { |
| | | hash += tableName.hashCode(); |
| | | } |
| | | if (!StringUtils.isEmpty(alias)) { |
| | | hash += alias.hashCode(); |
| | | } |
| | | if (visible == null) { |
| | | hash += visible.hashCode(); |
| | | } |
| | | if (orderNo == null) { |
| | | hash += orderNo.hashCode(); |
| | | } |
| | | if (!StringUtils.isEmpty(code)) { |
| | | hash += code.hashCode(); |
| | | }if (!StringUtils.isEmpty(align)) { |
| | | hash += align.hashCode(); |
| | | }if (!StringUtils.isEmpty(format)) { |
| | | hash += format.hashCode(); |
| | | } |
| | | return hash; |
| | | } |
| | | |
| | | @Override |
| | | public boolean equals(Object obj) { |
| | | return super.equals(obj); |
| | | // if (obj instanceof SysField) { |
| | | // SysField compare = (SysField) obj; |
| | | // return compare.getTableName().equalsIgnoreCase(tableName) |
| | | // && |
| | | // compare.getAlias().equalsIgnoreCase(alias) |
| | | // && |
| | | // compare.getVisible().equals(visible) |
| | | // && |
| | | // compare.getOrderNo().equals(orderNo) |
| | | // && |
| | | // compare.getCode().equalsIgnoreCase(code) |
| | | // && |
| | | // compare.getAlign().equalsIgnoreCase(align) |
| | | // && |
| | | // compare.getFormat().equalsIgnoreCase(format); |
| | | // } else { |
| | | // |
| | | // } |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "SysField{" + |
| | | "id=" + id + |