/** * Creates a new {@link AbstractEntityInformation} from the given domain class. * * @param domainClass must not be {@literal null}. */ protected MybatisMetamodelEntityInformation(PersistentEntity<T, ?> persistentEntity, AuditorAware<?> auditorAware, AuditDateAware<?> auditDateAware, Class<T> domainClass) { super(persistentEntity, auditorAware, auditDateAware, domainClass); createdDateProperty = persistentEntity.getPersistentProperty(CreatedDate.class); lastModifiedDateProperty = persistentEntity.getPersistentProperty(LastModifiedDate.class); createdByProperty = persistentEntity.getPersistentProperty(CreatedBy.class); lastModifiedByProperty = persistentEntity.getPersistentProperty(LastModifiedBy.class); }
@LastModifiedBy public void setLastModifiedBy(final String lastModifiedBy) { if (isController()) { return; } this.lastModifiedBy = lastModifiedBy; }
@LastModifiedBy @Column(name = "UPDATED_BY", nullable = true) public String getUpdatedBy() { return updatedBy; }