commit
ccc21b683c
16 changed files with 594 additions and 277 deletions
@ -0,0 +1,115 @@ |
||||
package org.jeecg.modules.workorder.entity; |
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType; |
||||
import com.baomidou.mybatisplus.annotation.TableId; |
||||
import com.baomidou.mybatisplus.annotation.TableName; |
||||
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
import io.swagger.annotations.ApiModel; |
||||
import io.swagger.annotations.ApiModelProperty; |
||||
import lombok.Data; |
||||
import lombok.EqualsAndHashCode; |
||||
import lombok.experimental.Accessors; |
||||
import org.jeecg.common.aspect.annotation.Dict; |
||||
import org.jeecgframework.poi.excel.annotation.Excel; |
||||
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
||||
import java.io.Serializable; |
||||
import java.util.Date; |
||||
|
||||
/** |
||||
* @Description: 工单订单完工 |
||||
* @Author: jeecg-boot |
||||
* @Date: 2023-01-07 |
||||
* @Version: V1.0 |
||||
*/ |
||||
@Data |
||||
@Accessors(chain = true) |
||||
@EqualsAndHashCode(callSuper = false) |
||||
@ApiModel(value="work_order对象", description="工单订单完工") |
||||
public class WorkOrderVo implements Serializable { |
||||
private static final long serialVersionUID = 1L; |
||||
|
||||
/**主键*/ |
||||
@TableId(type = IdType.ASSIGN_ID) |
||||
@ApiModelProperty(value = "主键") |
||||
private String id; |
||||
/**创建人*/ |
||||
@ApiModelProperty(value = "创建人") |
||||
private String createBy; |
||||
/**创建日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "创建日期") |
||||
private Date createTime; |
||||
/**更新人*/ |
||||
@ApiModelProperty(value = "更新人") |
||||
private String updateBy; |
||||
/**更新日期*/ |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "更新日期") |
||||
private Date updateTime; |
||||
/**所属部门*/ |
||||
@ApiModelProperty(value = "所属部门") |
||||
private String sysOrgCode; |
||||
/**工单编号*/ |
||||
@Excel(name = "工单编号", width = 15) |
||||
@ApiModelProperty(value = "工单编号") |
||||
private String productCode; |
||||
// /**订单*/
|
||||
// @Excel(name = "订单", width = 15)
|
||||
// @ApiModelProperty(value = "订单")
|
||||
// private String ordersId;
|
||||
/**原订单id*/ |
||||
@Excel(name = "订单", width = 15) |
||||
@Dict(dictTable = "zy_orders", dicText = "orders_num", dicCode = "id") |
||||
@ApiModelProperty(value = "订单") |
||||
private String ordersId; |
||||
|
||||
/**订单商品*/ |
||||
@Excel(name = "订单商品", width = 15) |
||||
@ApiModelProperty(value = "订单商品") |
||||
private String orderGoodsId; |
||||
|
||||
@ApiModelProperty(value = "订单商品名称") |
||||
private String goodsName; |
||||
|
||||
|
||||
/**商品数量*/ |
||||
@Excel(name = "商品数量", width = 15) |
||||
@ApiModelProperty(value = "商品数量") |
||||
private Integer goodsNum; |
||||
/**下单时间*/ |
||||
@Excel(name = "下单时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") |
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") |
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") |
||||
@ApiModelProperty(value = "下单时间") |
||||
private Date orderTime; |
||||
/**交货期*/ |
||||
@Excel(name = "交货期", width = 15) |
||||
@ApiModelProperty(value = "交货期") |
||||
private Integer deliveryTime; |
||||
/**工单状态*/ |
||||
@Excel(name = "工单状态", width = 15, dicCode = "work_order_status") |
||||
@Dict(dicCode = "work_order_status") |
||||
@ApiModelProperty(value = "工单状态") |
||||
private Integer workOrderStatus; |
||||
|
||||
@ApiModelProperty(value = "工单状态") |
||||
private String workOrderStatusText; |
||||
|
||||
/**企业*/ |
||||
@Excel(name = "企业", width = 15) |
||||
@ApiModelProperty(value = "企业") |
||||
private String enterprisesId; |
||||
|
||||
@ApiModelProperty(value = "客户姓名") |
||||
private String realname; |
||||
|
||||
@ApiModelProperty(value = "企业") |
||||
private String departName; |
||||
|
||||
@ApiModelProperty(value = "订单编号") |
||||
private java.lang.String ordersNum; |
||||
|
||||
} |
Loading…
Reference in new issue