package com.fs.store.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 仓库对象 fs_warehouses
 *
 * @author xdd
 * @date 2025-03-07
 * @since 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class FsWarehouses extends BaseEntity
{
    private static final long serialVersionUID = 1L;

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

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String warehouseCode;

    @Excel(name = "erp推送")
    private String erp;
    private String erpText;

    /** 仓库地址 */
    @Excel(name = "仓库地址")
    private String warehouseAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactPerson;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 是否启用（1：启用，0：停用） */
    @Excel(name = "是否启用", readConverterExp = "1=：启用，0：停用")
    private Integer isActive;
    private String isActiveText;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

}
