package com.bonus.canteen.core.menu.dto;

import com.bonus.canteen.core.menu.domain.MenuEvaluaDetail;
import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * 订单评价对象 menu_evalua_order
 * 
 * @author xsheng
 * @date 2025-04-20
 */


@Data
@ToString
public class MenuEvaluaOrderAddDTO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 评价id */
    @Excel(name = "评价id")
    @ApiModelProperty(value = "评价id")
    private Long evaluaId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    @ApiModelProperty(value = "订单编号")
    private Long ordId;

    /** 星级 */
    @Excel(name = "星级")
    @ApiModelProperty(value = "星级")
    private Long starLevel;

    /** 描述 */
    @Excel(name = "描述")
    @ApiModelProperty(value = "描述")
    private String description;

    /** 描述回复 */
    @Excel(name = "描述回复")
    @ApiModelProperty(value = "描述回复")
    private String reply;

    /** 描述回复时间 */
    @ApiModelProperty(value = "描述回复时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "描述回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 档口或店铺id */
    @Excel(name = "档口或店铺id")
    @ApiModelProperty(value = "档口或店铺id")
    private Long shopstallId;

    /** 展示状态(1-展示,2-不展示) */
    @Excel(name = "展示状态(1-展示,2-不展示)")
    @ApiModelProperty(value = "展示状态(1-展示,2-不展示)")
    private Long showFlag;

    /** 删除标识(0-正常,2-删除) */
    private Long delFlag;

    /** 乐观锁 */
    @Excel(name = "乐观锁")
    @ApiModelProperty(value = "乐观锁")
    private Long revision;

    /** 订单评价类型1食堂2商超 */
    @Excel(name = "订单评价类型1食堂2商超")
    @ApiModelProperty(value = "订单评价类型1食堂2商超")
    private Long orderEvaluaType;

    @ApiModelProperty("评价图片")
    private List<String> pictureList;

    @ApiModelProperty("订单详情")
    List<MenuEvaluaDetail> detailList;
}
