package com.ssm.manage.query;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ssm.manage.page.BasePage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 新登录（角色关联门店表）(SysRoleStore)实体类
 *
 * @author makejava
 * @since 2022-06-25 10:11:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class SysRoleStoreRequest  extends BasePage {
    /**
     * id
     */
    @Id
    @ApiModelProperty(value = "排序字段，默认id", example = "id")
    private Long id;
    /**
     * 门店id
     */
    @ApiModelProperty(value = "门店id", example = "storeId")
    @Column(name = "store_id")
    private Long storeId;
    /**
     * 门店编码
     */
    @Column(name = "store_num")
    @ApiModelProperty(value = "门店编码", example = "storeNum")
    private String storeNum;
    /**
     * 门店名称
     */
    @ApiModelProperty(value = "门店名称", example = "store_name")
    @Column(name = "store_name")
    private String storeName;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", example = "roleId")
    @Column(name = "role_id")
    private Long roleId;
    /**
     * 角色编码
     */
    @ApiModelProperty(value = "角色编码", example = "roleNum")
    @Column(name = "role_num")
    private String roleNum;
    /**
     * 角色名称
     */
    @Column(name = "role_name")
    private String roleName;



}

