package io.modules.item.dto;

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;

/**
 * 订单表
 *
 * @author Mark #
 * @since 1.0.0 2025-02-14
 */
@Data
@Schema(name = "订单表")
public class OrderDTO implements Serializable {
    private static final long serialVersionUID = 1L;

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

	private Long userId;
	private Long itemId;
	private Long userHouseId;
	private Long itemUserId;

	private String status;
	private Integer score;
	private String content;
	private Date createTime;
	private BigDecimal price;
	private Integer quantity;
	private String refuse;
	private String hex;
	private UserDTO user;
	private FrontUserEntity userEntity;
	private HouseDTO item;
	private HouseDTO itemA;
}
