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

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author 吴凯程
 * @Date 2025/6/23
 **/
@Data
public class GridRegionTransfer {

    /**
     * id
     */
    @ApiModelProperty(value = "id", notes = "")
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", notes = "")
    private String status;
    /**
     * 客户号
     */
    @ApiModelProperty(value = "客户号", notes = "")
    private String custId;
    /**
     * 客户名称
     */
    @ApiModelProperty(value = "客户名称", notes = "")
    private String custName;
    @ApiModelProperty(value = "客户类型", notes = "")
    private String custType;
    /**
     * 部室
     */
    @ApiModelProperty(value = "部室", notes = "")
    private String opsDept;
    /**
     * 原网格
     */
    @ApiModelProperty(value = "原网格", notes = "")
    private Long prevGridId;
    /**
     * 原网格名称
     */
    @ApiModelProperty(value = "原网格名称", notes = "")
    private String prevGridName;
    /**
     * 原客户经理
     */
    @ApiModelProperty(value = "原客户经理", notes = "")
    private String prevUser;
    /**
     * 原支行
     */
    @ApiModelProperty(value = "原支行", notes = "")
    private Long prevBranchId;
    /**
     * 原支行名称
     */
    @ApiModelProperty(value = "原支行名称", notes = "")
    private String prevBranchName;
    /**
     * 移交网格
     */
    @ApiModelProperty(value = "移交网格", notes = "")
    private Long nextGridId;
    /**
     * 移交网格名称
     */
    @ApiModelProperty(value = "移交网格名称", notes = "")
    private String nextGridName;
    /**
     * 移交支行
     */
    @ApiModelProperty(value = "移交支行", notes = "")
    private String nextBranchIds;
    /**
     * 移交支行名称
     */
    @ApiModelProperty(value = "移交支行名称", notes = "")
    private String nextBranchName;
    /**
     * 移交客户经理
     */
    @ApiModelProperty(value = "移交客户经理", notes = "")
    private String nextUsers;
    /**
     * 审批支行管理员
     */
    @ApiModelProperty(value = "审批支行管理员", notes = "")
    private String approveBranchUser;
    /**
     * 审批支行结果
     */
    @ApiModelProperty(value = "审批支行结果", notes = "")
    private Boolean approveBranchResult;
    /**
     * 审批总行部室管理员
     */
    @ApiModelProperty(value = "审批总行部室管理员", notes = "")
    private String approveHeadUser;
    /**
     * 审批总行结果
     */
    @ApiModelProperty(value = "审批总行结果", notes = "")
    private Boolean approveHeadResult;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", notes = "")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "创建人", notes = "")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
}
