Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
5db4307fa5
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 账号离线登陆表
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-09-01 11:02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PCN_SYS_USER_OFFLINE")
|
||||
@Api(value="账号离线登陆表",description = "账号离线登陆表。")
|
||||
public class MesPcnSysUserOffline extends BaseBean {
|
||||
|
||||
@Column(name = "USER_ID")
|
||||
@ApiParam(value = "人员ID", example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long userId;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam(value = "用户名称", access = "账号名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "LOGIN_NAME")
|
||||
@ApiParam(value = "登陆名称", access = "登陆名称")
|
||||
private String loginName;
|
||||
|
||||
@Column(name="ORGANIZE_ID")
|
||||
@ApiParam(value ="部门ID" , example ="-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long organizeId;
|
||||
|
||||
@Column(name="ORGANIZE_NAME")
|
||||
@ApiParam(value ="部门名称" , access ="部门名称")
|
||||
private String organizeName;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPcnSysUserOffline;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-09-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPcnSysUserOfflineRepository extends BaseRepository<MesPcnSysUserOffline, Long> {
|
||||
}
|
Loading…
Reference in New Issue