package com.njyunzhi.pet_identity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 宠物证件
 * </p>
 *
 * @author yansen
 * @since 2022-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TaPetIdentity对象", description="宠物证件")
public class TaPetIdentity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "证件ID")
    @TableId(value = "card_id", type = IdType.UUID)
    private String cardId;

    @ApiModelProperty(value = "证件号码")
    private String cardNo;

    @ApiModelProperty(value = "属主ID")
    private String personId;

    @ApiModelProperty(value = "属主姓名")
    private String personName;

    @ApiModelProperty(value = "属主手机")
    private String phone;

    @ApiModelProperty(value = "宠物ID")
    private String petId;

    @ApiModelProperty(value = "宠物名称")
    private String petName;

    @ApiModelProperty(value = "宠物性别")
    private Integer petSex;

    @ApiModelProperty(value = "毛色")
    private String petColor;

    @ApiModelProperty(value = "宠物类别")
    private String petType;

    @ApiModelProperty(value = "宠物照片")
    private String petImg1;

    @ApiModelProperty(value = "宠物照片")
    private String petImg2;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "起始期;格式YYYY-MM-DD")
    private String startDate;

    @ApiModelProperty(value = "有效期;格式YYYY-MM-DD")
    private String expireDate;

    @ApiModelProperty(value = "状态;1正常,2挂失,3过期")
    private Integer status;

    @ApiModelProperty(value = "创建日期")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "是否企业",notes = "")
    private Boolean isOrg ;
    @ApiModelProperty(value = "企业ID",notes = "")
    private String orgId ;
    @ApiModelProperty(value = "企业名称",notes = "")
    private String orgName ;
    @ApiModelProperty(value = "营业执照",notes = "")
    private String orgLicense ;
    @ApiModelProperty(value = "伤人信息",notes = "")
    private String criminalInfo ;
    @ApiModelProperty(value = "处罚信息",notes = "")
    private String penaltyInfo ;
}
