You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
95 lines
1.8 KiB
Java
95 lines
1.8 KiB
Java
2 years ago
|
package com.glxp.api.entity.dev;
|
||
|
|
||
|
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 java.io.Serializable;
|
||
|
import java.time.LocalDate;
|
||
|
import java.time.LocalDateTime;
|
||
|
|
||
|
import lombok.AllArgsConstructor;
|
||
|
import lombok.Builder;
|
||
|
import lombok.Data;
|
||
|
import lombok.NoArgsConstructor;
|
||
|
import lombok.experimental.Accessors;
|
||
|
|
||
|
/**
|
||
|
* 设备巡检计划
|
||
|
*
|
||
|
* @TableName device_plan
|
||
|
*/
|
||
|
@TableName(value = "device_plan")
|
||
|
@Data
|
||
|
@Builder
|
||
|
@AllArgsConstructor
|
||
|
@NoArgsConstructor
|
||
|
@Accessors(chain = true)
|
||
|
public class DevicePlanEntity {
|
||
|
/**
|
||
|
* 计划id
|
||
|
*/
|
||
|
@TableId(value = "planId")
|
||
|
private Long planId;
|
||
|
|
||
|
/**
|
||
|
* 计划名称
|
||
|
*/
|
||
|
@TableField(value = "name")
|
||
|
private String name;
|
||
|
|
||
|
/**
|
||
|
* 负责部门
|
||
|
*/
|
||
|
@TableField(value = "chargeDeptCode")
|
||
|
private String chargeDeptCode;
|
||
|
|
||
|
/**
|
||
|
* 开始日期
|
||
|
*/
|
||
|
@TableField(value = "startDate")
|
||
|
private LocalDate startDate;
|
||
|
|
||
|
/**
|
||
|
* 结束日期
|
||
|
*/
|
||
|
@TableField(value = "endDate")
|
||
|
private LocalDate endDate;
|
||
|
|
||
|
/**
|
||
|
* 频率(天)
|
||
|
*/
|
||
|
@TableField(value = "frequency")
|
||
|
private Integer frequency;
|
||
|
|
||
|
/**
|
||
|
* 执行次数
|
||
|
*/
|
||
|
@TableField(value = "execCount")
|
||
|
private Integer execCount;
|
||
|
|
||
|
/**
|
||
|
* 备注
|
||
|
*/
|
||
|
@TableField(value = "remark")
|
||
|
private String remark;
|
||
|
|
||
|
/**
|
||
|
* 创建人id
|
||
|
*/
|
||
|
@TableField(value = "createUserId")
|
||
|
private Long createUserId;
|
||
|
|
||
|
/**
|
||
|
* 创建人名称
|
||
|
*/
|
||
|
@TableField(value = "createUserName")
|
||
|
private String createUserName;
|
||
|
|
||
|
/**
|
||
|
* 创建时间
|
||
|
*/
|
||
|
@TableField(value = "createTime")
|
||
|
private LocalDateTime createTime;
|
||
|
}
|