hunk.code_window:     "compile": "rimraf ./build && tsc",
       "watch": "./node_modules/.bin/tsc -w",
       "package": "gulp package",
       "lint": "eslint -c ./.eslintrc.js src/**/*.ts test/**/*.ts sample/**/*.ts",
       "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1"
     },
  
hunk.labels: keep keep add keep keep keep
hunk.after_edit:     "pack": "gulp pack",
  
hunk.file_path: package.json
hunk.type: add
file: import { BaseEntity, Column, Entity, ManyToOne, PrimaryColumn } from "../../../../src";
  import {User} from "./User";
  
  @Entity()
  export class Setting extends BaseEntity {
  	@PrimaryColumn("int")
  	assetId?: number;
  
  	@ManyToOne("User","settings",{ cascade:false , orphanedRowAction: "delete", nullable:false })
  	asset?: User;
  
  	@PrimaryColumn("varchar")
  	name: string;
  
  	@Column({nullable:true})
  	value: string;
  
  	constructor(id: number, name: string, value: string) {
  		super();
  		this.assetId = id;
  		this.name = name;
  		this.value = value;
  	}
  
  }
  