io.github.wslxm.springbootplus2.manage.sys.model.entity.SysAddress Maven / Gradle / Ivy
The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import io.github.wslxm.springbootplus2.core.base.model.BaseEntity;
/**
* Entity
*
*
* ::本代码由[兮家小二]提供的代码生成器生成,如有问题,请手动修改 ::作者CSDN:https://blog.csdn.net/qq_41463655
*
* @author ws
* @email [email protected]
* @date 2023-03-24 10:04:20
*/
@Data
@ToString(callSuper = true)
@TableName("t_sys_address")
@ApiModel(value = "SysAddress 对象", description = "")
public class SysAddress extends BaseEntity {
private static final long serialVersionUID = -1639085709435052032L;
@ApiModelProperty(notes = "父级挂接id" )
@TableField(value = "pid")
private String pid;
@ApiModelProperty(notes = "区划名称" )
@TableField(value = "`name`")
private String name;
@ApiModelProperty(notes = "区划编码" )
@TableField(value = "code")
private String code;
@ApiModelProperty(notes = "备注" )
@TableField(value = "remark")
private String remark;
@ApiModelProperty(notes = "级次id 0:省/自治区/直辖市 1:市级 2:县级" )
@TableField(value = "level")
private Integer level;
}