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 com.chinaweal.youfool.framework.springboot.mybatis.plus.SuperEntity;
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 = "E_CONTACT")
@ApiModel(value="EContact对象", description="主要人员信息")
public class EContact extends Model<EContact> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "联络员ID")
    @TableId(value = "LMID", type = IdType.ASSIGN_UUID)
    private String lmid;

    @TableField("PRIPID")
    @ApiModelProperty(value = "主体身份代码")
    private String pripid;

    @TableField("NAME")
    @ApiModelProperty(value = "姓名")
    private String name;

    @TableField("CERTYPE")
    @ApiModelProperty(value = "证件类型")
    private String certype;

    @TableField("CERNO")
    @ApiModelProperty(value = "证件号码")
    private String cerno;

    @TableField("TEL")
    @ApiModelProperty(value = "联系电话")
    private String tel;

    @TableField("MOBTEL")
    @ApiModelProperty(value = "移动电话")
    private String mobtel;

    @TableField("EMAIL")
    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @TableField("S_EXT_FROMNODE")
    @ApiModelProperty(value = "数据汇总单位")
    private String sExtFromnode;

    @TableField("S_EXT_DATATIME")
    @ApiModelProperty(value = "数据汇总时间，默认当前时间")
    private Timestamp sExtDatatime;
}
