zss
2026-04-25 b069101e1bf347ceab11e33d73b2fbb7f37d4686
src/main/java/com/ruoyi/production/pojo/ProductionProductMain.java
@@ -3,7 +3,7 @@
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -16,39 +16,44 @@
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "报工单号")
    @Schema(description = "报工单号")
    @Excel(name = "报工单号")
    private String productNo;
    @ApiModelProperty(value = "报工人员id")
    @Schema(description = "报工人员id")
    private Long userId;
    @ApiModelProperty(value = "报工人员")
    @Schema(description = "报工人员")
    private String userName;
    @ApiModelProperty(value = "生产项目id")
    private Long productProcessRouteItemId;
    @Schema(description = "生产工序工单id")
    private Long productionOperationTaskId;
    @ApiModelProperty(value = "工单id")
    private Long workOrderId;
    @ApiModelProperty(value = "报工状态")
    @Schema(description = "报工状态")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "更新时间")
    @Schema(description = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @ApiModelProperty(value = "租户ID")
    @Schema(description = "创建用户")
    @TableField(fill = FieldFill.INSERT)
    private Long tenantId;
    private Integer createUser;
    @Schema(description = "更新用户")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
    @TableField(fill = FieldFill.INSERT)
    private Long deptId;
}