package com.zy.crm.manager.entity; import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.IdType; import com.baomidou.mybatisplus.annotations.TableField; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import com.baomidou.mybatisplus.annotations.TableName; import java.io.Serializable; @Data @TableName("man_weekly_cost_types") public class WeeklyCostTypes implements Serializable { private static final long serialVersionUID = 1L; /** * ID */ @ApiModelProperty(value= "ID") @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 名称 */ @ApiModelProperty(value= "名称") @TableField("type_name") private String typeName; public WeeklyCostTypes() {} public WeeklyCostTypes(String typeName) { this.typeName = typeName; } // WeeklyCostTypes weeklyCostTypes = new WeeklyCostTypes( // null // 名称 // ); }