package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单核销人管理
 *
 * @author xm
 * @since 2026-05-25 17:13:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "ShopVerifyUser对象", description = "订单核销人管理")
@TableName("shop_verify_user")
public class ShopVerifyUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "用户名称")
    @TableField(exist = false)
    private String userName;

    @Schema(description = "核销权限是否开启 0-未开启 1-已开启")
    private Integer verifyFlag;

    @Schema(description = "是否开启 0-未开始 1-已开启")
    private Integer status;

    @Schema(description = "排序号")
    private Integer sortNumber;

    @Schema(description = "创建人")
    private Integer creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新人")
    private Integer updater;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "是否删除 0-未删 1-已删")
    @TableLogic
    private Integer deleted;

}
