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;

    /**
     * 是否已确认 (0-否 1-是)
     * @Author: Antigravity
     */
    private Integer isConfirmed;

    /**
     * 单据编号
     * @Author: Antigravity
     */
    private String docCode;

    /**
     * 下单客户ID
     * @Author: Antigravity
     */
    private String clientId;

    /**
     * 下单客户名称
     * @Author: Antigravity
     */
    private String clientName;

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

}
