package jnpf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * 门店管理
 * @版本： V3.1.0
 * @版权： 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * @作者： JNPF开发平台组
 * @日期： 2023-07-11
 */
@Data
@TableName("ftb_store")
public class StoreEntity  {
    @TableId("F_ID")
    private String id;

    @TableField("F_ORGANIZEID")
    private String organizeid;

    @TableField("F_STOREHEADUSERID")
    private String storeheaduserid;

    @TableField("F_STORENAME")
    private String storename;

    @TableField("F_STOREPIC")
    private String storepic;

    @TableField("F_LONGITUDE")
    private String longitude;

    @TableField("F_LATITUDE")
    private String latitude;

    @TableField("F_ADDRESS")
    private String address;

    @TableField("F_DISABLED")
    private Integer disabled;

    @TableField("F_SortCode")
    private BigDecimal sortCode;

    /**
     * 面积(㎡)
     */
    @TableField("F_AreaNum")
    private BigDecimal areaNum;
    /**
     * 是否设置区域(1: 是, 0: 否)
     */
    @TableField("F_SetRegion")
    private Integer setRegion;

    /** 第三方平台id; */
    @TableField(value = "F_ThirdPartyPlatformId")
    private String thirdPartyPlatformId;

    @TableField(value = "F_StoreTag")
    private String storeTag;

    @TableField(value = "F_FranchiseeId")
    private String franchiseeId;

    /**
     * 收银门店id;
     */
    @TableField(value = "F_CashierStoreId")
    private String cashierStoreId;

    /** 收银门店编码; */
    @TableField(value = "F_CashierStoreEnCode")
    private String cashierStoreEnCode;

    @TableField("F_CREATORUSERID")
    private String creatoruserid;

    @TableField("F_CREATORTIME")
    private Date creatortime;

    @TableField("F_LASTMODIFYUSERID")
    private String lastmodifyuserid;

    @TableField("F_LASTMODIFYTIME")
    private Date lastmodifytime;

    @TableField("F_DELETEMARK")
    private boolean deletemark;

    @TableField("F_DELETETIME")
    private Date deletetime;

    @TableField("F_DELETEUSERID")
    private String deleteuserid;

    @TableField("F_TENANTID")
    private String tenantid;

    @TableField(exist = false)
    private List<StoreUserEntity> users;
}
