package org.jeecg.modules.regular.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecgframework.poi.excel.annotation.ExcelIgnore;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 检修测量数据
 * @Author: jeecg-boot
 * @Date:   2025-01-17
 * @Version: V1.0
 */
@Data
@TableName("bu_regular_input")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bu_regular_input对象", description="检修测量数据")
public class RegularInput implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**检修详情*/
	@Excel(name = "检修详情", width = 15)
    @ApiModelProperty(value = "检修详情")
    private java.lang.String detailId;
	/**数据项点*/
	@Excel(name = "数据项点", width = 15)
    @ApiModelProperty(value = "数据项点")
    private java.lang.String dataPot;
	/**最大值*/
	@Excel(name = "最大值", width = 15)
    @ApiModelProperty(value = "最大值")
    private java.lang.Double maxValue;
	/**最小值*/
	@Excel(name = "最小值", width = 15)
    @ApiModelProperty(value = "最小值")
    private java.lang.Double minValue;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    @Dict(dicCode = "general_unit")
    private java.lang.String unit;
	/**上级*/
	@Excel(name = "上级", width = 15)
    @ApiModelProperty(value = "上级")
    private java.lang.String pid;
    @Excel(name = "所用工具", width = 15,dictTable = "bu_tool", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所用工具")
    @Dict(dictTable = "bu_tool", dicText = "name", dicCode = "id")
    private java.lang.String toolId;

    @ApiModelProperty("取平均值基数，默认1不需要取平均值")
    private String avgCount;

    @ExcelIgnore
    @TableField(exist = false)
    private List<RegularInput> points;
}
