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
package com.ruoyi.production.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.time.LocalDateTime;
 
@Data
@TableName("production_product_output")
public class ProductionProductOutput {
 
    @TableId(type = IdType.AUTO)
    private Long id;
 
    @Schema(description = "报工id")
    private Long productMainId;
 
    @Schema(description = "生产报工主表id")
    private Long productionProductMainId;
 
    @Schema(description = "产品id")
    private Long productModelId;
 
    @Schema(description = "报工数量(总数量)")
    private BigDecimal quantity;
 
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "报废数量")
    private BigDecimal scrapQty;
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @Schema(description = "更新用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
 
}