| | |
| | | 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 com.ruoyi.common.annotation.Excel; |
| | | import lombok.Data; |
| | | import lombok.ToString; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @author ojq |
| | | * @since 2023-03-14 |
| | | */ |
| | | @Data |
| | | @ToString |
| | | @TableName("z_abroad") |
| | | public class ZAbroad implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | private Long id; |
| | | |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Integer userId; |
| | | private Long userId; |
| | | |
| | | /** |
| | | * 目的地 |
| | | */ |
| | | @Excel(name="目的地") |
| | | private String destination; |
| | | |
| | | /** |
| | | * 到目的地事由 |
| | | */ |
| | | @Excel(name="到目的地是由") |
| | | private String cause; |
| | | |
| | | /** |
| | | * 起始日期 |
| | | */ |
| | | private LocalDateTime startDate; |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name="起始日期",dateFormat = "yyyy-MM-dd") |
| | | private Date startTime; |
| | | |
| | | /** |
| | | * 结束日期 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name="结束日期",dateFormat = "yyyy-MM-dd") |
| | | private Date endTime; |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Integer id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Integer getUserId() { |
| | | return userId; |
| | | } |
| | | |
| | | public void setUserId(Integer userId) { |
| | | this.userId = userId; |
| | | } |
| | | |
| | | public String getDestination() { |
| | | return destination; |
| | | } |
| | | |
| | | public void setDestination(String destination) { |
| | | this.destination = destination; |
| | | } |
| | | |
| | | public String getCause() { |
| | | return cause; |
| | | } |
| | | |
| | | public void setCause(String cause) { |
| | | this.cause = cause; |
| | | } |
| | | |
| | | public LocalDateTime getStartDate() { |
| | | return startDate; |
| | | } |
| | | |
| | | public void setStartDate(LocalDateTime startDate) { |
| | | this.startDate = startDate; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return "ZAbroad{" + |
| | | "id=" + id + |
| | | ", userId=" + userId + |
| | | ", destination=" + destination + |
| | | ", cause=" + cause + |
| | | ", startDate=" + startDate + |
| | | "}"; |
| | | } |
| | | /** |
| | | * 分享人 |
| | | */ |
| | | private Integer shareId; |
| | | } |