发布列表接口

yun-zuoyi
yihang.lv 6 years ago
parent 542052815b
commit 93f4d1cfd7

@ -145,8 +145,8 @@ public class SwebEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ORDER_TYPE {
CREATE(10, "标准包装"),
RECEIPT(20, "非标包装");
STANDARD(10, "标准包装"),
NON_STANDARD(20, "非标包装");
private int value;
private String description;

@ -17,6 +17,9 @@ import java.io.Serializable;
@AllArgsConstructor
public class SwebLoginUserModel implements Serializable {
@ApiParam(value = "用户ID")
private Long id;
@ApiParam(value = "用户名")
private String userName;

@ -5,7 +5,7 @@ import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Column;
import java.util.List;
import javax.persistence.Transient;
import java.util.Map;
/**
@ -46,10 +46,14 @@ public class SwebPOForPubListResultItemModel extends BaseBean {
@Column(name = "ITEM_STATUS")
private Integer itemStatus;
@ApiParam(value = "订单类型", example = "1")
@ApiParam(value = "订单类型", example = "10")
@Column(name = "ORDER_TYPE")
public Integer orderType;
@ApiParam(value = "时间数量列表", example = "1")
public List<Map<String,Double>> timeList;
public Map<String, Double> timeObject;
@Transient
@ApiParam(value = "是否可编辑(前端使用)")
public boolean isSet = false;
}

Loading…
Cancel
Save