package com.storlead.sales.pojo.entity.customer;

import com.baomidou.mybatisplus.annotation.TableName;
import com.storlead.framework.mybatis.entity.SysBaseField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单转移表
 * </p>
 *
 * @author YPZ
 * @since 2024-06-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("order_form_transfer")
@ApiModel(value="OrderFormTransferEntity对象", description="订单转移表")
public class OrderFormTransferEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单转移id")
    @TableId("id")
    private Long id;

    @ApiModelProperty(value = "要转移的订单id")
    @TableField("order_form_id")
    private Long orderFormId;

    @ApiModelProperty(value = "原归属人员")
    @TableField("old_owner_by")
    private Long oldOwnerBy;

    @ApiModelProperty(value = "现归属人员（接收对象）")
    @TableField("new_owner_by")
    private Long newOwnerBy;

    @ApiModelProperty(value = "转移类型，逗号分隔（10:客户、11线索、20:联系人、30:商机、40:订单、50:回款、60:退款、70:费用、80:任务、90:跟进、100:工单）")
    @TableField("types")
    private String types;

    @ApiModelProperty(value = "备注内容")
    @TableField("remark")
    private String remark;


}
