package com.erp.warehouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Builder;

import java.time.LocalDateTime;

/**
 * 仓库模板绑定实体
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("warehouse_template_binding")
public class WarehouseTemplateBinding {

    @TableId(type = IdType.AUTO)
    private Long id;

    /** 仓库ID */
    private Long warehouseId;

    /** 平台: taobao, jd, douyin, etc. */
    private String platform;

    /** 模板ID */
    private Long templateId;

    /** 创建时间 */
    private LocalDateTime createTime;

    /** 更新时间 */
    private LocalDateTime updateTime;
}
