package com.qnfhq.modules.c2c.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.SchemaProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * c2c订单
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-17
 */
@Data
@Schema(name = "c2c订单取消")
public class C2cOrderCancelDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@SchemaProperty(name = "订单编号")
    @NotNull(message="{NotNull.oId}")//订单编号不能为空
	private Long id;


    @SchemaProperty(name = "取消原因编号")
    @NotNull(message="{NotNull.reasonId}")//取消原因编号不能为空
    private Long reasonId;

    @SchemaProperty(name = "取消原因类别")
    @NotNull(message="{NotNull.reasonType}")//取消原因类别不能为空
    private Long reasonType;

    @SchemaProperty(name = "其他原因")
    private String otherReason;

}
