public static Db.PostLike ToEntity(PostLike postLike)
{
return postLike == null ? null :
new Db.PostLike
{
PostId = postLike.PostId,
PostLikeId = postLike.PostLikeId,
UserId = postLike.UserId,
CreatedBy = postLike.CreatedBy,
CreatedDate = postLike.CreatedDate,
ModifiedBy = postLike.ModifiedBy,
ModifiedDate = postLike.ModifiedDate
};
}
}