package cn.ezhizao.project.business.company.domain;

import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 区域对象 dict_region
 *
 * @author ruoyi
 * @date 2023-11-06
 */
@Data
@TableName(value = "dict_region")
public class DictRegion
{
    private static final long serialVersionUID = 1L;

    /* 主键 */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 区号 */
    @Excel(name = "区号")
    @ApiModelProperty(value = "区号")
    private String code;

    /** 软删除标记 */
    @TableLogic
    private Integer deleted;

    /** 乐观锁标记 */
    @Version
    private Long version;
}
