package com.ssm.manage.entity;

import java.util.Date;
import java.util.Objects;

public class SysCompanyStore {
    /**
     * 公司与门店关系ID
     */
    private Integer companyStoreId;
    /**
     * 门店ID
     */
    private String storeId;
    /**
     * 门店编码
     */
    private String storeNum;
    /**
     * 门店名称
     */
    private String storeName;
    /**
     * 公司ID
     */
    private Integer companyId;
    /**
     * 公司编码
     */
    private String companyCode;
    /**
     * 公司名称
     */
    private String companyName;
    /**
     * 创建者ID
     */
    private Long funderId;
    /**
     * 创建者名称
     */
    private String funderName;
    /**
     * 创建时间
     */
    private Date funderDate;
    /**
     * 修改者ID
     */
    private Long updatedId;
    /**
     * 修改者名称
     */
    private String updatedName;
    /**
     * 修改时间
     */
    private Date updatedDate;


    public Integer getCompanyStoreId() {
        return companyStoreId;
    }

    public void setCompanyStoreId(Integer companyStoreId) {
        this.companyStoreId = companyStoreId;
    }

    public String getStoreNum() {
        return storeNum;
    }

    public void setStoreNum(String storeNum) {
        this.storeNum = storeNum;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Long getFunderId() {
        return funderId;
    }

    public void setFunderId(Long funderId) {
        this.funderId = funderId;
    }

    public String getFunderName() {
        return funderName;
    }

    public void setFunderName(String funderName) {
        this.funderName = funderName;
    }

    public Date getFunderDate() {
        return funderDate;
    }

    public void setFunderDate(Date funderDate) {
        this.funderDate = funderDate;
    }

    public Long getUpdatedId() {
        return updatedId;
    }

    public void setUpdatedId(Long updatedId) {
        this.updatedId = updatedId;
    }

    public String getUpdatedName() {
        return updatedName;
    }

    public void setUpdatedName(String updatedName) {
        this.updatedName = updatedName;
    }

    public Date getUpdatedDate() {
        return updatedDate;
    }

    public void setUpdatedDate(Date updatedDate) {
        this.updatedDate = updatedDate;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        SysCompanyStore that = (SysCompanyStore) o;
        return storeId == that.storeId && Objects.equals(companyStoreId, that.companyStoreId) && Objects.equals(storeNum, that.storeNum) && Objects.equals(storeName, that.storeName) && Objects.equals(companyId, that.companyId) && Objects.equals(companyCode, that.companyCode) && Objects.equals(companyName, that.companyName) && Objects.equals(funderId, that.funderId) && Objects.equals(funderName, that.funderName) && Objects.equals(funderDate, that.funderDate) && Objects.equals(updatedId, that.updatedId) && Objects.equals(updatedName, that.updatedName) && Objects.equals(updatedDate, that.updatedDate);
    }

    @Override
    public int hashCode() {
        return Objects.hash(companyStoreId, storeId, storeNum, storeName, companyId, companyCode, companyName, funderId, funderName, funderDate, updatedId, updatedName, updatedDate);
    }

    @Override
    public String toString() {
        return "SysCompanyStore{" +
                "companyStoreId=" + companyStoreId +
                ", storeId=" + storeId +
                ", storeNum='" + storeNum + '\'' +
                ", storeName='" + storeName + '\'' +
                ", companyId=" + companyId +
                ", companyCode='" + companyCode + '\'' +
                ", companyName='" + companyName + '\'' +
                ", funderId=" + funderId +
                ", funderName='" + funderName + '\'' +
                ", funderDate=" + funderDate +
                ", updatedId=" + updatedId +
                ", updatedName='" + updatedName + '\'' +
                ", updatedDate=" + updatedDate +
                '}';
    }
}
