package org.jeecg.modules.mdc.entity;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
/**
|
* @Description: 合格率表
|
* @Author: lius
|
* @Date: 2023-07-18
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mdc_pass_rate")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "mdc_pass_rate对象", description = "合格率表")
|
public class MdcPassRate extends JeecgEntity implements Serializable {
|
|
private static final long serialVersionUID = 1863479534937744521L;
|
|
/**
|
* 设备编号
|
*/
|
@Excel(name = "设备编号", width = 15)
|
@ApiModelProperty(value = "设备编号")
|
private String equipmentId;
|
/**
|
* 设备名称
|
*/
|
@Excel(name = "设备名称", width = 20)
|
@ApiModelProperty(value = "设备名称")
|
private String equipmentName;
|
/**
|
* 日期
|
*/
|
@Excel(name = "日期", width = 20, format = "yyyy-MM-dd")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@ApiModelProperty(value = "日期")
|
private Date efficientDate;
|
/**
|
* 加工数量
|
*/
|
@Excel(name = "加工数量", width = 15)
|
@ApiModelProperty(value = "加工数量")
|
private Integer processQuantity;
|
/**
|
* 不合格数量
|
*/
|
@Excel(name = "不合格数量", width = 15)
|
@ApiModelProperty(value = "不合格数量")
|
private Integer unqualifiedQuantity;
|
/**
|
* 合格率
|
*/
|
@Excel(name = "合格率", width = 15)
|
@ApiModelProperty(value = "合格率")
|
private BigDecimal passRate;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 25)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
/**
|
* 前台传入 判断每个id
|
*/
|
@TableField(exist = false)
|
private String parentId;
|
|
/**
|
* 前台传入 车间层级:1 部门层级:2
|
*/
|
@TableField(exist = false)
|
private String typeTree;
|
|
/**
|
* 部门parentId 关联子集id
|
*/
|
@TableField(exist = false)
|
private List<String> mdcSectionIds;
|
|
@TableField(exist = false)
|
private String equipmentIds;
|
|
@TableField(exist = false)
|
private String startTime;
|
|
@TableField(exist = false)
|
private String endTime;
|
|
}
|