Menu

## PostCommentDetail extends Model
in package
uses SoftDeletes

PostCommentDetail.php : 28

Class PostCommentDetail

Model for managing like/unlike details on post comments.

##### Tags

mixin

### Table of Contents

#### Properties

$created_at : DateTime
$deleted_at : DateTime
$id : int
$like : int
$post_comment_id : int
$postComment : PostComment
$status : int
$unlike : int
$updated_at : DateTime
$user : User
$user_id : int
$dates : array<string|int, mixed>
  The attributes that should be mutated to dates.
$fillable : array<string|int, mixed>
  The attributes that are mass assignable.
$table : string
  The table associated with the model.

#### Methods

postComment() : BelongsTo
  Get the comment this detail belongs to.
user() : BelongsTo
  Get the user who liked/unliked this comment.

### Properties

#### $created_at

PostCommentDetail.php : 0
`public DateTime $created_at`

#### $deleted_at

PostCommentDetail.php : 0
`public DateTime $deleted_at`

#### $id

PostCommentDetail.php : 0
`public int $id`

#### $like

PostCommentDetail.php : 0
`public int $like`

#### $post_comment_id

PostCommentDetail.php : 0
`public int $post_comment_id`

#### $postComment read-only

PostCommentDetail.php : 0
`public PostComment $postComment`

#### $status

PostCommentDetail.php : 0
`public int $status`

#### $unlike

PostCommentDetail.php : 0
`public int $unlike`

#### $updated_at

PostCommentDetail.php : 0
`public DateTime $updated_at`

#### $user read-only

PostCommentDetail.php : 0
`public User $user`

#### $user_id

PostCommentDetail.php : 0
`public int $user_id`

#### $dates

PostCommentDetail.php : 55

The attributes that should be mutated to dates.

`protected array<string|int, mixed> $dates = ['deleted_at']`

#### $fillable

PostCommentDetail.php : 46

The attributes that are mass assignable.

`protected array<string|int, mixed> $fillable = ['user_id', 'post_comment_id', 'like', 'unlike', 'status']`

#### $table

PostCommentDetail.php : 38

The table associated with the model.

`protected string $table = 'post_comment_details'`

### Methods

#### postComment()

PostCommentDetail.php : 72

Get the comment this detail belongs to.

`public postComment() : BelongsTo`

##### Return values

BelongsTo

#### user()

PostCommentDetail.php : 62

Get the user who liked/unliked this comment.

`public user() : BelongsTo`

##### Return values

BelongsTo

## Search results