package org.dromara.erp.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.erp.domain.ErpOrder;

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

/**
 * 订单业务对象
 * @Author: Antigravity
 */
@Data
@AutoMapper(target = ErpOrder.class, reverseConvertGenerate = false)
public class ErpOrderBo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订单主键
     */
    private String rowId;

    /**
     * 订单单号
     */
    private String code;

    /**
     * 下单人
     */
    private Long placer;

    /**
     * 下单时间
     */
    private Date placeTime;

    /**
     * 订单状态
     */
    private Integer status;

    /**
     * ERP单据编号
     */
    private String erpDocCode;

    /**
     * 绑定的订单明细 ID 列表
     */
    private List<String> detailIds;

}
