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

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
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 2025-05-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("work_dynamics")
@ApiModel(value="WorkDynamicsEntity对象", description="工作动态表")
public class WorkDynamicsEntity extends SysBaseField {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "工作动态id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关联客户id")
    @TableField("customer_id")
    private Long customerId;

    @ApiModelProperty(value = "操作类型：1新增、2编辑、3删除")
    @TableField("operation_type")
    private Integer operationType;

    @ApiModelProperty(value = "业务类型")
    @TableField("resource_type")
    private String resourceType;

    @ApiModelProperty(value = "业务类型关联ID")
    @TableField("resource_type_id")
    private Long resourceTypeId;

    @ApiModelProperty(value = "关联数据标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "关联业务JSON数据")
    @TableField("content")
    private String content;



}
