package com.zcloud.fire.check.domain.model;

import com.jjb.saas.framework.domain.model.BaseE;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * web-domain
 *
 * @Author zhaokai
 * @Date 2025-12-12 11:12:04
 */
@Data
public class FireCheckRecordUserE extends BaseE {
    //主键
    private Long id;
    //业务主键id
    private String fireRecordUserId;
    //企业id
    private Long corpinfoId;
    //检查表id
    private String fireCheckId;
    //检查记录表id
    private String fireRecordId;
    //部门id
    private Long departmentId;
    //部门名称
    private String departmentName;
    //人员id
    private Long userId;
    //人员名称
    private String userName;
    //乐观锁
    private Integer version;
    //创建人
    private Long createId;
    //创建人姓名
    private String createName;
    //创建时间
    private LocalDateTime createTime;
    //更新人
    private Long updateId;
    //修改人名称
    private String updateName;
    //更新时间
    private LocalDateTime updateTime;
    //描述
    private String remarks;
    //是否删除
    private String deleteEnum;
    //租户ID
    private Long tenantId;
    //机构ID
    private Long orgId;
    //环境
    private String env;

    public void init(FireCheckRecordE fireCheckRecordE) {
        this.fireCheckId = fireCheckRecordE.getFireCheckId();
        this.fireRecordId = fireCheckRecordE.getFireRecordId();
    }
}

