haungxing
1 year ago
9 changed files with 105 additions and 34 deletions
@ -0,0 +1,71 @@ |
|||||||
|
package com.hnac.hzims.ticket.allTicket.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField; |
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||||
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
||||||
|
import com.fasterxml.jackson.databind.ser.std.NullSerializer; |
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Data; |
||||||
|
import org.springblade.core.mp.support.QueryField; |
||||||
|
import org.springblade.core.mp.support.SqlCondition; |
||||||
|
import org.springblade.core.tenant.mp.TenantEntity; |
||||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||||
|
|
||||||
|
import java.time.LocalDateTime; |
||||||
|
|
||||||
|
/** |
||||||
|
* @ClassName TicketInfoEntity |
||||||
|
* @description: |
||||||
|
* @author: hx |
||||||
|
* @create: 2023-08-30 08:30 |
||||||
|
* @Version 4.0 |
||||||
|
**/ |
||||||
|
@TableName("v_hzims_ticket_info") |
||||||
|
@ApiModel("两票合计对象") |
||||||
|
@Data |
||||||
|
public class TicketInfoEntity extends TenantEntity { |
||||||
|
@ApiModelProperty("审批流程ID") |
||||||
|
@QueryField(condition = SqlCondition.EQUAL) |
||||||
|
private String processInstanceId; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "关联业务类型") |
||||||
|
@QueryField(condition = SqlCondition.EQUAL) |
||||||
|
private String type; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "单位") |
||||||
|
@QueryField(condition = SqlCondition.LIKE) |
||||||
|
private String company; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "编号") |
||||||
|
@QueryField(condition = SqlCondition.LIKE) |
||||||
|
private String code; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "关联业务类型") |
||||||
|
@QueryField(condition = SqlCondition.EQUAL) |
||||||
|
private String taskType; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "关联业务ID") |
||||||
|
@QueryField(condition = SqlCondition.EQUAL) |
||||||
|
@JsonSerialize(nullsUsing = NullSerializer.class) |
||||||
|
private Long taskId; |
||||||
|
|
||||||
|
@ApiModelProperty("关联业务名称") |
||||||
|
@QueryField(condition = SqlCondition.LIKE) |
||||||
|
private String taskName; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "计划开始时间") |
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
private LocalDateTime planStartTime; |
||||||
|
|
||||||
|
@ApiModelProperty(value = "计划结束时间") |
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||||
|
private LocalDateTime planEndTime; |
||||||
|
|
||||||
|
@ApiModelProperty("流程描述") |
||||||
|
private String flowDescription; |
||||||
|
|
||||||
|
} |
Loading…
Reference in new issue