package com.community.huiju.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 二手交易举报表
 * </p>
 *
 * @author jobob
 * @since 2019-04-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tp_transaction_report")
public class TransactionReport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 小区id
     */
    private Integer communityId;

    /**
     * 二手交易id
     */
    private Integer transactionId;

    /**
     * 举报原因id 对应 sys_report_reason 表
     */
    private String reportReasonId;

    /**
     * app用户端的举报者
     */
    private Integer reporterId;

    /**
     * 举报原因
     */
    @TableField(exist = false)
    private String reason;

    /**
     * 举报名字
     */
    @TableField(exist = false)
    private String reportUserName;

    /**
     * 举报身份
     */
    @TableField(exist = false)
    private String description;

    /**
     * 举报人手机号
     */
    @TableField(exist = false)
    private String reportPhone;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

}
