package com.yeejoin.amos.boot.module.elevator.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 维保信息表
 *
 * @author litw
 * @date 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("tz_maintain_info")
public class MaintainInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 电梯id
     */
    @TableField("enevator_id")
    private String enevatorId;

    /**
     * 最新维保时间
     */
	@TableField("maintain_time")
    private Date maintainTime;

    /**
     * 下次维保时间
     */
	@TableField("next_maintain_time")
    private Date nextMaintainTime;

    /**
     * 维保单位id
     */
	@TableField("maintain_unit_id")
    private String maintainUnitId;

    /**
     * 维保单位
     */
	@TableField("maintain_unit")
    private String maintainUnit;

    /**
     * 维保人员id
     */
	@TableField("maintain_person_id")
    private String maintainPersonId;

    /**
     * 维保人员
     */
	@TableField("maintain_person")
    private String maintainPerson;

    /**
     * 更新时间
     */
	@TableField("update_time")
    private Date updateTime;

}
