| | |
| | | package com.zy.asrs.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.BasDevpService; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | |
| | | /** |
| | | * 路径ID |
| | | */ |
| | | @ApiModelProperty(value= "路径ID") |
| | | @Schema(description = "路径ID") |
| | | @TableId(value = "type_id", type = IdType.AUTO) |
| | | @TableField("type_id") |
| | | private Long typeId; |
| | |
| | | /** |
| | | * 入出库类型 |
| | | */ |
| | | @ApiModelProperty(value= "入出库类型") |
| | | @TableId(value = "type_no", type = IdType.INPUT) |
| | | @Schema(description = "入出库类型") |
| | | @TableField("type_no") |
| | | private Integer typeNo; |
| | | |
| | | /** |
| | | * 作业类型 |
| | | */ |
| | | @ApiModelProperty(value= "作业类型") |
| | | @Schema(description = "作业类型") |
| | | @TableField("type_desc") |
| | | private String typeDesc; |
| | | |
| | | /** |
| | | * 作业站点 |
| | | */ |
| | | @ApiModelProperty(value= "作业站点") |
| | | @TableId(value = "stn_no", type = IdType.INPUT) |
| | | @Schema(description = "作业站点") |
| | | @TableField("stn_no") |
| | | private Integer stnNo; |
| | | |
| | | /** |
| | | * 站点名称 |
| | | */ |
| | | @ApiModelProperty(value= "站点名称") |
| | | @Schema(description = "站点名称") |
| | | @TableField("stn_desc") |
| | | private String stnDesc; |
| | | |
| | | /** |
| | | * 堆垛机号 |
| | | */ |
| | | @ApiModelProperty(value= "堆垛机号") |
| | | @TableId(value = "crn_no", type = IdType.INPUT) |
| | | @Schema(description = "堆垛机号") |
| | | @TableField("crn_no") |
| | | private Integer crnNo; |
| | | |
| | | /** |
| | | * 堆垛机站点 |
| | | */ |
| | | @ApiModelProperty(value= "堆垛机站点") |
| | | @Schema(description = "堆垛机站点") |
| | | @TableField("crn_stn") |
| | | private Integer crnStn; |
| | | |
| | | /** |
| | | * 备注 |
| | | */ |
| | | @ApiModelProperty(value= "备注") |
| | | @Schema(description = "备注") |
| | | private String memo; |
| | | |
| | | /** |
| | | * 修改人员 |
| | | */ |
| | | @ApiModelProperty(value= "修改人员") |
| | | @Schema(description = "修改人员") |
| | | @TableField("modi_user") |
| | | private Long modiUser; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @ApiModelProperty(value= "修改时间") |
| | | @Schema(description = "修改时间") |
| | | @TableField("modi_time") |
| | | private Date modiTime; |
| | | |
| | | /** |
| | | * 创建者 |
| | | */ |
| | | @ApiModelProperty(value= "创建者") |
| | | @Schema(description = "创建者") |
| | | @TableField("appe_user") |
| | | private Long appeUser; |
| | | |
| | | /** |
| | | * 添加时间 |
| | | */ |
| | | @ApiModelProperty(value= "添加时间") |
| | | @Schema(description = "添加时间") |
| | | @TableField("appe_time") |
| | | private Date appeTime; |
| | | |
| | |
| | | |
| | | public String getStnNo$(){ |
| | | BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | BasDevp basDevp = service.selectById(this.stnNo); |
| | | BasDevp basDevp = service.getById(this.stnNo); |
| | | if (!Cools.isEmpty(basDevp)){ |
| | | return String.valueOf(basDevp.getDevNo()); |
| | | } |
| | |
| | | |
| | | public String getCrnStn$(){ |
| | | BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | BasDevp basDevp = service.selectById(this.crnStn); |
| | | BasDevp basDevp = service.getById(this.crnStn); |
| | | if (!Cools.isEmpty(basDevp)){ |
| | | return String.valueOf(basDevp.getDevNo()); |
| | | } |
| | |
| | | |
| | | public String getModiUser$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.modiUser); |
| | | User user = service.getById(this.modiUser); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getUsername()); |
| | | } |
| | |
| | | |
| | | public String getAppeUser$(){ |
| | | UserService service = SpringUtils.getBean(UserService.class); |
| | | User user = service.selectById(this.appeUser); |
| | | User user = service.getById(this.appeUser); |
| | | if (!Cools.isEmpty(user)){ |
| | | return String.valueOf(user.getUsername()); |
| | | } |