package com.rj.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 从 hxrd 后台同步订单到 {@code lb_order_row} 的请求体。
 */
@Data
@Schema(description = "LB 订单从 hxrd 后台同步请求")
public class LbOrderRowSyncFromHxrRequest {

    @Schema(description = "购买时间起（对应后台 buy_time[0]），可空表示不限制")
    private String buyTimeStart;

    @Schema(description = "购买时间止（对应后台 buy_time[1]），可空表示不限制")
    private String buyTimeEnd;

    @Schema(description = "写入本系统的租户 id", requiredMode = Schema.RequiredMode.REQUIRED)
    private String tenantId;

    @Schema(description = "转卖状态筛选（对应后台 is_resell）", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer isResell;
}
