package com.yeejoin.amos.api.openapi.face.orm.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity;

import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
@EqualsAndHashCode(callSuper = true)
@Data
public abstract class AbstractEquipBaseEntity extends BaseEntity{

    @TableId(
            value = "\"SEQUENCE_NBR\"",
            type = IdType.ID_WORKER
    )
    protected Long sequenceNbr;
    @TableField("\"REC_DATE\"")
    protected Date recDate;
    @TableField("\"REC_USER_ID\"")
    protected String recUserId;
    
    /**
     *
     */
    private static final long serialVersionUID = 1L;
    @TableField("\"SYNC_DATE\"")
    protected Date SyncDate;//同步时间  yyyy-MM-dd HH24:mi:ss
    @TableField("\"SYNC_STATE\"")
    protected int SyncState;//同步状态（0-新增   1-更新   2-删除）
    /**
     * 对接公司编码
     */
    @TableField("\"APP_ID\"")
    protected String appId;
}
