package com.aps.entity.basic;

import lombok.Data;

import java.time.LocalDateTime;
import java.time.OffsetDateTime;

/**
 * 订单定义
 */
@Data
public class Order {
    private int id;
    private int productId;
    private int quantity = 100; // 100个
    private OffsetDateTime dueDate;
    private LocalDateTime orderCompletion;
    private double tardiness;
    private int priority;
    private boolean canSplit = false;
    private boolean canInterrupt = false;

}