| | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @Getter |
| | | @Setter |
| | | @TableName("spare_parts_requisition_record") |
| | | @ApiModel(value = "SparePartsRequisitionRecord对象", description = "") |
| | | @Schema(name = "SparePartsRequisitionRecord对象", description = "") |
| | | public class SparePartsRequisitionRecord implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("来源类型(0 维修 1 保养)") |
| | | @Schema(description = "来源类型(0 维修 1 保养)") |
| | | private Integer sourceType; |
| | | |
| | | @ApiModelProperty("来源id") |
| | | @Schema(description = "来源id") |
| | | private Long sourceId; |
| | | |
| | | @ApiModelProperty("设备id") |
| | | @Schema(description = "设备id") |
| | | private Long deviceLedgerId; |
| | | |
| | | @ApiModelProperty("备件id") |
| | | @Schema(description = "备件id") |
| | | private Long sparePartsId; |
| | | |
| | | @ApiModelProperty("数量") |
| | | @Schema(description = "数量") |
| | | private Integer quantity; |
| | | |
| | | @ApiModelProperty("创建人") |
| | | @Schema(description = "创建人") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Integer createUser; |
| | | |
| | | @ApiModelProperty("租户id") |
| | | @Schema(description = "租户id") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long tenantId; |
| | | |
| | | @ApiModelProperty("录入时间") |
| | | @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("更新时间") |
| | | @Schema(description = "更新时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |