package com.mzl.flower.dto.request.comment;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import javax.validation.constraints.NotEmpty;
|
import javax.validation.constraints.NotNull;
|
import java.time.LocalDate;
|
|
@Data
|
public class QueryFlowerCommentDTO {
|
|
@ApiModelProperty(value = "id")
|
private String id;
|
|
/**
|
* 订单id
|
*/
|
@ApiModelProperty(value = "订单id")
|
private String orderId;
|
|
/**
|
* 订单商品id
|
*/
|
@ApiModelProperty(value = "订单商品id")
|
private String orderItemId;
|
|
/**
|
* 商户id
|
*/
|
@ApiModelProperty(value = "商户ID")
|
private Long customerId;
|
|
/**
|
* 供应商Id
|
*/
|
@ApiModelProperty(value = "供应商Id")
|
private Long supplierId;
|
|
/**
|
* 商品id
|
*/
|
@ApiModelProperty(value = "商品id")
|
private Long flowerId;
|
|
@ApiModelProperty(value = "隐藏标识 0 显示 1隐藏")
|
private Integer showFlag;
|
|
@ApiModelProperty(value = "订单编号")
|
private String orderNo;
|
|
@ApiModelProperty(value = "商品名称")
|
private String flowerName;
|
|
@ApiModelProperty(value = "评价等级")
|
private Integer commentGrade;
|
|
@ApiModelProperty(value = "评价日期-开始日期")
|
@JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
private LocalDate commentStartDate;
|
|
@ApiModelProperty(value = "评价日期-结束日期")
|
@JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
private LocalDate commentEndDate;
|
|
|
}
|