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

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 企业公示_知识产权出质变更表
 * </p>
 *
 * @author lwd
 * @since 2025-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("AICCS.E_IM_IPPLDGALTData") // 包含GZGS.前缀
public class EImIppldgaltAiccs extends Model<EImIppldgaltAiccs> {

    private static final long serialVersionUID = 1L;

    /**
     * 知识产权出质变更ID
     */
    @TableId(value = "PLEALTID")
    @TableField("PLEALTID")
    private String plealtid;

    /**
     * 知识产权出质ID
     */
    @TableField("PLEID")
    private String pleid;

    /**
     * 变更事项
     */
    @TableField("ALT")
    private String alt;

    /**
     * 变更前内容
     */
    @TableField("ALTBE")
    private String altbe;

    /**
     * 变更后内容
     */
    @TableField("ALTAF")
    private String altaf;

    /**
     * 变更日期
     */
    @TableField("ALTDATE")
    private Date altdate;

    @Override
    protected Serializable pkVal() {
        return plealtid; // 以知识产权出质变更ID作为主键
    }
}
