package com.ruoyi.ibs.grid.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author 吴凯程
 * @Date 2024/9/18
 **/
@Data
@TableName("grid_region_cust_user_unbind")
public class RegionCustUserUnbind implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "网格主键", name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 网格id
     */
    @ApiModelProperty(value = "网格id", notes = "")
    private Long gridId;


    @ApiModelProperty(value = "客户号", name = "custId")
    private String custId;

    private String custType;

    @ApiModelProperty(value = "客户经理柜员号", notes = "")
    private String userName;

    /**
     * 更新者
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String createBy;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date createTime;
    /**
     * 删除标识
     */
    @TableLogic
    private Boolean deleteFlag;

}
