package user

type User struct {
	ID       string `bson:"_id"`
	Name     string `bson:"name"`
	Age      int    `bson:"age"`
	Address  string `bson:"address"`
	Gender   string `bson:"gender"`
	Religion string `bson:"religion"`
}

type ReqInsertUser struct {
	ID       string `bson:"_id"`
	Name     string `bson:"name"`
	Age      int    `bson:"age"`
	Address  string `bson:"address"`
	Gender   string `bson:"gender"`
	Religion string `bson:"religion"`
}

// USING INSERT AND UPDATE
type ReqUpdateUser struct {
	ID       string `json:"_id"`
	Name     string `json:"name"`
	Age      int    `json:"age"`
	Address  string `json:"address"`
	Gender   string `json:"gender"`
	Religion string `json:"religion"`
}

type ReqDeleteUser struct {
	ID string `json:"_id"`
}
