| | |
| | | package com.oying.modules.system.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.oying.base.BaseEntity; |
| | | import cn.hutool.core.bean.BeanUtil; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import cn.hutool.core.bean.copier.CopyOptions; |
| | | |
| | | import java.sql.Timestamp; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.io.Serializable; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | |
| | | import lombok.Setter; |
| | | |
| | | /** |
| | | * @description / |
| | | * @author lixin |
| | | * @date 2025-05-29 |
| | | **/ |
| | | * @author lixin |
| | | * @description / |
| | | * @date 2025-05-29 |
| | | **/ |
| | | @Getter |
| | | @Setter |
| | | @TableName("sys_merchant") |
| | |
| | | private Long merchantId; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "商户类型") |
| | | private String merchantType; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "名称") |
| | | private String merchantName; |
| | | |
| | | @NotBlank |
| | | @ApiModelProperty(value = "商户编码") |
| | | private String merchantCode; |
| | | |
| | |
| | | private Integer merchantSort; |
| | | |
| | | @ApiModelProperty(value = "状态") |
| | | private String enabled = "1"; |
| | | private String enabled = "0"; |
| | | |
| | | @ApiModelProperty(value = "审核人") |
| | | private String auditUser; |
| | |
| | | @ApiModelProperty(value = "审核信息") |
| | | private String auditMessage; |
| | | |
| | | public void copy(Merchant source){ |
| | | BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | @TableField(exist = false) |
| | | @ApiModelProperty(value = "用户ID") |
| | | private Long userId; |
| | | |
| | | public void copy(Merchant source) { |
| | | BeanUtil.copyProperties(source, this, CopyOptions.create().setIgnoreNullValue(true)); |
| | | } |
| | | } |