/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.shop;

import cn.ysk.cashier.system.service.dto.RoleSmallDto;
import cn.ysk.cashier.system.service.dto.UserDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2024-03-01
**/
@Data
public class TbPlussShopStaffDto implements Serializable {

    /** 自增 */
    private Integer id;

    /** 员工编号 */
    private String code;

    /** 员工名称 */
    private String name;

    /** 登录账号 */
    private String account;

    /** 密码 */
    private String password;

    private String discountType;

    /** 最大优惠金额 */
    private BigDecimal maxDiscountAmount;

    /** 1启用0不启用 */
    private Integer status;

    /** 登录端 */
    private String employee;

    /** shopId */
    private String shopId;
    /**
     * 是否允许管理端端登录
     * 0：不允许；1：允许
     */
    private Integer isManage;

    /**
     * 是否允许pc端登录
     * 0：不允许；1：允许
     */
    private Integer isPc;

//    private UserDto user;
//    private RoleSmallDto roles;
    private Long roleId;
    private String phone;

    private Long createdAt;

    private Long updatedAt;

    private String type;

    private List<TbShopPermissionDto> permissions;
}
