23 changed files with 238 additions and 89 deletions
@ -0,0 +1,13 @@ |
|||||
|
package com.qs.serve.common.config.properties; |
||||
|
|
||||
|
/** |
||||
|
* @author YenHex |
||||
|
* @since 2024/3/27 |
||||
|
*/ |
||||
|
public class AuthUrlConst { |
||||
|
|
||||
|
public final static String[] AUTH_ALLOW_URL = new String[]{ |
||||
|
"bir/" |
||||
|
}; |
||||
|
|
||||
|
} |
@ -0,0 +1,86 @@ |
|||||
|
package com.qs.serve.modules.tbs.entity; |
||||
|
|
||||
|
import java.time.LocalDate; |
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
import java.time.LocalDateTime; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.annotation.*; |
||||
|
import com.fasterxml.jackson.annotation.JsonFormat; |
||||
|
import com.fasterxml.jackson.annotation.JsonIgnore; |
||||
|
import com.fasterxml.jackson.annotation.JsonProperty; |
||||
|
import lombok.Data; |
||||
|
import org.hibernate.validator.constraints.Length; |
||||
|
import org.springframework.format.annotation.DateTimeFormat; |
||||
|
|
||||
|
import javax.validation.constraints.NotNull; |
||||
|
import javax.validation.constraints.NotBlank; |
||||
|
|
||||
|
/** |
||||
|
* 实体类 |
||||
|
* @author YenHex |
||||
|
* @since 2024-03-27 |
||||
|
*/ |
||||
|
@Data |
||||
|
@TableName("tbs_cost_bir_log") |
||||
|
public class TbsCostBirLog implements Serializable { |
||||
|
|
||||
|
private static final long serialVersionUID = 1L; |
||||
|
|
||||
|
/** id */ |
||||
|
@TableId(type = IdType.AUTO) |
||||
|
private Long id; |
||||
|
|
||||
|
/** 费用id */ |
||||
|
private Long costId; |
||||
|
|
||||
|
/** 0-未处理;1-已处理 */ |
||||
|
private Integer status; |
||||
|
|
||||
|
/** 创建时间 */ |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
||||
|
@TableField(fill = FieldFill.INSERT) |
||||
|
private LocalDateTime createTime; |
||||
|
|
||||
|
/** 最后更新时间 */ |
||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
||||
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") |
||||
|
@TableField(fill = FieldFill.UPDATE) |
||||
|
private LocalDateTime updateTime; |
||||
|
|
||||
|
/** 租户id */ |
||||
|
@JsonIgnore |
||||
|
@JsonProperty |
||||
|
private String tenantId; |
||||
|
|
||||
|
/** 逻辑删除标记(0:显示;1:隐藏) */ |
||||
|
@JsonIgnore |
||||
|
@JsonProperty |
||||
|
private String delFlag; |
||||
|
|
||||
|
/** 创建人 */ |
||||
|
@TableField(fill = FieldFill.INSERT) |
||||
|
private String createBy; |
||||
|
|
||||
|
/** 更新人 */ |
||||
|
@TableField(fill = FieldFill.UPDATE) |
||||
|
private String updateBy; |
||||
|
|
||||
|
|
||||
|
public static TbsCostBirLog toNewObject(TbsCostBirLog source){ |
||||
|
TbsCostBirLog costBirLog = new TbsCostBirLog(); |
||||
|
costBirLog.setId(source.getId()); |
||||
|
costBirLog.setCostId(source.getCostId()); |
||||
|
costBirLog.setStatus(source.getStatus()); |
||||
|
costBirLog.setCreateTime(source.getCreateTime()); |
||||
|
costBirLog.setUpdateTime(source.getUpdateTime()); |
||||
|
costBirLog.setTenantId(source.getTenantId()); |
||||
|
costBirLog.setDelFlag(source.getDelFlag()); |
||||
|
costBirLog.setCreateBy(source.getCreateBy()); |
||||
|
costBirLog.setUpdateBy(source.getUpdateBy()); |
||||
|
return costBirLog; |
||||
|
} |
||||
|
|
||||
|
} |
||||
|
|
@ -0,0 +1,14 @@ |
|||||
|
package com.qs.serve.modules.tbs.mapper; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.qs.serve.modules.tbs.entity.TbsCostBirLog; |
||||
|
|
||||
|
/** |
||||
|
* Mapper |
||||
|
* @author YenHex |
||||
|
* @date 2024-03-27 |
||||
|
*/ |
||||
|
public interface TbsCostBirLogMapper extends BaseMapper<TbsCostBirLog> { |
||||
|
|
||||
|
} |
||||
|
|
Loading…
Reference in new issue