| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import com.ruoyi.common.enums.ReviewStatusEnum; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | |
| | | @Data |
| | | @TableName("stock_in_record") |
| | | @ApiModel("入库管理") |
| | | @Schema(name = "入库管理") |
| | | public class StockInRecord { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty(value = "入库批次") |
| | | @Schema(description = "入库批次") |
| | | private String inboundBatches; |
| | | |
| | | @ApiModelProperty(value = "入库数量") |
| | | @Schema(description = "入库数量") |
| | | private BigDecimal stockInNum; |
| | | |
| | | @ApiModelProperty(value = "记录类型 采购入库/生产入库/质量入库/自定义入库") |
| | | @Schema(description = "批号") |
| | | private String batchNo; |
| | | |
| | | @Schema(description = "记录类型 枚举") |
| | | private String recordType; |
| | | |
| | | @ApiModelProperty(value = "记录ID salesProductId/ProductrMainId/qualityInspectId/0") |
| | | @Schema(description = "记录ID ") |
| | | private Long recordId; |
| | | |
| | | @ApiModelProperty(value = "产品规格ID") |
| | | @Schema(description = "产品规格ID") |
| | | private Long productModelId; |
| | | |
| | | @ApiModelProperty(value = "备注") |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | |
| | | @ApiModelProperty(value = "类型 0合格入库 1不合格入库") |
| | | @Schema(description = "类型 0合格入库 1不合格入库") |
| | | private String type; |
| | | |
| | | @ApiModelProperty(value = "创建时间") |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty(value = "创建用户") |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @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 = "修改用户") |
| | | @Schema(description = "修改用户") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Integer updateUser; |
| | | |
| | | @Schema(description = "审批状态 0-待审批 1-通过 2-驳回", implementation = ReviewStatusEnum.class) |
| | | private Integer approvalStatus; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |