package com.chinaweal.aiccs.aiccs.abnormal.entity;

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.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

/**
 * <p>
 * 联系人日志表
 * </p>
 *
 * @author lwd
 * @since 2025-02-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(schema = "aiccs", value = "CONTACT_LOG")
@ApiModel(value="ContactLog", description="联系人日志表")
public class ContactLog extends Model<ContactLog> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "ID", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 操作人名称
     */
    @ApiModelProperty(value = "操作人名称")
    @TableField("OPERATORNAME")
    private String operatorName;

    /**
     * 企业主键
     */
    @ApiModelProperty(value = "企业主键")
    @TableField("PRIPID")
    private String pripId;

    /**
     * 操作人ID
     */
    @ApiModelProperty(value = "操作人ID")
    @TableField("OPERATORID")
    private String operatorId;

    /**
     * 操作时间
     */
    @ApiModelProperty(value = "操作时间")
    @TableField("OPERATIONTIME")
    private Timestamp operationTime;

    /**
     * 展示内容
     */
    @ApiModelProperty(value = "展示内容")
    @TableField("CONTENTTEXT")
    private String contentText;

    /**
     * 创建时间，默认当前时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Timestamp createTime;

    /**
     * 更新时间，默认当前时间，更新时自动更新
     */
    @ApiModelProperty(value = "更新时间")
    @TableField("UPDATE_TIME")
    private Timestamp updateTime;

}
