com.github.nikyotensai.entity.City Maven / Gradle / Ivy
The newest version!
package com.github.nikyotensai.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
/**
* @author nikyotensai
* @since 2023-03-01
*/
@Data
@TableName("t_city")
public class City {
@ApiModelProperty(value = "ID")
@TableId(type = IdType.AUTO)
private Integer id;
@ApiModelProperty(value = "名称")
private String name;
@ApiModelProperty(value = "创建时间")
private Date createTime;
@ApiModelProperty(value = "更新时间")
private Date updateTime;
@ApiModelProperty(value = "是否已删除。0.未删除,1.已删除")
private Integer deleted;
}