4 天以前 8f7c42bb0bced4697755299f67483be11da3e44d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
package cn.iocoder.yudao.module.aftersales.dal.dataobject.ticket;
 
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
 
import java.math.BigDecimal;
 
/**
 * 售后工单明细行 DO
 */
@TableName("after_sale_ticket_item")
@KeySequence("after_sale_ticket_item_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AfterSaleTicketItemDO extends BaseDO {
 
    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 工单编号,关联 after_sale_ticket.id
     */
    private Long ticketId;
    /**
     * 销售订单行编号
     */
    private Long saleOrderItemId;
    /**
     * MDM 物料编号
     */
    private Long itemId;
    /**
     * 物料编码(冗余)
     */
    private String itemCode;
    /**
     * 物料名称(冗余)
     */
    private String itemName;
    /**
     * 生产批次编号
     */
    private Long batchId;
    /**
     * 生产批次号
     */
    private String batchCode;
    /**
     * 销售数量
     */
    private BigDecimal saleQuantity;
    /**
     * 退货数量
     */
    private BigDecimal returnQuantity;
    /**
     * 是否需要维修
     */
    private Boolean needRepair;
    /**
     * 是否需要退货
     */
    private Boolean needReturn;
    /**
     * 备注
     */
    private String remark;
 
}