package com.njcn.csdevice.pojo.po;

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.njcn.db.bo.BaseEntity;
import lombok.Data;

/**
 * 
 * Description:
 * Date: 2023/5/17  15:40【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
@TableName(value = "cs_equipment_transfer")
public class CsEquipmentTransferPO extends BaseEntity {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 项目Id
     */
    @TableField(value = "project_id")
    private String projectId;

    /**
     * 移交/恢复设备id集用，分割
     */
    @TableField(value = "equipment_ids")
    private String equipmentIds;

    /**
     * 发起人
     */
    @TableField(value = "promoter")
    private String promoter;

    /**
     * transferor
     */
    @TableField(value = "transferor")
    private String transferor;

    /**
     * 事件类型（权限转移，数据恢复）
     */
    @TableField(value = "event_type")
    private String eventType;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 状态(0:删除 1:正常 2：通过审核)
     */
    @TableField(value = "`status`")
    private Integer status;





    public static final String COL_ID = "id";

    public static final String COL_PROJECT_ID = "project_id";

    public static final String COL_EQUIPMENT_IDS = "equipment_ids";

    public static final String COL_PROMOTER = "promoter";

    public static final String COL_TRANSFEROR = "transferor";

    public static final String COL_EVENT_TYPE = "event_type";

    public static final String COL_REMARK = "remark";

    public static final String COL_STATUS = "status";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_UPDATE_TIME = "update_time";
}