package com.cpop.system.business.entity;

import com.cpop.core.base.entity.BaseEntity;
import com.cpop.core.base.entity.BaseInsertListener;
import com.cpop.core.base.entity.BaseUpdateListener;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 校区/店铺营业执照 实体类。
 *
 * @author DB
 * @since 2023-12-12
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(value = "cp_sys_store_license", onInsert = BaseInsertListener.class, onUpdate = BaseUpdateListener.class, mapperGenerateEnable = false)
public class StoreLicense extends BaseEntity implements Serializable {

    /**
     * 营业执照主键
     */
    @Id
    private String id;

    /**
     * 校区/店铺id
     */
    private String storeId;

    /**
     * 营业执照地址
     */
    private String licenseAddr;

    /**
     * 营业执照日期
     */
    private Date licenseDate;

    /**
     * 营业执照公司名
     */
    private String licenseName;

    /**
     * 营业执照证书码
     */
    private String licenseCode;

    /**
     * 营业执照法人名
     */
    private String licenseUserName;

    /**
     * 营业执照图片地址
     */
    private String licensePicUrl;





    /**
     * 逻辑删除（0否1是）
     */
    @Column(isLogicDelete = true)
    private Boolean isDelete;

}
