package org.jeecg.modules.mdc.entity;
|
|
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 org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
/**
|
* @Description: 设备加班管理
|
* @Author: Lius
|
* @Date: 2023-08-25
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("mdc_equipment_overtime")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "mdc_equipment_overtime对象", description = "设备加班管理")
|
public class MdcEquipmentOvertime extends JeecgEntity implements Serializable {
|
|
private static final long serialVersionUID = -7163039765166584824L;
|
|
@Excel(name = "设备编号", width = 20)
|
@ApiModelProperty("日期")
|
private String equipmentId;
|
|
@TableField(exist = false)
|
@Excel(name = "设备名称", width = 20)
|
private String equipmentName;
|
|
@ApiModelProperty("日期")
|
private String theDate;
|
|
@Excel(name = "自动计算标识", width = 15)
|
@ApiModelProperty("自动计算标识")
|
private Integer autoFlag = CommonConstant.AUTO_FLAG_N;
|
|
/**
|
* 加班开始时间
|
*/
|
@Excel(name = "加班开始时间", width = 20)
|
@ApiModelProperty(value = "加班开始时间")
|
private String startTime;
|
/**
|
* 加班结束时间
|
*/
|
@Excel(name = "加班结束时间", width = 20)
|
@ApiModelProperty(value = "加班结束时间")
|
private String endTime;
|
|
/**
|
* 加班时长
|
*/
|
@Excel(name = "时长", width = 20)
|
@ApiModelProperty(value = "时长")
|
private BigDecimal duration;
|
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注")
|
@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;
|
|
}
|