fangyuan
2022-11-22 b1516fedd7deedb61641321158fce862f77b4b4d
ycl-platform/src/main/java/com/ycl/entity/NewsPolice.java
@@ -3,6 +3,7 @@
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.sql.Date;
@@ -17,18 +18,24 @@
@SuppressWarnings("serial")
public class NewsPolice extends Model<NewsPolice> {
    //自增主键
    @ApiModelProperty("主键")
    private Integer id;
    //警员名称
    @ApiModelProperty("警员名称")
    private String rname;
    //创建时间
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    //修改时间
    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    //机构id
    @ApiModelProperty("机构id")
    private String newsDepartmentId;
    //手机号码
    @ApiModelProperty("手机号码")
    private String phone;