From b1516fedd7deedb61641321158fce862f77b4b4d Mon Sep 17 00:00:00 2001 From: fangyuan <527392886@qq.com> Date: 星期二, 22 十一月 2022 11:51:53 +0800 Subject: [PATCH] 更新访问路径白名单,部分接口修改 --- ycl-platform/src/main/java/com/ycl/entity/NewsDuty.java | 162 ++++++++++++++++++++++++++++-------------------------- 1 files changed, 84 insertions(+), 78 deletions(-) diff --git a/ycl-platform/src/main/java/com/ycl/entity/NewsDuty.java b/ycl-platform/src/main/java/com/ycl/entity/NewsDuty.java index a3ae4ef..7037114 100644 --- a/ycl-platform/src/main/java/com/ycl/entity/NewsDuty.java +++ b/ycl-platform/src/main/java/com/ycl/entity/NewsDuty.java @@ -1,78 +1,84 @@ -package com.ycl.entity; - - -import com.baomidou.mybatisplus.extension.activerecord.Model; -import java.io.Serializable; -import java.time.LocalDate; - -/** - * 鍊肩彮琛�(NewsDuty)琛ㄥ疄浣撶被 - * - * @author makejava - * @since 2022-11-16 16:52:30 - */ -@SuppressWarnings("serial") -public class NewsDuty extends Model<NewsDuty> { - - private Integer id; - //鍊肩彮浜� - private String name; - //鍊肩彮鑱屼綅 - private String jobTitle; - //鍒涘缓鏃堕棿 - private LocalDate createTime; - //鍊肩彮鏃堕棿 - private LocalDate dutyTime; - - - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getJobTitle() { - return jobTitle; - } - - public void setJobTitle(String jobTitle) { - this.jobTitle = jobTitle; - } - - public LocalDate getCreateTime() { - return createTime; - } - - public void setCreateTime(LocalDate createTime) { - this.createTime = createTime; - } - - public LocalDate getDutyTime() { - return dutyTime; - } - - public void setDutyTime(LocalDate dutyTime) { - this.dutyTime = dutyTime; - } - - /** - * 鑾峰彇涓婚敭鍊� - * - * @return 涓婚敭鍊� - */ - @Override - protected Serializable pkVal() { - return this.id; - } - } - +package com.ycl.entity; + + +import com.baomidou.mybatisplus.extension.activerecord.Model; +import io.swagger.annotations.ApiModelProperty; + +import java.io.Serializable; +import java.sql.Date; + +/** + * 鍊肩彮琛�(NewsDuty)琛ㄥ疄浣撶被 + * + * @author makejava + * @since 2022-11-17 11:38:27 + */ +@SuppressWarnings("serial") +public class NewsDuty extends Model<NewsDuty> { + @ApiModelProperty("涓婚敭") + private Integer id; + //鍊肩彮浜哄鍚� + @ApiModelProperty("鍊肩彮浜�") + private String name; + //鍊肩彮鍐呭 + @ApiModelProperty("鍊肩彮鍐呭") + private String jobTitle; + //鍒涘缓鏃堕棿 + @ApiModelProperty("鍒涘缓鏃堕棿") + private Date createTime; + //鍊肩彮鏃堕棿 + @ApiModelProperty("鍊肩彮鏃ユ湡") + private Date dutyTime; + + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getJobTitle() { + return jobTitle; + } + + public void setJobTitle(String jobTitle) { + this.jobTitle = jobTitle; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getDutyTime() { + return dutyTime; + } + + public void setDutyTime(Date dutyTime) { + this.dutyTime = dutyTime; + } + + /** + * 鑾峰彇涓婚敭鍊� + * + * @return 涓婚敭鍊� + */ + @Override + protected Serializable pkVal() { + return this.id; + } + } + -- Gitblit v1.8.0