package com.storlead.trade.entity;

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

@Data
@TableName("sop_detail")
public class SopDetailEntity extends SysBaseField {

    @ApiModelProperty(value = "主键id")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "SOP id")
    @TableField("sop_id")
    private Long sopId;

    @ApiModelProperty(value = "步骤序号")
    @TableField("step")
    private Integer step;

    @ApiModelProperty(value = "步骤名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "间隔天数")
    @TableField("days")
    private String days;

    @ApiModelProperty(value = "触达渠道")
    @TableField("type")
    private String type;

//    @ApiModelProperty(value = "创建时间")
//    @TableField("create_time")
//    private LocalDateTime createTime;
}