package com.ruoyi.system.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.GeneratedValue;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * review对象 pos_review
 *
 * @author ruoyi
 * @date 2023-06-08
 */
@Data
@TableName(value = "pos_review")
@EqualsAndHashCode(callSuper = false)
public class PosReview
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @GeneratedValue
    /** id */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private String ddId;

    /** 门店id */
    @Excel(name = "门店id")
    private Long mdId;

    /** 评分 */
    @Excel(name = "评分")
    private double score;

    /** 点评时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "点评时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cretim;

    /** 点评内容 */
    @Excel(name = "点评内容")
    private String content;

    /** 点评用户id */
    @Excel(name = "点评用户id")
    private Long userId;

    /** 是否匿名:0是,1否 */
    @Excel(name = "是否匿名:0是,1否")
    private Long anonymous;

    /** 图片 */
    private String images;


}
