package com.kiisoo.ic.store.entity;

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

/**
 * @Description: 门店和企业微信账号关系
 * @Author: yechenhao
 * @Date 2020-04-09
 */
@Data
@TableName("privilage_cp_user_store")
public class PrivilageCpUserStoreDO {

  /**
   * 主键ID
   */
  @TableId(type = IdType.AUTO)
  private Long id;

  /**
   * 店铺ID
   */
  private Long storeId;

  /**
   * 企业微信账号ID
   */
  private Long cpUserId;

  public PrivilageCpUserStoreDO() {}
  public PrivilageCpUserStoreDO(Long storeId, Long cpUserId) {
    this.storeId = storeId;
    this.cpUserId = cpUserId;
  }
}
