package com.matrix.system.hive.dto;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.matrix.core.tools.DateUtil;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
|
@Data
|
public class ServiceOrderTimeDto {
|
|
/**
|
* 服务单id
|
*/
|
private Long id;
|
/**
|
* 预约时间
|
*/
|
@DateTimeFormat(pattern = DateUtil.DATE_FORMAT_MM)
|
private Date yyTime;
|
|
/**
|
* 订单创建时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date createTime;
|
/**
|
* 订单划扣时间
|
*/
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
private Date consumeTime;
|
|
}
|