package cn.iocoder.yudao.module.system.dal.dataobject.biz;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseNoDeleteDO;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.MaterialBaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.time.LocalDate;

@TableName("material_outbound_return_order")
@KeySequence("material_outbound_return_order_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MaterialOutboundReturnOrderDO extends MaterialBaseDO {

    @TableId
    private Long id;
    private String orderNo;
    private Long sourceOutboundOrderId;
    private LocalDate orderDate;
    private Integer status;
    private String remark;
    private Long tenantId;
    // 退回原因
    private String returnReason;
}