package com.usky.ems.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 省市区字典（ems_system_dict_region）
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ems_system_dict_region")
public class EmsSystemDictRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String code;
    private String name;
    private String parent;
    @TableField("updated_by")
    private Long updatedBy;
    @TableField("update_time")
    private LocalDateTime updateTime;
    @TableField("created_by")
    private Long createdBy;
    @TableField("create_time")
    private LocalDateTime createTime;
}
