Avatar

class Avatar extends StringId with Updated
Companion
object
trait Updated
class StringId
trait StringIdEntity
trait Entity[String]
trait Serializable
class Object
trait Matchable
class Any

Value members

Constructors

def this(user: User)

Inherited methods

override def equals(other: Any): Boolean

比较id,如果任一方id是null,则不相等 由于业务对象被CGlib或者javassist增强的原因,这里只提供一般的基于id的比较,不提供基于Class的比较。<br> 如果在存在继承结构, 请重置equals方法。

比较id,如果任一方id是null,则不相等 由于业务对象被CGlib或者javassist增强的原因,这里只提供一般的基于id的比较,不提供基于Class的比较。<br> 如果在存在继承结构, 请重置equals方法。

Definition Classes
Entity -> Any
Inherited from
Entity
override def hashCode: Int
See also

java.lang.Object#hashCode()

Definition Classes
Entity -> Any
Inherited from
Entity
@Transient
def persisted: Boolean

Return true if persisted

Return true if persisted

Inherited from
Entity

Concrete fields

var fileName: String
var filePath: String
var user: User

Inherited fields

var id: String
Inherited from
StringId
var updatedAt: Instant

Updated At

Updated At

Inherited from
Updated