All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.shaneking.sql.entity.SKZoneAdtEntity Maven / Gradle / Ivy

There is a newer version: 0.15.1
Show newest version
package org.shaneking.sql.entity;

import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.shaneking.skava.util.Date0;

import javax.persistence.Column;
import javax.persistence.Transient;

/**
 * Just reference
 */
@Accessors(chain = true)
@ToString
public abstract class SKZoneAdtEntity extends SKIdAdtEntity {
  @Transient
  public static final String FIELD__MOD_ZONE = "modZone";
  /**
   * @see org.shaneking.skava.util.Date0#XXX
   */
  @Column(length = 10, columnDefinition = "COMMENT 'The last modification time zone of record'")
  @Getter
  @Setter
  private String modZone;

  public SKZoneAdtEntity initWithUserId(@NonNull String userId) {
    super.initWithUserId(userId);
    return this.setModZone(Date0.on().zone());
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy