| | |
| | | package com.oying.modules.system.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.oying.base.BaseEntity; |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | |
| | | @TableName("sys_user_store") |
| | | public class UserStore extends BaseEntity implements Serializable { |
| | | |
| | | @NotNull(groups = Update.class) |
| | | @TableId(value = "manager_id", type = IdType.AUTO) |
| | | @ApiModelProperty(value = "ID", hidden = true) |
| | | private Long managerId; |
| | | |
| | | @TableId(value = "store_id") |
| | | @ApiModelProperty(value = "门店id") |
| | | private Long storeId; |