package com.gxwebsoft.tower.param; import com.baomidou.mybatisplus.annotation.TableField; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonInclude; import com.gxwebsoft.common.core.annotation.QueryField; import com.gxwebsoft.common.core.annotation.QueryType; import com.gxwebsoft.common.core.web.BaseParam; import com.gxwebsoft.tower.entity.TowerProjectOrder; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * 合同签订设备清单查询参数 * * @author 科技小王子 * @since 2023-06-07 18:48:56 */ @Data @EqualsAndHashCode(callSuper = false) @JsonInclude(JsonInclude.Include.NON_NULL) @ApiModel(value = "TowerProjectOrderParam对象", description = "合同签订设备清单查询参数") public class TowerProjectOrderParam extends BaseParam { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "自增ID") @QueryField(type = QueryType.EQ) private Integer projectOrderId; @ApiModelProperty(value = "项目ID") private Integer projectId; @ApiModelProperty(value = "设备名称") private String equipmentName; @ApiModelProperty(value = "规格型号") private String equipmentModel; @ApiModelProperty(value = "签订数量") @QueryField(type = QueryType.EQ) private Integer equipmentNum; @ApiModelProperty(value = "单位") private String unit; @ApiModelProperty(value = "预计进场时间") @JsonFormat(pattern = "yyyy-MM-dd") private String startTime; @ApiModelProperty(value = "预计退场时间") @JsonFormat(pattern = "yyyy-MM-dd") private String endTime; @ApiModelProperty(value = "出厂年限") private String year; @ApiModelProperty(value = "对应资料员") private String documenter; @ApiModelProperty(value = "状态") @QueryField(type = QueryType.EQ) private Integer status; @ApiModelProperty(value = "备注") private String comments; @ApiModelProperty(value = "排序号") @QueryField(type = QueryType.EQ) private Integer sortNumber; @ApiModelProperty(value = "用户ID") @QueryField(type = QueryType.EQ) private Integer userId; @ApiModelProperty(value = "是否删除, 0否, 1是") @QueryField(type = QueryType.EQ) private Integer deleted; @ApiModelProperty(value = "合同预定设备清单") @TableField(exist = false) private List orders; }