| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /*
- * Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the dreamlu.net developer nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * Author: Chill 庄骞 (smallchill@163.com)
- */
- package org.springblade.bank.message.entity;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import org.springblade.core.mp.base.BaseEntity;
- import java.time.LocalDateTime;
- import java.util.Date;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import org.springframework.format.annotation.DateTimeFormat;
- /**
- * 信息發佈实体类
- *
- * @author BladeX
- * @since 2021-08-13
- */
- @Data
- @TableName("zh_message")
- @EqualsAndHashCode(callSuper = true)
- @ApiModel(value = "Message对象", description = "信息發佈")
- public class Message extends BaseEntity {
- private static final long serialVersionUID = 1L;
- /**
- * 標題
- */
- @ApiModelProperty(value = "標題")
- private String title;
- /**
- * 內文
- */
- @ApiModelProperty(value = "內文")
- private String name;
- /**
- * 附件
- */
- @ApiModelProperty(value = "附件")
- private String file;
- private Long personId;
- /**
- * 審批人
- */
- @ApiModelProperty(value = "審批人")
- private String personName;
- /**
- * 審批時間
- */
- @ApiModelProperty(value = "審批時間")
- @DateTimeFormat(
- pattern = "yyyy-MM-dd HH:mm:ss"
- )
- @JsonFormat(
- pattern = "yyyy-MM-dd HH:mm:ss"
- )
- private Date approveTime;
- /**
- * 節點
- */
- @ApiModelProperty(value = "節點")
- private Integer process;
- /**
- * 是否已完成
- */
- @ApiModelProperty(value = "是否已完成")
- private Integer isCompleted;
- }
|