package com.gxwebsoft.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 物流公司
 *
 * @author 科技小王子
 * @since 2025-08-12 12:07:03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "ShopExpress对象", description = "物流公司")
public class ShopExpress implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "物流公司ID")
    @TableId(value = "express_id", type = IdType.AUTO)
    private Integer expressId;

    @Schema(description = "物流公司名称")
    private String expressName;

    @Schema(description = "物流公司编码 (微信)")
    private String wxCode;

    @Schema(description = "物流公司编码 (快递100)")
    private String kuaidi100Code;

    @Schema(description = "物流公司编码 (快递鸟)")
    private String kdniaoCode;

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

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

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
