package org.jeecg.modules.mdc.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @Description: 扭矩配置管理
|
* @Author: ym
|
* @Date: 2023-06-29
|
*/
|
@Data
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@TableName("mdc_torque_config")
|
@ApiModel(value = "mdc_torque_config对象", description = "扭矩配置管理")
|
public class MdcTorqueConfig implements Serializable {
|
|
private static final long serialVersionUID = -8646261637017242975L;
|
|
/**
|
* 主键
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty("主键")
|
private String id;
|
|
/**
|
* 设备编号
|
*/
|
@Excel(name = "设备编号", width = 15)
|
@ApiModelProperty("设备编号")
|
private String equipmentId;
|
|
/**
|
* 设备名称
|
*/
|
@Excel(name = "设备名称", width = 25)
|
@ApiModelProperty("设备名称")
|
private String equipmentName;
|
|
/**
|
* 时间
|
*/
|
@Excel(name = "时间", width = 30, format = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "时间")
|
private Date torqueDate;
|
|
/**
|
* 扭矩值
|
*/
|
@Excel(name = "扭矩值", width = 15)
|
@ApiModelProperty("扭矩值")
|
private float torqueValue;
|
|
/**
|
* 进给参数
|
*/
|
@Excel(name = "进给参数", width = 15)
|
@ApiModelProperty("进给参数")
|
private String feedParameter;
|
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 30)
|
@ApiModelProperty("备注")
|
private String notes;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "创建时间")
|
private Date createTime;
|
|
/**
|
* 创建人
|
*/
|
@Excel(name = "创建人", width = 15)
|
@ApiModelProperty("创建人")
|
private String createBy;
|
|
/**
|
* 更新时间
|
*/
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty("更新时间")
|
private Date updateTime;
|
|
/**
|
* 更新人
|
*/
|
@Excel(name = "更新人", width = 15)
|
@ApiModelProperty("更新人")
|
private String updateBy;
|
|
@TableField(exist = false)
|
private String equipmentIds;
|
|
@TableField(exist = false)
|
private String startTime;
|
|
@TableField(exist = false)
|
private String endTime;
|
|
/**
|
* 前台传入,判断每个id
|
*/
|
@TableField(exist = false)
|
private String parentId;
|
|
/**
|
* 前台传入 车间层级:1,部门层级:2
|
*/
|
@TableField(exist = false)
|
private String typeTree;
|
|
/**
|
* 部门parentId 关联子集id
|
*/
|
@TableField(exist = false)
|
private List<String> mdcSectionIds;
|
}
|