package com.bonus.canteen.core.allocation.alloc.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("merchant_login_app")
@ApiModel("系统商户登录app表")
@Data
public class MerchantLoginApp {
   @TableId
   @ApiModelProperty("主键id")
   private Long id;
   @ApiModelProperty("商户id")
   private Long tenantId;
   @ApiModelProperty("登录模型key")
   private String loginKey;
   @ApiModelProperty("登录appid")
   private String loginAppId;
   @ApiModelProperty("备注")
   private String remark;
   @ApiModelProperty("创建人")
   private String crby;
   @ApiModelProperty("创建时间")
   private LocalDateTime crtime;
   @ApiModelProperty("更新人")
   private String upby;
   @ApiModelProperty("更新时间")
   private LocalDateTime uptime;

   public MerchantLoginApp(Long tenantId, String loginKey, String loginAppId) {
      this.tenantId = tenantId;
      this.loginKey = loginKey;
      this.loginAppId = loginAppId;
   }


}
