Merge branch 'test' into ext-dev

yun-zuoyi
王杰 4 years ago
commit a1fcd53e1f

@ -69,6 +69,10 @@ public class MesObjectCfg extends BaseBean implements Serializable {
@ApiParam("是否显示")
private Integer isShow;
@Column(name = "PLC_CODE")
@ApiParam("PLC代码")
private String plcCode;
@Transient
@ApiParam("是否存储名")
private String isSaveName;

@ -0,0 +1,50 @@
package cn.estsh.i3plus.pojo.model.platform;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import java.io.Serializable;
/**
* @author ns
* @create 2021/6/28 0028 13:26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class AccountExportModel implements Serializable {
//用户名 登录名 部门 邮箱 手机 登录次数 最后登录时间 状态
@ApiModelProperty(value ="姓名" , access ="名称")
private String infoName;
@ApiModelProperty(value ="登陆名称" , access ="登陆名称")
private String userLoginName;
@ApiModelProperty(value ="邮箱" , access ="邮箱")
private String userEmail;
@ApiModelProperty(value ="手机号" , access ="手机号")
private String userPhone;
@ApiModelProperty(value ="部门名称" , access ="部门名称")
private String departmentNameRdd;
@ApiParam(value = "登录次数", example = "0")
private Integer userLoginNum;
@ApiParam(value = "账号最后登录时间")
private String userLoginLastDateTime;
@ApiParam(value = "账号状态(枚举1正常,2冻结使用,3账号异常,4离职5服务到期)", example = "-1")
private Integer userStatus;
}

@ -51,4 +51,15 @@ public class WmsVendorWindow extends BaseBean {
@Column(name = "WEEK_DAY")
@ApiParam(value = "星期")
private String weekDay;
public WmsVendorWindow(WmsVendorWindow wmsVendorWindow) {
this.vendorNo = wmsVendorWindow.getVendorNo();
this.vendorName = wmsVendorWindow.getVendorName();
this.windowTime = wmsVendorWindow.getWindowTime();
this.delayHour = wmsVendorWindow.getDelayHour();
this.weekDay = wmsVendorWindow.getWeekDay();
}
public WmsVendorWindow() {
}
}

@ -0,0 +1,66 @@
package cn.estsh.i3plus.pojo.wms.dto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* @Description : WmsVendorWindowDto
* @Author :gsz
* @Date 2021/6/29 16:32
* @Modify
**/
@Data
@Api("到货窗口输出类")
public class WmsVendorWindowDto {
@Id
@GeneratedValue(generator = "IDGenerator")
@GenericGenerator(name = "IDGenerator", strategy = "assigned")
@Column(name = "ID")
@ApiParam(value = "主键", example = "0")
public Long id;
@ApiParam(value = "窗口时间")
private String vendorWindowTime;
@ApiParam(value = "星期一供应商")
private String mondayVendor;
@ApiParam(value = "星期二供应商")
private String tuesdayVendor;
@ApiParam(value = "星期三供应商")
private String wednesdayVendor;
@ApiParam(value = "星期四供应商")
private String thursdayVendor;
@ApiParam(value = "星期五供应商")
private String fridayVendor;
@ApiParam(value = "星期六供应商")
private String saturdayVendor;
@ApiParam(value = "星期日供应商")
private String sundayVendor;
public WmsVendorWindowDto() {
}
public WmsVendorWindowDto(WmsVendorWindowDto wmsVendorWindowDto) {
this.vendorWindowTime = wmsVendorWindowDto.getVendorWindowTime();
this.mondayVendor = wmsVendorWindowDto.getMondayVendor();
this.tuesdayVendor = wmsVendorWindowDto.getTuesdayVendor();
this.wednesdayVendor = wmsVendorWindowDto.getWednesdayVendor();
this.thursdayVendor = wmsVendorWindowDto.getThursdayVendor();
this.fridayVendor = wmsVendorWindowDto.getFridayVendor();
this.saturdayVendor = wmsVendorWindowDto.getSaturdayVendor();
this.sundayVendor = wmsVendorWindowDto.getSundayVendor();
}
}
Loading…
Cancel
Save