Photo.smali

.class public Lme/iwf/photopicker/entity/Photo;
.super Ljava/lang/Object;
.source "Photo.java"


# instance fields
.field private id:I

.field private path:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .registers 1

    .line 4
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public constructor <init>(ILjava/lang/String;)V
    .registers 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput p1, p0, Lme/iwf/photopicker/entity/Photo;->id:I

    .line 3
    iput-object p2, p0, Lme/iwf/photopicker/entity/Photo;->path:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public equals(Ljava/lang/Object;)Z
    .registers 5

    const/4 v0, 0x1

    if-ne p0, p1, :cond_4

    return v0

    .line 1
    :cond_4
    instance-of v1, p1, Lme/iwf/photopicker/entity/Photo;

    const/4 v2, 0x0

    if-nez v1, :cond_a

    return v2

    .line 2
    :cond_a
    check-cast p1, Lme/iwf/photopicker/entity/Photo;

    .line 3
    iget v1, p0, Lme/iwf/photopicker/entity/Photo;->id:I

    iget p1, p1, Lme/iwf/photopicker/entity/Photo;->id:I

    if-ne v1, p1, :cond_13

    goto :goto_14

    :cond_13
    const/4 v0, 0x0

    :goto_14
    return v0
.end method

.method public getId()I
    .registers 2

    .line 1
    iget v0, p0, Lme/iwf/photopicker/entity/Photo;->id:I

    return v0
.end method

.method public getPath()Ljava/lang/String;
    .registers 2

    .line 1
    iget-object v0, p0, Lme/iwf/photopicker/entity/Photo;->path:Ljava/lang/String;

    return-object v0
.end method

.method public hashCode()I
    .registers 2

    .line 1
    iget v0, p0, Lme/iwf/photopicker/entity/Photo;->id:I

    return v0
.end method

.method public setId(I)V
    .registers 2

    .line 1
    iput p1, p0, Lme/iwf/photopicker/entity/Photo;->id:I

    return-void
.end method

.method public setPath(Ljava/lang/String;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lme/iwf/photopicker/entity/Photo;->path:Ljava/lang/String;

    return-void
.end method