package com.cpop.oam.business.entity;

import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 线索更新 实体类。
 *
 * @author DB
 * @since 2024-02-20
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "cp_oam_clue_update", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class ClueUpdate extends BaseEntity implements Serializable {

    /**
     * 主键
     */
    @Id
    private String id;

    /**
     * 线索id
     */
    private String clueId;

    /**
     * 旧校区名
     */
    private String oldStoreName;

    /**
     * 新校区名
     */
    private String newStoreName;

    /**
     * 旧负责人
     */
    private String oldPersonCharge;

    /**
     * 新负责人
     */
    private String newPersonCharge;

    /**
     * 旧手机号
     */
    private String oldPhone;

    /**
     * 新手机号
     */
    private String newPhone;

    /**
     * 旧校区地址
     */
    private String oldStoreAddr;

    /**
     * 新校区地址
     */
    private String newStoreAddr;

    /**
     * 更新员工id
     */
    private String updateStaffId;

}
