package io.modules.item.dto;

import io.modules.item.dao.FrontUserDao;
import io.modules.item.entity.FrontUserEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 订单表
 */
@Data
@Schema(name = "订单表")
public class OrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "订单编号")
	private Long id;

	@SchemaProperty(name = "用户编号")
	private Long userId;

	@SchemaProperty(name = "商品编号")
	private Long itemId;
	private Long sex;

	private Long age;

	@SchemaProperty(name = "状态")
	private Integer orderStatus;

	@SchemaProperty(name = "购买数量")
	private String appointmentTime;
	private String paymentMethod;

	//新增 还是原始支付
	private String pay;
	private String subject;

	@SchemaProperty(name = "订单总金额")
	private BigDecimal amount;

	@SchemaProperty(name = "支付时间")
	private Date paymentDate;

	@SchemaProperty(name = "订单创建时间")
	private Date createdTime;

	private UserDTO user;
	@SchemaProperty(name = "病例")
	private String content;

	//	用于医生审核状态
	private String status;
	private String hex;

	//订单编号
	private Long orderId;
	private String scoreContent;
	private String remark;
	private DoctorsDTO doctors;
	private FrontUserEntity userDTO;
}
